Bug #1675: Wrong value returned
| From: | tite at mrbit dot es | Date: | Wed, 07 Jul 1999 09:20:44 +0000 |
| Subject: | Bug #1675: Wrong value returned | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8154@lists.php.net to get a copy of this message | ||
From: tite@mrbit.es
Operating system: Linux - SuSe 5.3
PHP version: 3.0.9
PHP Bug Type: MySQL related
Bug description: Wrong value returned
in my php code i have:
echo "<B>Numero de Base de Datos</B> :
".mysql_list_dbs($sql)."<BR>"; # ERROR
echo "<B>Numero de Tablas en ifrprueba</B> :
".mysql_list_tables("ifrprueba",$sql)."<BR>"; #ERROR
ifrprueba is a database that exists. The result of these funcions are:
Numero de Base de Datos : 5
Numero de Tablas en ifrprueba : 6
The point is that there are not 5 Databases, but 3. And there are not 6 tables in that database but
1.
bbs:/usr/local/bin # ./mysqlshow -u ifr -p
Enter password:
+-----------+
| Databases |
+-----------+
| ifrprueba |
| mysql |
| test |
+-----------+
bbs:/usr/local/bin # ./mysqlshow -u ifr -p ifrprueba
Enter password:
Database: ifrprueba
+--------+
| Tables |
+--------+
| test |
+--------+
Thank You.
Josafat Moragrega