projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Disable ODBC batch ops for Access, they are broken
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
ODBC
/
ACCESS.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/ODBC/ACCESS.pm
b/lib/DBIx/Class/Storage/DBI/ODBC/ACCESS.pm
index
2a0624f
..
f2bbb64
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/ODBC/ACCESS.pm
+++ b/
lib/DBIx/Class/Storage/DBI/ODBC/ACCESS.pm
@@
-65,6
+65,9
@@
sub _run_connection_actions {
$self->_dbh->{LongReadLen} = $long_read_len * 2 + 1;
}
+ # batch operations do not work
+ $self->_get_dbh->{odbc_disable_array_operations} = 1;
+
return $self->next::method(@_);
}