|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-23 21:28 UTC] abies@php.net
[2005-02-24 09:10 UTC] sandell at slobtrot dot com
[2005-02-24 10:12 UTC] abies@php.net
[2005-02-24 10:20 UTC] sandell at winwap dot com
[2005-02-28 21:22 UTC] sniper@php.net
[2005-03-01 09:01 UTC] sandell at winwap dot com
[2007-10-23 17:21 UTC] Lars dot Westermann at privat dot dk
[2007-11-08 19:48 UTC] lwe@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 06:00:01 2025 UTC |
Description: ------------ When inserting a -1 into a TIMESTAMP field in an interbase 7 database Apache crashes. When looking at the "More info" in the WinXP crash dialog it shows that it was mod "php_interbase.dll" that caused the crash. System setup: Windows XP Pro, SP2 Apache/2.0.50 (Win32) (Win32 bin files downloaded) PHP/5.0.2, extension INTERBASE used in php.ini Interbase 7 (WI-V7.1.0.131), TCP/IP connection (Localhost) No Zend optimizer Note: If a value of 0 (zero) is given in the statement, then all works as expected. Reproduce code: --------------- 1) Create the table "testtable" in a database with one field named "DTField" of type TIMESTAMP. 2) Execute the following code: // Crash Code $db = ibase_connect('','','','None',0,3); $sql = "INSERT INTO TestTable (DTField) VALUES (?)"; $sth = ibase_query($db_intra, $sql, -1); ibase_commit($db); Expected result: ---------------- The table should have a new entry Actual result: -------------- Apache crashes (php_interbase.dll)