Make the test more stable.

This commit is contained in:
Oleksandr Byelkin 2025-04-28 17:47:45 +02:00
commit 739578915f
2 changed files with 12 additions and 9 deletions

View file

@ -164,16 +164,16 @@ Warnings:
Note 1105 xt1: 1 affected rows
SELECT * FROM t1;
id msg
4 four
7 sept
1 one
8 eight
40 forty
10 ten
11 eleven
35 thirty five
72 big
4 four
40 forty
60 big
7 sept
72 big
8 eight
81 big
DELETE FROM t1 WHERE id in (60,72);
Warnings:
@ -181,14 +181,14 @@ Note 1105 xt3: 2 affected rows
Note 1105 xt3: 0 affected rows
SELECT * FROM t1;
id msg
4 four
7 sept
1 one
8 eight
40 forty
10 ten
11 eleven
35 thirty five
4 four
40 forty
7 sept
8 eight
81 big
DROP TABLE t1;
CREATE TABLE t1 (

View file

@ -75,11 +75,14 @@ SELECT * FROM t1 WHERE id = 7;
SELECT * FROM t1 WHERE id = 35;
UPDATE t1 SET msg = 'number' WHERE id in (60,72);
UPDATE t1 SET msg = 'soixante' WHERE id = 60;
--sorted_result
SELECT * FROM t1 WHERE id > 50;
UPDATE t1 SET msg = 'big' WHERE id > 50;
UPDATE t1 SET msg = 'sept' WHERE id = 7;
--sorted_result
SELECT * FROM t1;
DELETE FROM t1 WHERE id in (60,72);
--sorted_result
SELECT * FROM t1;
DROP TABLE t1;