projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix RETURNING for empty INSERT
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
InterBase.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/InterBase.pm
b/lib/DBIx/Class/Storage/DBI/InterBase.pm
index
8002b4a
..
a416fa7
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/InterBase.pm
+++ b/
lib/DBIx/Class/Storage/DBI/InterBase.pm
@@
-42,6
+42,7
@@
sub _prep_for_execute {
if ($op eq 'insert') {
$self->_auto_incs([]);
+ my %pk;
@pk{$ident->primary_columns} = ();
my @auto_inc_cols = grep {