diff options
author | Christian A. Weber | 2017-12-07 16:53:37 +0100 |
---|---|---|
committer | Christian A. Weber | 2017-12-07 16:55:20 +0100 |
commit | 6c9029219c6611e5f2c7739fe67931ef2d1408f5 (patch) | |
tree | 353e9d073efa5bd47c570be16ff542f4a01187a0 /tests/it_dbi.t | |
parent | 799ec2735c645748b37c390e96aaaf67d16a353d (diff) | |
download | itools-6c9029219c6611e5f2c7739fe67931ef2d1408f5.tar.gz itools-6c9029219c6611e5f2c7739fe67931ef2d1408f5.tar.bz2 itools-6c9029219c6611e5f2c7739fe67931ef2d1408f5.zip |
new MariaDB needs explicit ORDER BY
Diffstat (limited to 'tests/it_dbi.t')
-rwxr-xr-x | tests/it_dbi.t | 2 |
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); } |