Repeated Delete Fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
I2CE |
Fix Committed
|
High
|
Luke Duncan |
Bug Description
Repeated deletion of forms fails due to too many prepared statements. See for example the following error code from the 4.0 series
I2CE: I2CE->pearError (/Users/
I2CE_FormStorag
I2CE_FormStorag
call_user_
I2CE_Fuzzy->__call (/Users/
iHRIS_PersonID-
Invalid delete form statement from record::
MDB2 Error: unknown error
_doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE MDB2_STATEMENT_
[Native code: 1461]
[Native message: Can't create more than max_prepared_
I've fixed this by adding reusable prepared statements for the delete method. This has been fixed in 4.1-dev revision 3049. Does this need to be back ported to 4.0?