MySQL Forums
Forum List  »  General

Re: Query using new schema but prepared statement using old schema
Posted by: Peter Brawley
Date: October 26, 2020 09:23AM

Using 8.0.22?

"Important Change: A prepared statement is now prepared only once, when executing PREPARE, rather than once each time it is executed. In addition, a statement inside a stored procedure is also now prepared only once, when the stored procedure is first executed. This change enhances performance of such statements, since it avoids the added cost of repeated preparation and rollback of preparation structures, the latter being the source of several bugs." -- https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-22.html

Options: ReplyQuote




Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.