Skip to content

Commit a0882a2

Browse files
Bug #20987420 PB2 FAILURE OF TEST CASE INNODB_ZIP.INNODB_16K
Description: ------------ While doing insert .. select , the order in which rows are returned by a SELECT statement with no ORDER BY clause is not determined. Fix: ---- Changed the test case by adding order by statement for the query. Reviewed-by: Marko Mäkelä<[email protected]> Approved via IM
1 parent 29e310f commit a0882a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mysql-test/suite/innodb_zip/r/innodb_16k.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ INSERT INTO t2 VALUES ('jejdkrun87'),('adfd72nh9k'),
317317
CREATE TABLE t1(a int, b blob, c text, d text NOT NULL)
318318
ENGINE=innodb DEFAULT CHARSET=utf8 STATS_PERSISTENT=0;
319319
INSERT INTO t1
320-
SELECT a,LEFT(REPEAT(d,100*a),65535),REPEAT(d,20*a),d FROM t2,t3;
320+
SELECT a,LEFT(REPEAT(d,100*a),65535),REPEAT(d,20*a),d FROM t2,t3 order by a, d;
321321
DROP TABLE t2, t3;
322322
SELECT COUNT(*) FROM t1 WHERE a=44;
323323
COUNT(*)

mysql-test/suite/innodb_zip/t/innodb_16k.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ CREATE TABLE t1(a int, b blob, c text, d text NOT NULL)
322322
ENGINE=innodb DEFAULT CHARSET=utf8 STATS_PERSISTENT=0;
323323

324324
INSERT INTO t1
325-
SELECT a,LEFT(REPEAT(d,100*a),65535),REPEAT(d,20*a),d FROM t2,t3;
325+
SELECT a,LEFT(REPEAT(d,100*a),65535),REPEAT(d,20*a),d FROM t2,t3 order by a, d;
326326
DROP TABLE t2, t3;
327327
SELECT COUNT(*) FROM t1 WHERE a=44;
328328
SELECT a,

0 commit comments

Comments
 (0)