summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-08-20 11:20:47 -0600
committerunknown <sasha@mysql.sashanet.com>2001-08-20 11:20:47 -0600
commit9326aa42acbf5227b61a626a54e7f7fce2808c3c (patch)
tree26248881fcfc641e4a5f86cbf8845b3f8d8947ea /sql
parente704dd7202e2295ccea47260f5136444dfbe84de (diff)
downloadmariadb-git-9326aa42acbf5227b61a626a54e7f7fce2808c3c.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 client/mysqltest.c: added safe_connect() and chaned all calls to mysql_real_connect() to safe_connect() mysql-test/install_test_db.sh: more diagnostic sql/log_event.cc: fixed compile error in mysqlbinlog
Diffstat (limited to 'sql')
-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;