From e84ed0c7e66a69b7bc4acd4015a38223a165d71c Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 5 Feb 2014 11:21:31 +0100 Subject: use replication safe statements --- tests/it_dbi.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/it_dbi.t b/tests/it_dbi.t index e988fa8..c9e7d9d 100755 --- a/tests/it_dbi.t +++ b/tests/it_dbi.t @@ -149,10 +149,10 @@ is( "return zero affected rows", ); -$record->update(array('-x' => 'RAND() * 10')); -isnt( +$record->update(array('-x' => 'POW(2,2) * 10')); +is( array($record->_key, $record->x, $record->foo), - array(3, 17, "q'uux"), + array(3, 40, "q'uux"), "update with function" ); -- cgit v1.2.3