mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug fix: for SHOW STATUS (when ssl is used)
Added ROW_RESULT to switchs(for documentation purposes) sql/filesort.cc: For documentation purposes sql/item_cmpfunc.cc: For documentation purposes sql/item_func.cc: For documentation purposes sql/item_sum.cc: For documentation purposes sql/log_event.cc: For documentation purposes sql/sql_lex.cc: For documentation purposes sql/sql_select.cc: For documentation purposes sql/sql_show.cc: Bug fix: for SHOW STATUS (when ssl is used)
This commit is contained in:
@ -2004,6 +2004,7 @@ void User_var_log_event::pack_info(Protocol* protocol)
|
||||
memcpy(buf + val_offset + 1, val, val_len);
|
||||
buf[val_offset + val_len + 1]= '\'';
|
||||
break;
|
||||
case ROW_RESULT:
|
||||
default:
|
||||
DBUG_ASSERT(1);
|
||||
return;
|
||||
@ -2069,6 +2070,7 @@ int User_var_log_event::write_data(IO_CACHE* file)
|
||||
case STRING_RESULT:
|
||||
pos= val;
|
||||
break;
|
||||
case ROW_RESULT:
|
||||
default:
|
||||
DBUG_ASSERT(1);
|
||||
return 0;
|
||||
@ -2121,6 +2123,7 @@ void User_var_log_event::print(FILE* file, bool short_form, char* last_db)
|
||||
case STRING_RESULT:
|
||||
fprintf(file, ":='%s';\n", val);
|
||||
break;
|
||||
case ROW_RESULT:
|
||||
default:
|
||||
DBUG_ASSERT(1);
|
||||
return;
|
||||
@ -2165,6 +2168,7 @@ int User_var_log_event::exec_event(struct st_relay_log_info* rli)
|
||||
case STRING_RESULT:
|
||||
it= new Item_string(val, val_len, charset);
|
||||
break;
|
||||
case ROW_RESULT:
|
||||
default:
|
||||
DBUG_ASSERT(1);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user