The slow insert can be simulated by "lock tables <table_name> write" instead of modifying the code, I believe.
The slow insert can be simulated by "lock tables <table_name> write" instead of modifying the code, I believe.