[Dbix-class] Patch for Oracle columns_info_for method

Daniel Westermann-Clark dwc at pobox.com
Thu Sep 14 04:41:21 CEST 2006


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



More information about the Dbix-class mailing list