1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

fixed environment restoring in case of error during SP function execution (BUG#9503)

#define macro improvement
This commit is contained in:
bell@sanja.is.com.ua
2005-06-23 18:29:10 +03:00
parent 53595de2c1
commit 56b2fc10a8
5 changed files with 76 additions and 17 deletions

View File

@ -1433,10 +1433,10 @@ public:
};
#define tmp_disable_binlog(A) \
ulong save_options= (A)->options; \
(A)->options&= ~OPTION_BIN_LOG;
{ulong tmp_disable_binlog__save_options= (A)->options; \
(A)->options&= ~OPTION_BIN_LOG
#define reenable_binlog(A) (A)->options= save_options;
#define reenable_binlog(A) (A)->options= tmp_disable_binlog__save_options;}
/* Flags for the THD::system_thread (bitmap) variable */
#define SYSTEM_THREAD_DELAYED_INSERT 1