mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
64bb59fce9
* remove part of galera_var_cluster_address.test that can not be tested reliably * reduce running time for galera_gcache_recover_manytrx.test * Additional wait_conditions for GAL-401.test Signed-off-by: Sachin Setiya <sachinsetia1001@gmail.com>
21 lines
536 B
Text
21 lines
536 B
Text
SELECT COUNT(*) = 100 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'test' AND TABLE_NAME LIKE 't%';
|
|
COUNT(*) = 100
|
|
1
|
|
SET AUTOCOMMIT=OFF;
|
|
START TRANSACTION;
|
|
COMMIT;
|
|
CREATE TABLE sum_table (f1 INTEGER);
|
|
SELECT SUM(f1) = 100 FROM sum_table;
|
|
SUM(f1) = 100
|
|
1
|
|
SET AUTOCOMMIT=OFF;
|
|
START TRANSACTION;
|
|
SET AUTOCOMMIT=OFF;
|
|
START TRANSACTION;
|
|
UPDATE t100 SET f1 = 3;
|
|
COMMIT;
|
|
COMMIT;
|
|
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
|
|
include/diff_servers.inc [servers=1 2]
|
|
DROP SCHEMA test;
|
|
CREATE SCHEMA test;
|