projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix updating multiple CLOB/BLOB columns on Oracle
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
Oracle
/
Generic.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm
b/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm
index
2b4ce75
..
695d432
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm
+++ b/
lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm
@@
-421,7
+421,7
@@
sub _dbi_attrs_for_bind {
for my $i (0 .. $#$attrs) {
if (keys %{$attrs->[$i]||{}} and my $col = $bind->[$i][0]{dbic_colname}) {
- $attrs->[$i]{ora_field} = $col;
+ $attrs->[$i] = { %{$attrs->[$i]}, ora_field => $col };
}
}