Loading sql/item.cc +1 −1 Original line number Diff line number Diff line Loading @@ -949,7 +949,7 @@ void Item_splocal::print(String *str) *****************************************************************************/ Item_case_expr::Item_case_expr(int case_expr_id) :Item_sp_variable(STRING_WITH_LEN("case_expr")), :Item_sp_variable((char *) STRING_WITH_LEN("case_expr")), m_case_expr_id(case_expr_id) { } Loading sql/sql_trigger.cc +7 −7 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ #include "parse_file.h" static const LEX_STRING triggers_file_type= {STRING_WITH_LEN("TRIGGERS")}; {(char *) STRING_WITH_LEN("TRIGGERS")}; const char * const triggers_file_ext= ".TRG"; Loading @@ -34,17 +34,17 @@ const char * const triggers_file_ext= ".TRG"; static File_option triggers_file_parameters[]= { { {STRING_WITH_LEN("triggers") }, {(char *) STRING_WITH_LEN("triggers") }, offsetof(class Table_triggers_list, definitions_list), FILE_OPTIONS_STRLIST }, { {STRING_WITH_LEN("sql_modes") }, {(char *) STRING_WITH_LEN("sql_modes") }, offsetof(class Table_triggers_list, definition_modes_list), FILE_OPTIONS_ULLLIST }, { {STRING_WITH_LEN("definers") }, {(char *) STRING_WITH_LEN("definers") }, offsetof(class Table_triggers_list, definers_list), FILE_OPTIONS_STRLIST }, Loading @@ -71,7 +71,7 @@ struct st_trigname }; static const LEX_STRING trigname_file_type= {STRING_WITH_LEN("TRIGGERNAME")}; {(char *) STRING_WITH_LEN("TRIGGERNAME")}; const char * const trigname_file_ext= ".TRN"; Loading @@ -82,7 +82,7 @@ static File_option trigname_file_parameters[]= FIXME: Length specified for "trigger_table" key is erroneous, problem caused by this are reported as BUG#14090 and should be fixed ASAP. */ {STRING_WITH_LEN("trigger_table")}, {(char *) STRING_WITH_LEN("trigger_table")}, offsetof(struct st_trigname, trigger_table), FILE_OPTIONS_ESTRING }, Loading Loading @@ -1236,7 +1236,7 @@ Handle_old_incorrect_sql_modes_hook::process_unknown_string(char *&unknown_key, (char *)path, "TRIGGER"); File_option sql_modes_parameters= { {STRING_WITH_LEN("sql_modes") }, {(char *) STRING_WITH_LEN("sql_modes") }, offsetof(class Table_triggers_list, definition_modes_list), FILE_OPTIONS_ULLLIST }; Loading Loading
sql/item.cc +1 −1 Original line number Diff line number Diff line Loading @@ -949,7 +949,7 @@ void Item_splocal::print(String *str) *****************************************************************************/ Item_case_expr::Item_case_expr(int case_expr_id) :Item_sp_variable(STRING_WITH_LEN("case_expr")), :Item_sp_variable((char *) STRING_WITH_LEN("case_expr")), m_case_expr_id(case_expr_id) { } Loading
sql/sql_trigger.cc +7 −7 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ #include "parse_file.h" static const LEX_STRING triggers_file_type= {STRING_WITH_LEN("TRIGGERS")}; {(char *) STRING_WITH_LEN("TRIGGERS")}; const char * const triggers_file_ext= ".TRG"; Loading @@ -34,17 +34,17 @@ const char * const triggers_file_ext= ".TRG"; static File_option triggers_file_parameters[]= { { {STRING_WITH_LEN("triggers") }, {(char *) STRING_WITH_LEN("triggers") }, offsetof(class Table_triggers_list, definitions_list), FILE_OPTIONS_STRLIST }, { {STRING_WITH_LEN("sql_modes") }, {(char *) STRING_WITH_LEN("sql_modes") }, offsetof(class Table_triggers_list, definition_modes_list), FILE_OPTIONS_ULLLIST }, { {STRING_WITH_LEN("definers") }, {(char *) STRING_WITH_LEN("definers") }, offsetof(class Table_triggers_list, definers_list), FILE_OPTIONS_STRLIST }, Loading @@ -71,7 +71,7 @@ struct st_trigname }; static const LEX_STRING trigname_file_type= {STRING_WITH_LEN("TRIGGERNAME")}; {(char *) STRING_WITH_LEN("TRIGGERNAME")}; const char * const trigname_file_ext= ".TRN"; Loading @@ -82,7 +82,7 @@ static File_option trigname_file_parameters[]= FIXME: Length specified for "trigger_table" key is erroneous, problem caused by this are reported as BUG#14090 and should be fixed ASAP. */ {STRING_WITH_LEN("trigger_table")}, {(char *) STRING_WITH_LEN("trigger_table")}, offsetof(struct st_trigname, trigger_table), FILE_OPTIONS_ESTRING }, Loading Loading @@ -1236,7 +1236,7 @@ Handle_old_incorrect_sql_modes_hook::process_unknown_string(char *&unknown_key, (char *)path, "TRIGGER"); File_option sql_modes_parameters= { {STRING_WITH_LEN("sql_modes") }, {(char *) STRING_WITH_LEN("sql_modes") }, offsetof(class Table_triggers_list, definition_modes_list), FILE_OPTIONS_ULLLIST }; Loading