Skip to content

Commit 248c783

Browse files
committed
Specify explicit row order in PDO MySQL test
1 parent 23d4659 commit 248c783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_mysql/tests/pdo_mysql_prepare_native.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ $db = MySQLPDOTest::factory();
233233
prepex(44, $db, 'DELETE FROM test');
234234
prepex(45, $db, 'INSERT INTO test(id, label) VALUES (1, ?), (2, ?)',
235235
array('row', 'row'));
236-
$stmt = prepex(46, $db, 'SELECT id, label FROM test');
236+
$stmt = prepex(46, $db, 'SELECT id, label FROM test ORDER BY id');
237237
$tmp = $stmt->fetchAll(PDO::FETCH_ASSOC);
238238
$exp = array(
239239
0 => array(

0 commit comments

Comments
 (0)