1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-02 14:47:37 +03:00

Fix for mysqlbinlog compilation

This commit is contained in:
unknown
2003-01-31 10:28:13 +04:00
parent 071aec5c45
commit fd9011ea04

View File

@ -2112,7 +2112,9 @@ int User_var_log_event::write_data(IO_CACHE* file)
pos= val;
break;
case ROW_RESULT:
#ifndef MYSQL_CLIENT
DBUG_ASSERT(1);
#endif
return 0;
}
return (my_b_safe_write(file, (byte*) buf, sizeof(buf)) ||
@ -2164,7 +2166,6 @@ void User_var_log_event::print(FILE* file, bool short_form, char* last_db)
fprintf(file, ":='%s';\n", val);
break;
case ROW_RESULT:
DBUG_ASSERT(1);
return;
}
}