Commit fd9011ea authored by unknown's avatar unknown

Fix for mysqlbinlog compilation

parent 071aec5c
...@@ -2112,7 +2112,9 @@ int User_var_log_event::write_data(IO_CACHE* file) ...@@ -2112,7 +2112,9 @@ int User_var_log_event::write_data(IO_CACHE* file)
pos= val; pos= val;
break; break;
case ROW_RESULT: case ROW_RESULT:
#ifndef MYSQL_CLIENT
DBUG_ASSERT(1); DBUG_ASSERT(1);
#endif
return 0; return 0;
} }
return (my_b_safe_write(file, (byte*) buf, sizeof(buf)) || 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) ...@@ -2164,7 +2166,6 @@ void User_var_log_event::print(FILE* file, bool short_form, char* last_db)
fprintf(file, ":='%s';\n", val); fprintf(file, ":='%s';\n", val);
break; break;
case ROW_RESULT: case ROW_RESULT:
DBUG_ASSERT(1);
return; return;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment