From: o_gangrel at hotmail dot com Operating system: Windows 98 PHP version: 5.0.0b1 (beta1) PHP Bug Type: SQLite related Bug description: The SQLite_open() truncate non SQLite Data Bases file
Description: ------------ I am using the configuration Apache/2.0.43 (Win32) PHP/5.0.0b1 with PHP as a module of Apache. Using the sqlite_open() if the file exists and this file is not a SQLite Data Base file it is opened normally, the querys always return normally with an empty result set. But when a table is created (I guess the other CREATE sql commands accepted by the SQLite) it truncates the file and change the file to a SQLite Data Base file. I found solutions to not hapen this erro, but this is not expected. And I'm sorry, I didn't tested the CVS version and other vertion of the Apache and SQLite module. -- Edit bug report at http://bugs.php.net/?id=25501&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25501&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25501&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25501&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25501&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25501&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25501&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25501&r=support Expected behavior: http://bugs.php.net/fix.php?id=25501&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25501&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25501&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25501&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25501&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25501&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25501&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25501&r=gnused
