1
0
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:
unknown
2004-10-29 17:00:39 +05:00
parent fcb322279e
commit 6e781e11a9
14 changed files with 72 additions and 37 deletions

View File

@@ -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);