From 6c9029219c6611e5f2c7739fe67931ef2d1408f5 Mon Sep 17 00:00:00 2001 From: Christian A. Weber Date: Thu, 7 Dec 2017 16:53:37 +0100 Subject: new MariaDB needs explicit ORDER BY --- tests/it_dbi.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/it_dbi.t b/tests/it_dbi.t index b29b164..6a37637 100755 --- a/tests/it_dbi.t +++ b/tests/it_dbi.t @@ -333,7 +333,7 @@ $record->select(['key2' => "val2"]); is($record->key2, "val2"); is($ # function allrecs() { - foreach (new it_dbi_test() as $r) + foreach (new it_dbi_test([0 => "ORDER BY ID"]) as $r) $result[] = ['ID' => $r->ID, 'foo' => $r->foo]; return json_encode($result); } -- cgit v1.2.3