Peter Rabbitson wrote:
{
   ...
   on_connect_do => [q/SET SQL_MODE = 'TRADITIONAL'/, q/SET
SQL_AUTO_IS_NULL = 0/],
   ...
}

Thanks Peter, and Ash and Stephen too -- it was the limited index length. I found that a 255-character string was fine, but 256 wasn't, then it became clear.

Cheers
Lee


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

Reply via email to