From: Mark A. Stratman Date: Mon, 3 Dec 2012 18:46:13 +0000 (-0600) Subject: Added (now passing) test for @@ full text search X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8bbeb3e2fda0195a93e8edb8b0e4c2e3d81f73c5;p=scpubgit%2FQ-Branch.git Added (now passing) test for @@ full text search --- diff --git a/t/14roundtrippin.t b/t/14roundtrippin.t index c197f63..c898572 100644 --- a/t/14roundtrippin.t +++ b/t/14roundtrippin.t @@ -23,6 +23,7 @@ my @sql = ( "SELECT COUNT( * ) FROM foo me JOIN bar rel_bar ON rel_bar.id_bar = me.fk_bar WHERE NOT EXISTS (SELECT inner_baz.id_baz FROM baz inner_baz WHERE ( ( inner_baz.fk_a != ? AND ( fk_bar = me.fk_bar AND name = me.name ) ) ) )", "SELECT foo AS bar FROM baz ORDER BY x + ? DESC, oomph, y - ? DESC, unf, baz.g / ? ASC, buzz * 0 DESC, foo DESC, ickk ASC", "SELECT inner_forum_roles.forum_id FROM forum_roles AS inner_forum_roles LEFT JOIN user_roles AS inner_user_roles USING(user_role_type_id) WHERE inner_user_roles.user_id = users__row.user_id", + "SELECT * FROM foo WHERE foo.a @@ to_tsquery('word')", ); # FIXME FIXME FIXME