projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix auto-pk for Sybase ASE, broken by refactoring in fabbd5cc
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
Sybase
/
ASE.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm
b/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm
index
6036acd
..
f7121e1
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm
+++ b/
lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm
@@
-326,7
+326,7
@@
sub _execute {
my ($rv, $sth, @bind) = $self->next::method(@_);
- $self->_identity( ($sth->fetchall_arrayref)[0][0] )
+ $self->_identity( ($sth->fetchall_arrayref)->[0][0] )
if $self->_perform_autoinc_retrieval;
return wantarray ? ($rv, $sth, @bind) : $rv;