1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Bug#35427 INFORMATION_SCHEMA.TABLES.TABLE_CATALOG is NULL, should be "def"

additional fix(Betony)
This commit is contained in:
Sergey Glukhov
2009-10-26 11:35:20 +04:00
parent 1582fa0c3c
commit c995288a11
2 changed files with 3 additions and 84 deletions

View File

@@ -58,10 +58,10 @@ eval SHOW COLUMNS FROM information_schema.$is_table;
# Note: Retrieval of information within information_schema.columns about
# information_schema.user_privileges is in is_columns_is.test.
# Show that TABLE_CATALOG is always NULL.
# Show that TABLE_CATALOG is always 'def'.
SELECT grantee, table_catalog, privilege_type
FROM information_schema.user_privileges
WHERE table_catalog IS NOT NULL;
WHERE table_catalog IS NULL OR table_catalog <> 'def';
--echo ##########################################################################