\Q-uote column/alias names in regexes in _resolve_aliastypes_from_select_args
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sun, 27 Jul 2014 15:09:41 +0000 (16:09 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 26 Aug 2014 20:54:15 +0000 (21:54 +0100)
commita1228381d2285abfc1ec35466896900c070f4bc3
treefdc2379c95947f4b0ff281568d74a8d42223f7dc
parent855780fc8ba3856e6033dd51c8cf11fa6e9fbc49
\Q-uote column/alias names in regexes in _resolve_aliastypes_from_select_args

Column names can contain regex metacharacters (which includes #, with
/x), so wrap them in \Q and \E to avoid syntax errors.
lib/DBIx/Class/Storage/DBIHacks.pm
t/sqlmaker/limit_dialects/torture_quoted.t