[Fusionforge-commits] r14577 - in branches/Branch_5_1: . src/db

Roland Mas lolando at fusionforge.org
Fri Oct 7 17:38:55 CEST 2011


Author: lolando
Date: 2011-10-07 17:38:55 +0200 (Fri, 07 Oct 2011)
New Revision: 14577

Modified:
   branches/Branch_5_1/
   branches/Branch_5_1/src/db/20111007-fti-aggregate-functions.sql
Log:
Use single quotes in SQL, as the current PHP parser doesn't understand the dollar-quoting syntax

Modified: branches/Branch_5_1/src/db/20111007-fti-aggregate-functions.sql
===================================================================
--- branches/Branch_5_1/src/db/20111007-fti-aggregate-functions.sql	2011-10-07 15:14:00 UTC (rev 14576)
+++ branches/Branch_5_1/src/db/20111007-fti-aggregate-functions.sql	2011-10-07 15:38:55 UTC (rev 14577)
@@ -1,8 +1,8 @@
 CREATE OR REPLACE FUNCTION ff_tsvector_add (tsvector, tsvector)
 RETURNS tsvector
-AS $$
+AS '
    SELECT $1 || $2
-$$ LANGUAGE SQL
+' LANGUAGE SQL
 IMMUTABLE
 RETURNS NULL ON NULL INPUT;
 




More information about the Fusionforge-commits mailing list