https://bugzilla.wikimedia.org/show_bug.cgi?id=34855
Brandon Plewe <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #14 from Brandon Plewe <[email protected]> 2012-08-23 04:29:06 UTC --- This is an incomplete patch, because the same error also occurs in getCreateTempIDTableSQL() which has the same PostgreSQL temporary table workaround. The problem is the quotes, as added in the Database tableName function (this is new in MW 1.19). Since I assume the quotes were added for a good reason (but in keeping with SQL standard, shouldn't they be single quotes?), I just took them back out at the beginning of the getCreateTempIDTableSQL() function: $tablename = str_replace(array('"',"'"),"",$tablename); I know that's a clumsy fix, but it got my hierarchical query working. Hope someone can find a more elegant solution. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
