Re: minor bug in DB

From: Date: Sat, 17 Aug 2002 18:51:23 +0000
Subject: Re: minor bug in DB
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-8473@lists.php.net to get a copy of this message
It should work fine for previous versions since it checks to see if the new function exists, and uses it only if it does. -- KS Arnaud Limbourg wrote:
is it compatible with < 4.3.0 ?
The MySQL backend of DB uses mysql_escape_string() to escape special characters. This function is deprecated in 4.3.0-dev in favor of mysql_real_escape_string and prints a notice. The following patch fixes the problem. I don't know if this is the right way and the 'PEAR-way' to fix this, so I'm posting it here instead of committing it.


« previous php.pear.dev (#8473) next »