mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
A fix according to Monty's request:
"uint *errors" is now a non-optional parameter in String:copy() and copy_and_convert().
This commit is contained in:
@@ -713,7 +713,8 @@ bool Protocol::store_string_aux(const char *from, uint length,
|
||||
fromcs != &my_charset_bin &&
|
||||
tocs != &my_charset_bin)
|
||||
{
|
||||
return convert->copy(from, length, fromcs, tocs) ||
|
||||
uint dummy_errors;
|
||||
return convert->copy(from, length, fromcs, tocs, &dummy_errors) ||
|
||||
net_store_data(convert->ptr(), convert->length());
|
||||
}
|
||||
return net_store_data(from, length);
|
||||
|
||||
Reference in New Issue
Block a user