[dev] uncatched errors in convert_datatree*_to_sql.php
Michael Menge
michael.menge at zdv.uni-tuebingen.de
Mon Oct 20 08:49:22 UTC 2008
Hi,
while upgrading from datatree to the new sql_driver i hit an bug in
MDB2_pgsql. See http://pear.php.net/bugs/bug.php?id=10986 and
http://pear.php.net/bugs/bug.php?id=11625 . This is only fixed in the
beta release
The bug caused the prepare statement to fail at random places and the
script to fail at the next execute statement with an fatal error as
the error in prepare was not catched.
I changed the scripts to catche these errors on insert and delete
statements, and used transactions that would rollback in case of
errors, so that i could rerun the script, though it still can exit
with an fatal error on the select statements.
Should i open an feature request for each application or should i send only
one patch and you port it to all appications?
Regards
Michael Menge
--------------------------------------------------------------------------------
M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung mail:
michael.menge at zdv.uni-tuebingen.de
Waechterstrasse 76
72074 Tuebingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5339 bytes
Desc: S/MIME krytographische Unterschrift
URL: <http://lists.horde.org/archives/dev/attachments/20081020/4555c7ba/attachment.bin>
More information about the dev
mailing list