Session_cookie's _update_db not guaranteed to update. #2086

Closed
dionysiosarvanitis opened this Issue Dec 19, 2012 · 2 comments

2 participants

@dionysiosarvanitis

In case of something goes wrong during a database action and DB_driver's display_error() gets called, the query_builder doesn't get cleared causing a conflict with the subsequent update of the register_shutdown_function _update_db(). For example, with some data in a order_by clause.

Shouldn't we reset the $db before display_error()?

@narfbg

Sounds good, care to make a pull request?

@dionysiosarvanitis

Take a look on pull #2267.

@narfbg narfbg closed this Feb 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment