diff options
author | unknown <sergefp@mysql.com> | 2005-08-03 03:47:07 +0000 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2005-08-03 03:47:07 +0000 |
commit | e442059c0dbfeadaabf7e12e905fec0b94c153a6 (patch) | |
tree | 551d1a44fe7c14ba73b87378e84fb04d7228ab30 /sql/sql_trigger.h | |
parent | 88105618c5eba3714189875a8d799cb7503bd657 (diff) | |
parent | b323667ffc7176482073ca7d626560dcd8d7ee75 (diff) | |
download | mariadb-git-e442059c0dbfeadaabf7e12e905fec0b94c153a6.tar.gz |
Manual merge
mysql-test/r/sp.result:
Auto merged
mysql-test/r/view.result:
Auto merged
mysql-test/t/view.test:
Auto merged
sql/item_func.cc:
Auto merged
sql/sp.cc:
Auto merged
sql/sp_head.cc:
Auto merged
sql/sp_head.h:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_class.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_trigger.h:
Auto merged
Diffstat (limited to 'sql/sql_trigger.h')
-rw-r--r-- | sql/sql_trigger.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_trigger.h b/sql/sql_trigger.h index ede2cb39f0e..e2ed4bcc0f4 100644 --- a/sql/sql_trigger.h +++ b/sql/sql_trigger.h @@ -82,7 +82,7 @@ public: if (bodies[event][time_type]) { - bool save_in_sub_stmt= thd->transaction.in_sub_stmt; + bool save_in_sub_stmt= thd->in_sub_stmt; #ifndef EMBEDDED_LIBRARY /* Surpress OK packets in case if we will execute statements */ my_bool nsok= thd->net.no_send_ok; @@ -111,11 +111,11 @@ public: does NOT go into binlog. */ tmp_disable_binlog(thd); - thd->transaction.in_sub_stmt= TRUE; + thd->in_sub_stmt= TRUE; res= bodies[event][time_type]->execute_function(thd, 0, 0, 0); - thd->transaction.in_sub_stmt= save_in_sub_stmt; + thd->in_sub_stmt= save_in_sub_stmt; reenable_binlog(thd); #ifndef EMBEDDED_LIBRARY |