Bug #15437: using querries on a database type SELECT * FROM [$tablename] crashes PHP
| From: | loginx at linkadmin dot org | Date: | Thu, 07 Feb 2002 21:38:36 +0000 |
| Subject: | Bug #15437: using querries on a database type SELECT * FROM [$tablename] crashes PHP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-79583@lists.php.net to get a copy of this message | ||
From: loginx@linkadmin.org
Operating system: Windows 2000
PHP version: 4.1.1
PHP Bug Type: Reproducible crash
Bug description: using querries on a database type SELECT * FROM [$tablename] crashes PHP
Using the latest PHP version on a Windows 2000 box,
I have been able to connect to the MS SQL server 2000
(v7.0) and select the right database, on another script,
I am able to write data into the database with no problem
with an INSERT statement, however, the SELECT statement
doesn't return a value causing the script to time out,
therefore, I applied the method of using square braquets
around the table name, which causes every single
time I execute this script a crash from PHP.exe
Xavier Spriet.
--
Edit bug report at http://bugs.php.net/?id=15437&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15437&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15437&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15437&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15437&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15437&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15437&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15437&r=notenoughinfo