diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-10-19 21:45:18 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-10-19 21:45:18 +0200 |
commit | 76f0b94bb0b2994d639353530c5b251d0f1a204b (patch) | |
tree | 9ed50628aac34f89a37637bab2fc4915b86b5eb4 /mysql-test/suite/sys_vars/t/maria_group_commit_basic.test | |
parent | 4e46d8e5bff140f2549841167dc4b65a3c0a645d (diff) | |
parent | 5dc1a2231f55bacc9aaf0e24816f3d9c2ee1f21d (diff) | |
download | mariadb-git-76f0b94bb0b2994d639353530c5b251d0f1a204b.tar.gz |
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
Diffstat (limited to 'mysql-test/suite/sys_vars/t/maria_group_commit_basic.test')
-rw-r--r-- | mysql-test/suite/sys_vars/t/maria_group_commit_basic.test | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/mysql-test/suite/sys_vars/t/maria_group_commit_basic.test b/mysql-test/suite/sys_vars/t/maria_group_commit_basic.test deleted file mode 100644 index 09a9cb6f46e..00000000000 --- a/mysql-test/suite/sys_vars/t/maria_group_commit_basic.test +++ /dev/null @@ -1,47 +0,0 @@ -# enum global ---source include/have_maria.inc - -SET @start_global_value = @@global.maria_group_commit; - -# -# exists as global only -# -select @@global.maria_group_commit, @@global.aria_group_commit; ---error ER_INCORRECT_GLOBAL_LOCAL_VAR -select @@session.maria_group_commit, @@session.aria_group_commit; -show global variables like '%aria_group_commit'; -show session variables like '%aria_group_commit'; -select * from information_schema.global_variables where variable_name='maria_group_commit'; -select * from information_schema.session_variables where variable_name='maria_group_commit'; - -# -# show that it's writable -# -set global maria_group_commit=1; -select @@global.maria_group_commit, @@global.aria_group_commit; ---error ER_GLOBAL_VARIABLE -set session maria_group_commit=1; - -# -# all valid values -# -set global maria_group_commit=none; -select @@global.maria_group_commit, @@global.aria_group_commit; -set global maria_group_commit=hard; -select @@global.maria_group_commit, @@global.aria_group_commit; -set global maria_group_commit=soft; -select @@global.maria_group_commit, @@global.aria_group_commit; - -# -# incorrect types/values -# ---error ER_WRONG_TYPE_FOR_VAR -set global maria_group_commit=1.1; ---error ER_WRONG_TYPE_FOR_VAR -set global maria_group_commit=1e1; ---error ER_WRONG_VALUE_FOR_VAR -set global maria_group_commit="foo"; ---error ER_WRONG_VALUE_FOR_VAR -set global maria_group_commit=3; - -SET @@global.maria_group_commit = @start_global_value; |