mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0
into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-bug16581 sql/mysql_priv.h: Auto merged sql/sql_show.cc: Auto merged
This commit is contained in:
@ -625,3 +625,7 @@ View Create View
|
||||
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select sql_cache 1 AS `1`
|
||||
DROP PROCEDURE p1;
|
||||
DROP VIEW v1;
|
||||
SHOW TABLES FROM no_such_database;
|
||||
ERROR 42000: Unknown database 'no_such_database'
|
||||
SHOW COLUMNS FROM no_such_table;
|
||||
ERROR 42S02: Table 'test.no_such_table' doesn't exist
|
||||
|
@ -495,4 +495,15 @@ SHOW CREATE VIEW v1;
|
||||
DROP PROCEDURE p1;
|
||||
DROP VIEW v1;
|
||||
|
||||
|
||||
#
|
||||
# Check that SHOW TABLES and SHOW COLUMNS give a error if there is no
|
||||
# referenced database and table respectively.
|
||||
#
|
||||
--error ER_BAD_DB_ERROR
|
||||
SHOW TABLES FROM no_such_database;
|
||||
--error ER_NO_SUCH_TABLE
|
||||
SHOW COLUMNS FROM no_such_table;
|
||||
|
||||
|
||||
# End of 5.0 tests.
|
||||
|
Reference in New Issue
Block a user