summaryrefslogtreecommitdiff
path: root/storage/innobase/handler/ha_innodb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/handler/ha_innodb.cc')
-rw-r--r--storage/innobase/handler/ha_innodb.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index c4083f8aeb9..80287836ecc 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -15140,6 +15140,14 @@ ha_innobase::extra(
trx_register_for_2pc(m_prebuilt->trx);
m_prebuilt->sql_stat_start = true;
break;
+ case HA_EXTRA_IGNORE_INSERT:
+ {
+ ins_node_t* node = m_prebuilt->ins_node;
+ if (node && node->bulk_insert) {
+ m_prebuilt->trx->set_allow_insert_undo(node->table);
+ }
+ }
+ break;
default:/* Do nothing */
;
}