summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian A. Weber2017-12-07 16:53:37 +0100
committerChristian A. Weber2017-12-07 16:55:20 +0100
commit6c9029219c6611e5f2c7739fe67931ef2d1408f5 (patch)
tree353e9d073efa5bd47c570be16ff542f4a01187a0 /tests
parent799ec2735c645748b37c390e96aaaf67d16a353d (diff)
downloaditools-6c9029219c6611e5f2c7739fe67931ef2d1408f5.tar.gz
itools-6c9029219c6611e5f2c7739fe67931ef2d1408f5.tar.bz2
itools-6c9029219c6611e5f2c7739fe67931ef2d1408f5.zip
new MariaDB needs explicit ORDER BY
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_dbi.t2
1 files changed, 1 insertions, 1 deletions
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);
}