diff options
author | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-06-09 11:41:24 +0300 |
---|---|---|
committer | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-06-09 11:41:24 +0300 |
commit | 344127f371de209bf8a0cb1a0cb9748378ea9bb6 (patch) | |
tree | 2b69f5dc4ed6a2fca5bff6279464516aad56386b /sql/sql_load.cc | |
parent | 60153dd36e2a79150565635d1370ed64df7cc07d (diff) | |
parent | 04f4786c081d4aa09ae91692bc494c8fd3cc3430 (diff) | |
download | mariadb-git-344127f371de209bf8a0cb1a0cb9748378ea9bb6.tar.gz |
merge
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r-- | sql/sql_load.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc index 2c42f29ae71..7e540ffbe4b 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -995,6 +995,10 @@ read_sep_field(THD *thd, COPY_INFO &info, TABLE_LIST *table_list, DBUG_RETURN(1); } } + + if (thd->is_error()) + read_info.error= 1; + if (read_info.error) break; if (skip_lines) |