Date: 06/27/00
- Next message: GAUDE François BRX/FTLD: "[phplib] How to d/l the current CVS version of PHPLIB ?"
- Previous message: Florent Berenger: "Re: [phplib] page.inc/auth.inc interaction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Due to some specific ODBC function of our database driver,
a modification has to be made in php_odbc.c:
For CVS of php_odbc.c (1.56 Sat Jun 24 15:31:09 2000 UTC ),
on line 862, please add the following line:
#ifdef HAVE_DBMAKER
precision = params[i-1].vallen;
#endif
Patch is as follows:
--- php_odbc.c Tue Jun 27 12:12:20 2000
+++ php_odbc.c.new Tue Jun 27 12:12:28 2000
@@ -859,6 +859,10 @@
(void *)params[i-1].fp, 0,
¶ms[i-1].vallen);
} else {
+#ifdef HAVE_DBMAKER
+ precision = params[i-1].vallen;
+#endif
+
rc = SQLBindParameter(result->stmt, (UWORD)i, SQL_PARAM_INPUT,
ctype, sqltype, precision, scale,
(*tmp)->value.str.val, 0,
- Next message: GAUDE François BRX/FTLD: "[phplib] How to d/l the current CVS version of PHPLIB ?"
- Previous message: Florent Berenger: "Re: [phplib] page.inc/auth.inc interaction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

