From: Glenn H. <thr...@us...> - 2006-02-18 04:19:16
|
Update of /cvsroot/mantisbt/mantisbt/core/adodb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4741/core/adodb Modified Files: Tag: BRANCH_1_0_0 adodb.inc.php Log Message: fix for 006722: Remaining mysqli_ install problems (ref. #0006672): mysqli_real_escape_string() expects parameter 1 to be link Index: adodb.inc.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/adodb/adodb.inc.php,v retrieving revision 1.5 retrieving revision 1.5.18.1 diff -u -d -r1.5 -r1.5.18.1 --- adodb.inc.php 12 Feb 2005 20:01:21 -0000 1.5 +++ adodb.inc.php 18 Feb 2006 04:19:00 -0000 1.5.18.1 @@ -3722,6 +3722,15 @@ } switch($drivername) { + case 'mysqlt': + case 'mysqli': + $drivername='mysql'; + break; + case 'postgres7': + case 'postgres8': + $drivername = 'postgres'; + break; + case 'firebird15': $drivername = 'firebird'; break; case 'oracle': $drivername = 'oci8'; break; case 'access': if ($perf) $drivername = ''; break; case 'db2' : break; |