mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
A fix for a long standing bug in LOAD DATA .. LOCAL ..'
This commit is contained in:
@ -291,6 +291,9 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
|
|||||||
{
|
{
|
||||||
if (transactional_table)
|
if (transactional_table)
|
||||||
ha_autocommit_or_rollback(thd,error);
|
ha_autocommit_or_rollback(thd,error);
|
||||||
|
if (read_file_from_client)
|
||||||
|
while (!read_info.next_line())
|
||||||
|
;
|
||||||
if (mysql_bin_log.is_open())
|
if (mysql_bin_log.is_open())
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user