Re: Re: Quote "draft"
| From: | yavo | Date: | Sat, 14 Jul 2001 08:58:00 +0000 |
| Subject: | Re: Re: Quote "draft" | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-738@lists.php.net to get a copy of this message | ||
> 2) Send the patch you made to the list to be included :) (I'm doing
> something similar for the PostgreSQL extension).
The change goes like
in executeEmulatedQuery DB/common.php
line 328
switch(gettype($pdata)){
case "integer":
$realquery .= $this->quoteString($pdata);
break;
default:
$realquery .= "'" . $this->quoteString($pdata) .
"'";
break;
}
It doesn't really make much sence in the way it's written now.