mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user