projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c7f4648
)
What I really meant
Peter Rabbitson [Sun, 7 Mar 2010 00:18:46 +0000 (
00:18
+0000)]
lib/DBIx/Class/Storage/DBI/InterBase.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Storage/DBI/InterBase.pm
b/lib/DBIx/Class/Storage/DBI/InterBase.pm
index
2e5d706
..
8002b4a
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/InterBase.pm
+++ b/
lib/DBIx/Class/Storage/DBI/InterBase.pm
@@
-42,9
+42,7
@@
sub _prep_for_execute {
if ($op eq 'insert') {
$self->_auto_incs([]);
- my @pk = eval { local $@; $ident->_pri_cols };
- my %pk;
- @pk{@pk} = ();
+ @pk{$ident->primary_columns} = ();
my @auto_inc_cols = grep {
my $inserting = $args->[0]{$_};