[dev] uncatched errors in convert_datatree*_to_sql.php

Matt Selsky selsky at columbia.edu
Mon Oct 20 17:10:31 UTC 2008


On Oct 20, 2008, at 4:49 AM, Michael Menge wrote:

> 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?

Each application, please.  Thanks!


-- 
Matt


More information about the dev mailing list