Skip to content

Commit b612f3b

Browse files
dr-mmidenok
authored andcommitted
Tests: more fine-grained TRT check
1 parent 5aae304 commit b612f3b

File tree

2 files changed

+35
-17
lines changed

2 files changed

+35
-17
lines changed

mysql-test/suite/versioning/r/update.result

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@ x y
349349
9 9001
350350
8 8000
351351
9 9000
352+
call verify_vtq;
353+
No A B C D
354+
1 1 1 1 1
355+
2 1 1 1 1
352356
call test_02('timestamp(6)', 'myisam', 'sys_end');
353357
A1 x y
354358
1 11 11
@@ -359,6 +363,10 @@ A1 x y
359363
1 11 11
360364
A2 x
361365
1 11
366+
call verify_vtq;
367+
No A B C D
368+
1 1 1 1 1
369+
2 1 1 1 1
362370
call test_03('timestamp(6)', 'myisam', 'sys_end');
363371
x y
364372
1 1
@@ -372,6 +380,10 @@ x y
372380
2 1
373381
3 3
374382
3 1
383+
call verify_vtq;
384+
No A B C D
385+
1 1 1 1 1
386+
2 1 1 1 1
375387
call test_04('timestamp(6)', 'myisam', 'sys_end');
376388
x
377389
x
@@ -388,6 +400,11 @@ x
388400
2
389401
x
390402
3
403+
call verify_vtq;
404+
No A B C D
405+
1 1 1 1 1
406+
2 1 1 1 1
407+
3 1 1 1 1
391408
call test_05('timestamp(6)', 'myisam', 'sys_end');
392409
x y
393410
1 1000
@@ -440,6 +457,13 @@ x y
440457
7 7000
441458
8 8000
442459
9 9000
460+
call verify_vtq;
461+
No A B C D
462+
1 1 1 1 1
463+
2 1 1 1 1
464+
3 1 1 1 1
465+
4 1 1 1 1
466+
5 1 1 1 1
443467
call test_06('timestamp(6)', 'myisam', 'sys_end');
444468
x y
445469
1 1000
@@ -538,6 +562,11 @@ x y
538562
7 7010
539563
8 8010
540564
9 9010
565+
call verify_vtq;
566+
No A B C D
567+
1 1 1 1 1
568+
2 1 1 1 1
569+
3 1 1 1 1
541570
call test_07('timestamp(6)', 'myisam', 'sys_end');
542571
A1 name
543572
1 Jerry
@@ -561,23 +590,6 @@ No A B C D
561590
1 1 1 1 1
562591
2 1 1 1 1
563592
3 1 1 1 1
564-
4 1 1 1 1
565-
5 1 1 1 1
566-
6 1 1 1 1
567-
7 1 1 1 1
568-
8 1 1 1 1
569-
9 1 1 1 1
570-
10 1 1 1 1
571-
11 1 1 1 1
572-
12 1 1 1 1
573-
13 1 1 1 1
574-
14 1 1 1 1
575-
15 1 1 1 1
576-
16 1 1 1 1
577-
17 1 1 1 1
578-
18 1 1 1 1
579-
19 1 1 1 1
580-
20 1 1 1 1
581593
drop procedure test_01;
582594
drop procedure test_02;
583595
drop procedure test_03;

mysql-test/suite/versioning/t/update.test

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,21 +235,27 @@ delimiter ;~~
235235

236236
call test_01('timestamp(6)', 'myisam', 'sys_end');
237237
call test_01('bigint unsigned', 'innodb', 'vtq_commit_ts(sys_end)');
238+
call verify_vtq;
238239

239240
call test_02('timestamp(6)', 'myisam', 'sys_end');
240241
call test_02('bigint unsigned', 'innodb', 'vtq_commit_ts(sys_end)');
242+
call verify_vtq;
241243

242244
call test_03('timestamp(6)', 'myisam', 'sys_end');
243245
call test_03('bigint unsigned', 'innodb', 'vtq_commit_ts(sys_end)');
246+
call verify_vtq;
244247

245248
call test_04('timestamp(6)', 'myisam', 'sys_end');
246249
call test_04('bigint unsigned', 'innodb', 'vtq_commit_ts(sys_end)');
250+
call verify_vtq;
247251

248252
call test_05('timestamp(6)', 'myisam', 'sys_end');
249253
call test_05('bigint unsigned', 'innodb', 'vtq_commit_ts(sys_end)');
254+
call verify_vtq;
250255

251256
call test_06('timestamp(6)', 'myisam', 'sys_end');
252257
call test_06('bigint unsigned', 'innodb', 'vtq_commit_ts(sys_end)');
258+
call verify_vtq;
253259

254260
call test_07('timestamp(6)', 'myisam', 'sys_end');
255261
call test_07('bigint unsigned', 'innodb', 'vtq_commit_ts(sys_end)');

0 commit comments

Comments
 (0)