[freeside-commits] freeside/install/rpm freeside-1.5.7.dbd-pg.patch, NONE, 1.1.2.1
Richard Siddall
rsiddall at wavetail.420.am
Wed Jun 27 11:28:39 PDT 2007
Update of /home/cvs/cvsroot/freeside/install/rpm
In directory wavetail:/tmp/cvs-serv3648
Added Files:
Tag: FREESIDE_1_5_BRANCH
freeside-1.5.7.dbd-pg.patch
Log Message:
Patches to Freeside 1.5.7 for successful use of older DBI::Pg
--- NEW FILE: freeside-1.5.7.dbd-pg.patch ---
diff -Naur freeside-1.5.7.orig/FS/FS/Record.pm freeside-1.5.7/FS/FS/Record.pm
--- freeside-1.5.7.orig/FS/FS/Record.pm 2005-05-04 05:20:34.000000000 -0400
+++ freeside-1.5.7/FS/FS/Record.pm 2005-07-26 14:10:31.000000000 -0400
@@ -337,9 +337,9 @@
if ( $record->{$field} =~ /^\d+(\.\d+)?$/
&& $dbdef->table($table)->column($field)->type =~ /(int|serial)/i
) {
- $sth->bind_param($bind++, $record->{$field}, { TYPE => SQL_INTEGER } );
+ $sth->bind_param($bind++, $record->{$field}, SQL_INTEGER );
} else {
- $sth->bind_param($bind++, $record->{$field}, { TYPE => SQL_VARCHAR } );
+ $sth->bind_param($bind++, $record->{$field}, SQL_VARCHAR );
}
}
More information about the freeside-commits
mailing list