mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
fixes for slave backward compat
fixed bug in LOAD DATA FROM MASTER fixed rpl000001.result Slave now replicates 3.23 master, with the exception of LOAD DATA INFILE, which is still buggy. Will push this one after the pull/merge
This commit is contained in:
@@ -147,12 +147,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
|
||||
|
||||
if (read_file_from_client && (thd->client_capabilities & CLIENT_LOCAL_FILES))
|
||||
{
|
||||
char tmp [FN_REFLEN+1],*end;
|
||||
DBUG_PRINT("info",("reading local file"));
|
||||
tmp[0] = (char) 251; /* NULL_LENGTH */
|
||||
end=strnmov(tmp+1,ex->file_name,sizeof(tmp)-2);
|
||||
(void) my_net_write(&thd->net,tmp,(uint) (end-tmp));
|
||||
(void) net_flush(&thd->net);
|
||||
(void)net_request_file(&thd->net,ex->file_name);
|
||||
file = -1;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user