Re: [phplib-dev] php_odbc.c modification request From: Kirill Maximov (kir <email protected>)
Date: 06/28/00

> 林李峰 wrote:
>
> 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:

  Looks like you've send your message to the wrong mailing list.
  Use php-dev <email protected> instead.

>
> #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,
> &params[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,
>
>

-- 
-----  -----  -----  -----  -----  -----  -----  -----
Kirill Maximov                     maximov <email protected>  
Astrive, Inc.                   http://www.astrive.com

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected> For additional commands, e-mail: phplib-dev-help <email protected>