mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
merge with 5.3
sql/sql_insert.cc: CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. ****** CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. sql/sql_table.cc: small cleanup ****** small cleanup
This commit is contained in:
@ -2,7 +2,8 @@ select @@global.old;
|
||||
@@global.old
|
||||
0
|
||||
select @@session.old;
|
||||
ERROR HY000: Variable 'old' is a GLOBAL variable
|
||||
@@session.old
|
||||
0
|
||||
show global variables like 'old';
|
||||
Variable_name Value
|
||||
old OFF
|
||||
@ -16,6 +17,11 @@ select * from information_schema.session_variables where variable_name='old';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
OLD OFF
|
||||
set global old=1;
|
||||
ERROR HY000: Variable 'old' is a read only variable
|
||||
set session old=1;
|
||||
ERROR HY000: Variable 'old' is a read only variable
|
||||
select @@global.old;
|
||||
@@global.old
|
||||
1
|
||||
select @@session.old;
|
||||
@@session.old
|
||||
1
|
||||
set @@global.old=DEFAULT;
|
||||
|
Reference in New Issue
Block a user