summaryrefslogtreecommitdiff
path: root/mysql-test/t/set_statement.test
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2015-03-13 16:32:47 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2015-03-13 20:42:30 +0100
commit41106b229e027890e0fb02e6ba6c2be11fe3469a (patch)
tree8835493aff619f129c0840078657c55c5b453a65 /mysql-test/t/set_statement.test
parent197afb413fcc9f06b5e5e6ef41ce980d108b354f (diff)
downloadmariadb-git-41106b229e027890e0fb02e6ba6c2be11fe3469a.tar.gz
MDEV-6997: SET STATEMENT last_insert_id FOR ... does not affect the value written to the binlog
Problem was in reinitialization of first_successful_insert_id_in_prev_stmt_for_binlog after setting variables.
Diffstat (limited to 'mysql-test/t/set_statement.test')
-rw-r--r--mysql-test/t/set_statement.test2
1 files changed, 0 insertions, 2 deletions
diff --git a/mysql-test/t/set_statement.test b/mysql-test/t/set_statement.test
index 29ed9d0a8b4..2939767b8d9 100644
--- a/mysql-test/t/set_statement.test
+++ b/mysql-test/t/set_statement.test
@@ -1056,8 +1056,6 @@ set statement rand_seed2=default for select 1;
--error ER_SET_STATEMENT_NOT_SUPPORTED
set statement skip_replication=default for select 1;
--error ER_SET_STATEMENT_NOT_SUPPORTED
-set statement last_insert_id=1 for select 1;
---error ER_SET_STATEMENT_NOT_SUPPORTED
set statement sql_log_off=default for select 1;
--error ER_SET_STATEMENT_NOT_SUPPORTED
set statement character_set_client=default for select 1;