From: Peter Rabbitson Date: Sun, 8 Mar 2009 21:25:14 +0000 (+0000) Subject: Add value-only insert test with a literal sql snippet X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=257d9a4263098aff3c4e1acea3992840a6a617c7;p=scpubgit%2FQ-Branch.git Add value-only insert test with a literal sql snippet --- diff --git a/t/01generate.t b/t/01generate.t index 0d94876..675c273 100644 --- a/t/01generate.t +++ b/t/01generate.t @@ -190,6 +190,13 @@ my @tests = ( stmt_q => 'INSERT INTO `test`.`table` (`high_limit`, `low_limit`) VALUES (max(all_limits), ?)', bind => ['4'], }, + { + func => 'insert', + args => ['test.table', [ \'max(all_limits)', 4 ] ], + stmt => 'INSERT INTO test.table VALUES (max(all_limits), ?)', + stmt_q => 'INSERT INTO `test`.`table` VALUES (max(all_limits), ?)', + bind => ['4'], + }, #23 { func => 'insert',