diff options
author | unknown <monty@narttu.mysql.fi> | 2003-10-08 18:53:31 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-10-08 18:53:31 +0300 |
commit | 32747b19de5c6a4a78ecf65378c8268823a3b4ca (patch) | |
tree | 91c3c750d9a03c42d9da0b2335928ae4a162e4ea /mysql-test/t/ansi.test | |
parent | 69ea87fe312be473401dc3fb1c6756a72b86881a (diff) | |
download | mariadb-git-32747b19de5c6a4a78ecf65378c8268823a3b4ca.tar.gz |
Fixed bug in error handling of CREATE ... SELECT
More tests cases
After merge fixes
BitKeeper/deleted/.del-ansi-master.opt~4d337eb61642a838:
Delete: mysql-test/t/ansi-master.opt
mysql-test/r/ansi.result:
Cleaned up test to be able to remove ansi-master.opt
mysql-test/r/create.result:
Updated results
mysql-test/r/insert_select.result:
Updated results
mysql-test/r/rpl000009.result:
Updated results
mysql-test/t/ansi.test:
Cleaned up test to be able to remove ansi-master.opt
mysql-test/t/create.test:
More tests
mysql-test/t/insert_select.test:
More tests
mysql-test/t/mysqlbinlog.test:
Fixed test after merge
sql/mysql_priv.h:
Added character-sets-dir to 'show variables'
sql/set_var.cc:
Added character-sets-dir to 'show variables'
sql/sql_class.cc:
Fixed that send_error() is called properly when a SELECT fails
sql/sql_class.h:
Fixed that send_error() is called properly when a SELECT fails
sql/sql_insert.cc:
Fixed bug in error handling of CREATE ... SELECT
sql/sql_select.cc:
Fixed bug in error handling of CREATE ... SELECT
Diffstat (limited to 'mysql-test/t/ansi.test')
-rw-r--r-- | mysql-test/t/ansi.test | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mysql-test/t/ansi.test b/mysql-test/t/ansi.test index f4aef5c3f8e..faf20f1e57e 100644 --- a/mysql-test/t/ansi.test +++ b/mysql-test/t/ansi.test @@ -6,6 +6,11 @@ drop table if exists t1; --enable_warnings +set sql_mode="MySQL40"; +select @@sql_mode; +set @@sql_mode="ANSI"; +select @@sql_mode; + # Test some functions that works different in ansi mode SELECT 'A' || 'B'; @@ -18,7 +23,4 @@ SELECT id,NULL,1,1.1,'a' FROM t1 GROUP BY id; SELECT id FROM t1 GROUP BY id2; drop table t1; -set sql_mode="MySQL40"; -select @@sql_mode; -set sql_mode="ANSI"; -select @@sql_mode; +SET @@SQL_MODE=""; |