mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Fix for mysqlbinlog compilation
This commit is contained in:
@@ -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)
|
|||||||
fprintf(file, ":='%s';\n", val);
|
fprintf(file, ":='%s';\n", val);
|
||||||
break;
|
break;
|
||||||
case ROW_RESULT:
|
case ROW_RESULT:
|
||||||
DBUG_ASSERT(1);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user