mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge mishka.local:/tmp/skr99/mysql-5.0
into mishka.local:/home/my/mysql-5.0 sql/item_strfunc.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_show.cc: Auto merged
This commit is contained in:
@ -966,4 +966,8 @@ column_name column_default
|
||||
a NULL
|
||||
b NULL
|
||||
use test;
|
||||
show columns from t1;
|
||||
Field Type Null Key Default Extra
|
||||
a int(11) NO
|
||||
b int(11) YES NULL
|
||||
drop table t1;
|
||||
|
@ -245,6 +245,8 @@ end//
|
||||
grant usage on *.* to mysqltest_1@localhost;
|
||||
call mysqltest_1.p1();
|
||||
ERROR 42000: execute command denied to user 'mysqltest_1'@'localhost' for routine 'mysqltest_1.p1'
|
||||
call mysqltest_1.p1();
|
||||
ERROR 42000: execute command denied to user 'mysqltest_1'@'localhost' for routine 'mysqltest_1.p1'
|
||||
drop procedure mysqltest_1.p1;
|
||||
drop database mysqltest_1;
|
||||
revoke usage on *.* from mysqltest_1@localhost;
|
||||
|
@ -649,4 +649,5 @@ use information_schema;
|
||||
select column_name, column_default from columns
|
||||
where table_schema='test' and table_name='t1';
|
||||
use test;
|
||||
show columns from t1;
|
||||
drop table t1;
|
||||
|
@ -397,6 +397,12 @@ connection n1;
|
||||
--error 1370
|
||||
call mysqltest_1.p1();
|
||||
disconnect n1;
|
||||
# Test also without a current database
|
||||
connect (n2,localhost,mysqltest_1,,*NO-ONE*,$MASTER_MYPORT,$MASTER_MYSOCK);
|
||||
connection n2;
|
||||
--error 1370
|
||||
call mysqltest_1.p1();
|
||||
disconnect n2;
|
||||
|
||||
connection default;
|
||||
|
||||
|
Reference in New Issue
Block a user