[Phplib-commit] CVS: php-lib/php/db/mysql db_sql.inc,1.7,1.8
Brought to you by:
nhruby,
richardarcher
From: Richard A. <ric...@us...> - 2001-08-21 02:20:56
|
Update of /cvsroot/phplib/php-lib/php/db/mysql In directory usw-pr-cvs1:/tmp/cvs-serv20417 Modified Files: db_sql.inc Log Message: Fix a bug I just made! Index: db_sql.inc =================================================================== RCS file: /cvsroot/phplib/php-lib/php/db/mysql/db_sql.inc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_sql.inc 2001/08/21 02:02:43 1.7 --- db_sql.inc 2001/08/21 02:20:52 1.8 *************** *** 393,397 **** $h = @mysql_query("show tables", $this->Link_ID); $i = 0; ! while ($info = @mysql_fetch_row($this->Query_ID)) { $return[$i]["table_name"] = $info[0]; $return[$i]["tablespace_name"] = $this->Database; --- 393,397 ---- $h = @mysql_query("show tables", $this->Link_ID); $i = 0; ! while ($info = @mysql_fetch_row($h)) { $return[$i]["table_name"] = $info[0]; $return[$i]["tablespace_name"] = $this->Database; |