mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed a LOT of compiler warnings
Added missing DBUG_RETURN statements (in mysqldump.c) Added missing enums Fixed a lot of wrong DBUG_PRINT() statements, some of which could cause crashes Removed usage of %lld and %p in printf strings as these are not portable or produces different results on different systems.
This commit is contained in:
@ -1612,7 +1612,7 @@ Handle_old_incorrect_sql_modes_hook::process_unknown_string(char *&unknown_key,
|
||||
char *end)
|
||||
{
|
||||
DBUG_ENTER("Handle_old_incorrect_sql_modes_hook::process_unknown_string");
|
||||
DBUG_PRINT("info", ("unknown key:%60s", unknown_key));
|
||||
DBUG_PRINT("info", ("unknown key: %60s", unknown_key));
|
||||
|
||||
if (unknown_key + INVALID_SQL_MODES_LENGTH + 1 < end &&
|
||||
unknown_key[INVALID_SQL_MODES_LENGTH] == '=' &&
|
||||
@ -1654,7 +1654,7 @@ process_unknown_string(char *&unknown_key, gptr base, MEM_ROOT *mem_root,
|
||||
char *end)
|
||||
{
|
||||
DBUG_ENTER("Handle_old_incorrect_trigger_table_hook::process_unknown_string");
|
||||
DBUG_PRINT("info", ("unknown key:%60s", unknown_key));
|
||||
DBUG_PRINT("info", ("unknown key: %60s", unknown_key));
|
||||
|
||||
if (unknown_key + INVALID_TRIGGER_TABLE_LENGTH + 1 < end &&
|
||||
unknown_key[INVALID_TRIGGER_TABLE_LENGTH] == '=' &&
|
||||
|
Reference in New Issue
Block a user