mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed problem when connecting to user without a password.
Fixed problem with LIKE and BINARY
This commit is contained in:
@ -295,11 +295,12 @@ void
|
||||
send_ok(THD *thd, ha_rows affected_rows, ulonglong id, const char *message)
|
||||
{
|
||||
NET *net= &thd->net;
|
||||
if (net->no_send_ok || !net->vio) // hack for re-parsing queries
|
||||
return;
|
||||
|
||||
char buff[MYSQL_ERRMSG_SIZE+10],*pos;
|
||||
DBUG_ENTER("send_ok");
|
||||
|
||||
if (net->no_send_ok || !net->vio) // hack for re-parsing queries
|
||||
DBUG_VOID_RETURN;
|
||||
|
||||
buff[0]=0; // No fields
|
||||
pos=net_store_length(buff+1,(ulonglong) affected_rows);
|
||||
pos=net_store_length(pos, (ulonglong) id);
|
||||
|
Reference in New Issue
Block a user