From d92fe0ee371ef220e3407a52af7a4229d57204be Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 21 Apr 2020 15:17:27 +0200 Subject: test for safe LIMIT --- test/it_dbi.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/it_dbi.t b/test/it_dbi.t index 165861f..dbcc6bb 100755 --- a/test/it_dbi.t +++ b/test/it_dbi.t @@ -349,7 +349,7 @@ $r->update(['key4' => "val4'", 'key5' => "val5'"]); is($r->_writes, 1); is($r- $r->update(['key4' => "val4'", 'key5' => "val5'"]); is($r->_writes, 1); is($r->key4, "val4'"); is($r->key5, "val5'"); # Check LIMIT -$count = $r->select('ID >' => 0, 'ORDER BY ID DESC', 'LIMIT' => 1); +$count = $r->select(['ID >' => 0, 'ORDER BY ID DESC', 'LIMIT' => 1]); is($count, 1); is($r->ID, 6); -- cgit v1.2.3