diff options
author | unknown <konstantin@mysql.com> | 2005-07-16 03:29:14 +0400 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2005-07-16 03:29:14 +0400 |
commit | d5b80a789e05b7dce12dfeef7393a6ac8bf17fb7 (patch) | |
tree | fe86de110150486a3da0c2abaea7060dc727619c /mysql-test/t/ps.test | |
parent | e81337d8b21114a0d2acd9403ca76bffa9c01254 (diff) | |
parent | e83e10533194cca56596226e5c2c08c7bb6d5b9a (diff) | |
download | mariadb-git-d5b80a789e05b7dce12dfeef7393a6ac8bf17fb7.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/opt/local/work/mysql-4.1-root
Diffstat (limited to 'mysql-test/t/ps.test')
-rw-r--r-- | mysql-test/t/ps.test | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test index beae95d462a..a4911115c9f 100644 --- a/mysql-test/t/ps.test +++ b/mysql-test/t/ps.test @@ -702,4 +702,20 @@ select ??; select ? from t1; --enable_ps_protocol drop table t1; -# +# +# Bug#9359 "Prepared statements take snapshot of system vars at PREPARE +# time" +# +prepare stmt from "select @@time_zone"; +execute stmt; +set @@time_zone:='Japan'; +execute stmt; +prepare stmt from "select @@tx_isolation"; +execute stmt; +set transaction isolation level read committed; +execute stmt; +set transaction isolation level serializable; +execute stmt; +set @@tx_isolation=default; +execute stmt; +deallocate prepare stmt; |