polardbxengine/mysql-test/suite/xengine/t/xengine_concurrent_delete.test

26 lines
880 B
Plaintext

--source suite/xengine/include/have_xengine.inc
--source include/have_debug_sync.inc
# This validates the fix for Issue #144. The problem was that with more
# than one client accessing/deleting the same row there was a possibility
# of client A finding a row (through Next() or Prev()) but the row being
# deleted before the GetForUpdate() call could occur. When this happened
# a nearly useless error was being returned.
let $order=ASC;
let $comment="";
--source suite/xengine/include/xengine_concurrent_delete.inc
let $order=DESC;
let $comment="";
--source suite/xengine/include/xengine_concurrent_delete.inc
let $order=ASC;
let $comment="rev:cf2";
--source suite/xengine/include/xengine_concurrent_delete.inc
let $order=DESC;
let $comment="rev:cf2";
--source suite/xengine/include/xengine_concurrent_delete.inc
--source suite/xengine/include/check_xengine_log_error.inc