separate queries for default on ASE (RT#74170)
authorPaul C. Mantz <paul.mantz@bankofamerica.com>
Tue, 24 Jan 2012 22:53:02 +0000 (16:53 -0600)
committerRafael Kitover <rkitover@cpan.org>
Sun, 8 Apr 2012 11:34:43 +0000 (07:34 -0400)
commit006c8ed3cdc96091389ba5a82dab1b8d19324a1d
treeec9a385cb6907a46ae9bc36fa86a7b01a839fcae
parente17ad40aef83aaa623d02c61dc0ee10d33f472aa
separate queries for default on ASE (RT#74170)

Some Sybase ASE servers apparently cannot LEFT JOIN to the syscomments
table to get the default_value, so do the query separately.

Also combine the data_type/len/prec. and is_identity queries.
Changes
lib/DBIx/Class/Schema/Loader.pm
lib/DBIx/Class/Schema/Loader/DBI/Sybase.pm