diff options
author | Kentoku <kentokushiba@gmail.com> | 2019-11-08 10:27:07 +0900 |
---|---|---|
committer | Kentoku <kentokushiba@gmail.com> | 2019-11-09 05:57:16 +0900 |
commit | 0cf2ebd18acd945b04111133ccbb479cbc81d405 (patch) | |
tree | 769a262ef5322079f594cd6665aede8b065221e4 /sql/sql_load.cc | |
parent | c24ec3cece6d8bf70dac7519b6fd397c464f7a82 (diff) | |
download | mariadb-git-bb-10.4-MDEV-18973.tar.gz |
MDEV-18973 CLIENT_FOUND_ROWS wrong in spiderbb-10.4-MDEV-18973
Get count from last_used_con->info
Contributed by willhan at Tencent Games
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r-- | sql/sql_load.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc index 89cc3f8da64..98f895af8be 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -677,7 +677,7 @@ int mysql_load(THD *thd, const sql_exchange *ex, TABLE_LIST *table_list, if (likely(!error)) thd_progress_next_stage(thd); if (thd->locked_tables_mode <= LTM_LOCK_TABLES && - table->file->ha_end_bulk_insert() && !error) + table->file->ha_end_bulk_insert_ext(&info) && !error) { table->file->print_error(my_errno, MYF(0)); error= 1; |