diff options
author | unknown <monty@hundin.mysql.fi> | 2002-06-29 00:16:15 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-06-29 00:16:15 +0300 |
commit | 0377bc6ca36ab564fd37a8a4d5bcbd696df6b64c (patch) | |
tree | 4ad1a20d59a1252f985bb184bc8e51fc1988c045 /sql/slave.cc | |
parent | b3574dc24d434092d638ccd889861a969cb0f36a (diff) | |
download | mariadb-git-0377bc6ca36ab564fd37a8a4d5bcbd696df6b64c.tar.gz |
Added support for semaphores in mysys.
(Needed for query cache for systems which doesn't have native semaphores)
mysys/my_getopt.c:
Safety fix.
mysys/my_winsem.c:
Shange all semaphore code to be uniform
mysys/thr_rwlock.c:
cleanup
sql/gen_lex_hash.cc:
Error message if wrong number of arguments.
sql/slave.cc:
R
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 6f173ba5cd8..5ca78b6c7a2 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -881,7 +881,7 @@ static int create_table_from_dump(THD* thd, NET* net, const char* db, /* we do not want to log create table statement */ save_options = thd->options; - thd->options &= ~OPTION_BIN_LOG; + thd->options &= ~(ulong) OPTION_BIN_LOG; thd->proc_info = "Creating table from master dump"; // save old db in case we are creating in a different database char* save_db = thd->db; |