[DBIx-Class-Devel] [dbix-class] Remove identity retrieval statement for blob inserts (Sybase) (#82)
Tina Müller (tinita)
notifications at github.com
Wed Jul 29 15:04:11 GMT 2015
See https://gist.github.com/perlpunk/ab26c0d56f29bf29b747
When you have a table in Sybase with a text column, and you do an insert,
this will fail if you do it in a transaction because a
"SELECT MAX(id) ..." is appended to the SQL performing the blob insert.
Without a transaction a new $schema object is used which does not have
the _perform_autoinc_retrieval attribute set, so it suceeds
You can view, comment on, or merge this pull request online at:
https://github.com/dbsrgits/dbix-class/pull/82
-- Commit Summary --
* remove identity retrieval statement for blob inserts (Sybase)
-- File Changes --
M lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm (3)
-- Patch Links --
https://github.com/dbsrgits/dbix-class/pull/82.patch
https://github.com/dbsrgits/dbix-class/pull/82.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/82
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20150729/02115be7/attachment.htm>
More information about the DBIx-Class-Devel
mailing list