Commit 4cc808b7 authored by kostja@bodhi.(none)'s avatar kostja@bodhi.(none)

Fix "db_cl_altered might be used uninitialized" warning.

parent 057ab256
...@@ -1820,7 +1820,7 @@ static uint dump_events_for_db(char *db) ...@@ -1820,7 +1820,7 @@ static uint dump_events_for_db(char *db)
MYSQL_ROW row, event_list_row; MYSQL_ROW row, event_list_row;
char db_cl_name[MY_CS_NAME_SIZE]; char db_cl_name[MY_CS_NAME_SIZE];
int db_cl_altered; int db_cl_altered= FALSE;
DBUG_ENTER("dump_events_for_db"); DBUG_ENTER("dump_events_for_db");
DBUG_PRINT("enter", ("db: '%s'", db)); DBUG_PRINT("enter", ("db: '%s'", db));
...@@ -2005,7 +2005,7 @@ static uint dump_routines_for_db(char *db) ...@@ -2005,7 +2005,7 @@ static uint dump_routines_for_db(char *db)
MYSQL_ROW row, routine_list_row; MYSQL_ROW row, routine_list_row;
char db_cl_name[MY_CS_NAME_SIZE]; char db_cl_name[MY_CS_NAME_SIZE];
int db_cl_altered; int db_cl_altered= FALSE;
DBUG_ENTER("dump_routines_for_db"); DBUG_ENTER("dump_routines_for_db");
DBUG_PRINT("enter", ("db: '%s'", db)); DBUG_PRINT("enter", ("db: '%s'", db));
...@@ -2746,7 +2746,7 @@ static int dump_trigger(MYSQL_RES *show_create_trigger_rs, ...@@ -2746,7 +2746,7 @@ static int dump_trigger(MYSQL_RES *show_create_trigger_rs,
{ {
FILE *sql_file= md_result_file; FILE *sql_file= md_result_file;
MYSQL_ROW row; MYSQL_ROW row;
int db_cl_altered; int db_cl_altered= FALSE;
DBUG_ENTER("dump_trigger"); DBUG_ENTER("dump_trigger");
......
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