From: Peter Rabbitson Date: Thu, 16 Jan 2014 23:39:31 +0000 (+0100) Subject: Port scalarref in array of sources test from dq (7732c37a) X-Git-Tag: v1.77~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e4327a54f173b813987539dd166d530611e9fcf3;p=dbsrgits%2FSQL-Abstract.git Port scalarref in array of sources test from dq (7732c37a) --- diff --git a/t/01generate.t b/t/01generate.t index 245ca55..273d94d 100644 --- a/t/01generate.t +++ b/t/01generate.t @@ -113,6 +113,13 @@ my @tests = ( bind => ['nwiger'] }, { + func => 'select', + args => [[\'test1', 'test2'], '*', { 'test1.a' => 'boom' } ], + stmt => 'SELECT * FROM test1, test2 WHERE ( test1.a = ? )', + stmt_q => 'SELECT * FROM test1, `test2` WHERE ( `test1`.`a` = ? )', + bind => ['boom'] + }, + { func => 'insert', args => ['test', {a => 1, b => 2, c => 3, d => 4, e => 5}], stmt => 'INSERT INTO test (a, b, c, d, e) VALUES (?, ?, ?, ?, ?)',