summaryrefslogtreecommitdiff
path: root/sql/mysqlbinlog.cc
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-10-23 15:35:42 +0300
committerunknown <monty@donna.mysql.com>2000-10-23 15:35:42 +0300
commit76edea0d7354133743b3608213653c5a7f3c94ce (patch)
tree20b25b09438bf3aad77ad7810faab9651daf310f /sql/mysqlbinlog.cc
parent3d10e826ffc1423ced9a2d845a8e617b0d569f58 (diff)
downloadmariadb-git-76edea0d7354133743b3608213653c5a7f3c94ce.tar.gz
Fix of automatic repair
Docs/manual.texi: Update for 3.23.27 configure.in: Fixed syntax error include/m_string.h: bmove() was wrongly defined (old code was probably never executed) myisam/mi_check.c: Fix for automatic repair myisam/myisamchk.c: Fix for automatic repair sql/ha_myisam.cc: Fix for automatic repair sql/handler.cc: Fix for automatic repair sql/mysqlbinlog.cc: Indentation sql/sql_insert.cc: Move incrementation of thread_count to make things safer sql/sql_parse.cc: Added a new state for bug tracking sql/sql_select.cc: Increment created_tmp_disk_tables for each internal temporary MyISAM table. Added path to some printf statements.
Diffstat (limited to 'sql/mysqlbinlog.cc')
-rw-r--r--sql/mysqlbinlog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/mysqlbinlog.cc b/sql/mysqlbinlog.cc
index 5c94d5d5a57..179bc717093 100644
--- a/sql/mysqlbinlog.cc
+++ b/sql/mysqlbinlog.cc
@@ -327,8 +327,8 @@ static void dump_local_log_entries(const char* logname)
if(!position)
{
char magic[4];
- if(my_fread(file, (byte*) magic, sizeof(magic), MYF(MY_NABP|MY_WME)))
- die("I/O error reading binlog magic number");
+ if (my_fread(file, (byte*) magic, sizeof(magic), MYF(MY_NABP|MY_WME)))
+ die("I/O error reading binlog magic number");
if(memcmp(magic, BINLOG_MAGIC, 4))
die("Bad magic number");
}