summaryrefslogtreecommitdiff
path: root/mysql-test/include/check-warnings.test
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2012-08-25 20:57:17 +0500
committerAlexey Botchkov <holyfoot@askmonty.org>2012-08-25 20:57:17 +0500
commitd99b8004e6b46e2a1b321bf50825254bf841cddb (patch)
tree0d890d92947dc3c08d0ca9d173c26a3eb27768ce /mysql-test/include/check-warnings.test
parentf277f27ae2fb4ab45a014027f08093a28acc1c14 (diff)
downloadmariadb-git-d99b8004e6b46e2a1b321bf50825254bf841cddb.tar.gz
SQL syntax extended with START TRANSACTION READ ONLY|READ WRITE
and SET TRANSACTION READ ONLT|READ WRITE statements. per-file comments: mysql-test/include/check-warnings.test READ ONLY transaction flag cleaned. mysql-test/r/commit.result result updated mysql-test/r/read_only.result result updated mysql-test/t/commit.test tests added. mysql-test/t/read_only.test tests added sql/lex.h ONLY symbol added. sql/sql_base.cc DBUG_RETURN added. sql/sql_parse.cc implementations added. sql/sql_yacc.yy SQL syntax extended. storage/perfschema/gen_pfs_lex_token changes forced by lex.h storage/perfschema/pfs_lex_token.h changes forced by lex.h
Diffstat (limited to 'mysql-test/include/check-warnings.test')
-rw-r--r--mysql-test/include/check-warnings.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/mysql-test/include/check-warnings.test b/mysql-test/include/check-warnings.test
index 3a26f7eecb1..720f90d7b02 100644
--- a/mysql-test/include/check-warnings.test
+++ b/mysql-test/include/check-warnings.test
@@ -14,10 +14,12 @@ set SQL_LOG_BIN=0;
# Turn off any debug crashes, allow the variable to be
# non existent in release builds
--error 0,1193
-set debug_dbug="";
-
+set debug="";
use mtr;
+# Allow this session to read-write even if server is started
+# with --transaction-read-only
+set session transaction read write;
create temporary table error_log (
row int auto_increment primary key,