On 8/1/07, Tatsuhiko Miyagawa <[EMAIL PROTECTED]> wrote:
> On 8/1/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
> > On Wed, Aug 01, 2007 at 12:06:37AM -0700, Tatsuhiko Miyagawa wrote:
> > > The following patch fixes some weird bugs when I used the table name
> > > 'show' with mysql.
> >
> > Wonder if quote_identifier is widely-support yet. If not Schema::Loader
> > should probably switch to using a storage object.
>
> FWIW, quote_identifier was added in DBI 1.21, released in February 2002.
> http://search.cpan.org/dist/DBI/Changes
>

Actually, you're using an outdated version of Schema::Loader.  Ash
patched this problem back in February, and it uses
storage->sql_maker->select, which in turn will do correct quoting if
necessary by setting the quote_char/name_sep storage options.

-- Brandon

_______________________________________________
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