summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-08-20 11:20:47 -0600
committersasha@mysql.sashanet.com <>2001-08-20 11:20:47 -0600
commit845fc9e0c647ea32de90bf9dba65875cdc644e09 (patch)
tree26248881fcfc641e4a5f86cbf8845b3f8d8947ea /sql/log_event.cc
parent6b45a297eefe21155c66b56ee305b7c682e3deac (diff)
downloadmariadb-git-845fc9e0c647ea32de90bf9dba65875cdc644e09.tar.gz
fixes in mysqltest and mysqlbinlog
trying to understand why --bootstrap option does not create tables on disk, hope the problem will be fixed when I pull, if not will debug, but need to commit in order to pull
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 89f0919cc41..8275896710a 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -30,6 +30,7 @@ static void pretty_print_str(FILE* file, char* str, int len)
fputc('\'', file);
while (str < end)
{
+ char c;
switch ((c=*str++)) {
case '\n': fprintf(file, "\\n"); break;
case '\r': fprintf(file, "\\r"); break;