summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5edf279)
other problems. please leave as is. DBD::Pg needs to be fixed. 1.31 is a
lost cause.
if ( $record->{$field} =~ /^\d+(\.\d+)?$/
&& $dbdef->table($table)->column($field)->type =~ /(int|serial)/i
) {
if ( $record->{$field} =~ /^\d+(\.\d+)?$/
&& $dbdef->table($table)->column($field)->type =~ /(int|serial)/i
) {
- $sth->bind_param($bind++, $record->{$field}, SQL_INTEGER);
+ $sth->bind_param($bind++, $record->{$field}, { TYPE => SQL_INTEGER } );
- $sth->bind_param($bind++, $record->{$field}, SQL_VARCHAR);
+ $sth->bind_param($bind++, $record->{$field}, { TYPE => SQL_VARCHAR } );