[phplib-commit] CVS: php-lib-stable/php ct_sql.inc,1.6,1.7
Brought to you by:
nhruby,
richardarcher
From: Richard A. <ric...@us...> - 2006-03-14 22:16:30
|
Update of /cvsroot/phplib/php-lib-stable/php In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28399 Modified Files: ct_sql.inc Log Message: Bug #1449829 - Incompatibility with Postgres. Thanks to Carlos Tineo. Index: ct_sql.inc =================================================================== RCS file: /cvsroot/phplib/php-lib-stable/php/ct_sql.inc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ct_sql.inc 19 Feb 2005 15:19:35 -0000 1.6 --- ct_sql.inc 14 Mar 2006 22:16:18 -0000 1.7 *************** *** 81,85 **** $id, $name); ! $squery = sprintf("select count(sid) count from %s where val='%s' and changed='%s' and sid='%s' and name='%s'", $this->database_table, $str, --- 81,85 ---- $id, $name); ! $squery = sprintf("select count(sid) as count from %s where val='%s' and changed='%s' and sid='%s' and name='%s'", $this->database_table, $str, |