#36910 [NEW]: Cannot retrieve a newly inserted record after calling ibase_commit
| From: | arnoldvmartinez at yahoo dot com | Date: | Wed, 29 Mar 2006 10:51:52 +0000 |
| Subject: | #36910 [NEW]: Cannot retrieve a newly inserted record after calling ibase_commit | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-95056@lists.php.net to get a copy of this message | ||
From: arnoldvmartinez at yahoo dot com
Operating system: Windows 2003
PHP version: 5.1.2
PHP Bug Type: InterBase related
Bug description: Cannot retrieve a newly inserted record after calling ibase_commit
Description:
------------
First, I run a SELECT command to retrieve records from a table. Then, I
initiated an ibase_trans, inserted a record, and called ibase_commit.
Next, I run another SELECT statement but I noticed that the newly-inserted
record is not being returned. When I checked the database, however, the
record is indeed added in the table.
On the other hand, if i don't run the first SELECT request and
initiated an ibase_trans, inserted a record and called ibase_commit, then
the newly-created record is returned when I do a SELECT request. It seems
like Firebird retrieves from its cache eventhough a transaction has just
been committed.
--
Edit bug report at http://bugs.php.net/?id=36910&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36910&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36910&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36910&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36910&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36910&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36910&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36910&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36910&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36910&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36910&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36910&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36910&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36910&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36910&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36910&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36910&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36910&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36910&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36910&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36910&r=mysqlcfg