Skip to content

Commit 9f94d22

Browse files
gurusamidahlerlend
authored andcommitted
Bug#37649735 InnoDB Bulk Load: Guarantee that UNINSTALL COMPONENT fails when bulk load is in progress
Added a test case to demonstrate that the bulk load component cannot be uninstalled while in use. Change-Id: I6703edae49b81a509142ae2af749454c2f48c655
1 parent 3e83a7b commit 9f94d22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/sql_load.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,8 @@ bool Sql_cmd_load_table::bulk_driver_service(THD *thd, const TABLE *table,
566566
return false;
567567
}
568568

569+
DEBUG_SYNC(thd, "bulk_load_inuse");
570+
569571
auto load_driver = reinterpret_cast<SERVICE_TYPE(bulk_load_driver) *>(svc);
570572

571573
auto load_handle = load_driver->create_bulk_loader(

0 commit comments

Comments
 (0)