one of our production machines:
2009-03-24 02:26:10 INFO (6): [1107] #0
/path/to/Zend/Db/Statement.php(109):
Zend_Db_Statement_Mysqli->_prepare('SELECT * FROM p...')
2009-03-24 02:26:10 INFO (6): [1107] Mysqli prepare error: Unknown
prepared statement handler (2) given to mysql_stmt_close
I've done some googling and haven't found where this problem occurs with
the Zend Framework. To compound matters, I can't seem to figure out how
to recreate it.
I was wondering if anyone knew whether this was a problem in the Zend_DB
implementation, something that needs to be solved in our code, or
something that needs to be tweaked on the DB side of things.
Based on some poking around, my guess is that one connection is being
used to prepare the statement, but another is trying to be used to
execute it. I'm not sure if this is expected behavior, or indicates a
problem somewhere. Could an error in our code cause the DB adapter to
close a connection and be forced to use either a new one or one from the
pool?
Any help would be greatly appreciated.
kabel
没有评论:
发表评论