diff options
author | Kentoku <kentokushiba@gmail.com> | 2019-11-29 08:22:13 +0900 |
---|---|---|
committer | Kentoku <kentokushiba@gmail.com> | 2019-11-29 23:23:57 +0900 |
commit | e066723a4149b05f212850dcf8ecf55b3ce2524d (patch) | |
tree | f790ac3d0bff3938429eefb8c20900e310fcec40 /sql/handler.cc | |
parent | 3826178da89f987ebf641bcd92d4a714d51b3ecb (diff) | |
download | mariadb-git-bb-10.4-MDEV-18973_2.tar.gz |
MDEV-18973 CLIENT_FOUND_ROWS wrong in spiderbb-10.4-MDEV-18973_2
Get count from last_used_con->info
Contributed by willhan at Tencent Games
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 72b11098060..78c61ddf70a 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -6812,14 +6812,14 @@ int handler::ha_delete_row(const uchar *buf) @retval != 0 Failure. */ -int handler::ha_direct_update_rows(ha_rows *update_rows) +int handler::ha_direct_update_rows(ha_rows *update_rows, ha_rows *found_rows) { int error; MYSQL_UPDATE_ROW_START(table_share->db.str, table_share->table_name.str); mark_trx_read_write(); - error = direct_update_rows(update_rows); + error = direct_update_rows(update_rows, found_rows); MYSQL_UPDATE_ROW_DONE(error); return error; } |