diff options
author | unknown <monty@mysql.com> | 2004-11-26 02:31:22 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2004-11-26 02:31:22 +0200 |
commit | 60af920628c435a5990c3ef7a753d0f374fc12cc (patch) | |
tree | f3f4600d006f2d2d7d31180814236decb181095f /sql/slave.cc | |
parent | fecd27a1063ef32c7d1d3149321323de2c943364 (diff) | |
download | mariadb-git-60af920628c435a5990c3ef7a753d0f374fc12cc.tar.gz |
Fixes while reviewing code
(Cleanups and better bug fixes)
mysql-test/r/select.result:
Fixed test after wrong merge
mysql-test/t/select.test:
Fixed test after wrong merge
scripts/mysql_fix_privilege_tables.sh:
Don't read defaults files
sql/item_cmpfunc.cc:
Fix wrong value for not_null_tables_cache
sql/item_cmpfunc.h:
Remove wrong patch (flags are set in fix_length_and_dec())
sql/item_func.h:
Fix wrong value for not_null_tables_cache
sql/slave.cc:
Fixed indentation
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 7e544572755..b0f911e7013 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -1637,7 +1637,8 @@ int init_master_info(MASTER_INFO* mi, const char* master_info_fname, position is at the beginning of the file, and will read the "signature" and then fast-forward to the last position read. */ - if (thread_mask & SLAVE_SQL) { + if (thread_mask & SLAVE_SQL) + { my_b_seek(mi->rli.cur_log, (my_off_t) 0); } DBUG_RETURN(0); |