On 2006-09-13 10:45:46 +0100, Matt S Trout wrote:
> Does anybody have any idea why recent sqlites don't throw a warning
> for "ORDER BY 'year DESC'" ? That ideally wants either working
> around or if not test 3 in t/*quote*.t needs disabling.

Best I can tell, SQLite recently changed how it interprets ORDER BY
clauses wrt string literals.  There's at least one recent ticket:

http://www.sqlite.org/cvstrac/tktview?tn=1908

How about changing the quote_char in t/*quote*.t to ` (backtick)?  It
tests what was intended and avoids the string literal interpretation.
Any objections?

-- 
Daniel Westermann-Clark

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to