mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
76f0b94bb0
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
15 lines
416 B
Text
15 lines
416 B
Text
#
|
|
# show the global and session values;
|
|
#
|
|
select @@global.old;
|
|
select @@session.old;
|
|
show global variables like 'old';
|
|
show session variables like 'old';
|
|
select * from information_schema.global_variables where variable_name='old';
|
|
select * from information_schema.session_variables where variable_name='old';
|
|
|
|
set global old=1;
|
|
set session old=1;
|
|
select @@global.old;
|
|
select @@session.old;
|
|
set @@global.old=DEFAULT;
|