summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorRich Prohaska <prohaska@tokutek.com>2014-08-18 13:38:51 -0400
committerRich Prohaska <prohaska@tokutek.com>2014-08-18 13:38:51 -0400
commit96fbab5fcb4daf5db5ac9384a75dcf964bb06aec (patch)
treedb20dc82f17a4888a3573a1385d2a18951a576bf /storage
parent9e079da4cf8f2cafe5611ec93453bfc4997b2211 (diff)
downloadmariadb-git-96fbab5fcb4daf5db5ac9384a75dcf964bb06aec.tar.gz
DB-500 allow simple deletes to use bulk fetch
Diffstat (limited to 'storage')
-rw-r--r--storage/tokudb/ha_tokudb.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/tokudb/ha_tokudb.cc b/storage/tokudb/ha_tokudb.cc
index a53581c8d02..178b6a59d7d 100644
--- a/storage/tokudb/ha_tokudb.cc
+++ b/storage/tokudb/ha_tokudb.cc
@@ -4370,6 +4370,7 @@ static bool tokudb_do_bulk_fetch(THD *thd) {
case SQLCOM_CREATE_TABLE:
case SQLCOM_INSERT_SELECT:
case SQLCOM_REPLACE_SELECT:
+ case SQLCOM_DELETE:
return THDVAR(thd, bulk_fetch) != 0;
default:
return false;