mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
sys_var_collation is now abstract class
Two separate classes sys_var_client_collation and sys_var_literal_collation have been added for "literal_collation" and "client_collation" variables.
This commit is contained in:
@ -805,7 +805,7 @@ bool Protocol_simple::store(float from, uint32 decimals, String *buffer)
|
||||
field_types[field_pos] == MYSQL_TYPE_FLOAT);
|
||||
field_pos++;
|
||||
#endif
|
||||
buffer->set((double) from, decimals, thd->variables.thd_charset);
|
||||
buffer->set((double) from, decimals, thd->charset());
|
||||
return net_store_data((char*) buffer->ptr(), buffer->length());
|
||||
}
|
||||
|
||||
@ -817,7 +817,7 @@ bool Protocol_simple::store(double from, uint32 decimals, String *buffer)
|
||||
field_types[field_pos] == MYSQL_TYPE_DOUBLE);
|
||||
field_pos++;
|
||||
#endif
|
||||
buffer->set(from, decimals, thd->variables.thd_charset);
|
||||
buffer->set(from, decimals, thd->charset());
|
||||
return net_store_data((char*) buffer->ptr(), buffer->length());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user