Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is MySQLdb support Prepared Statements ? #17

Closed
lexdene opened this issue Jun 3, 2013 · 3 comments
Closed

Is MySQLdb support Prepared Statements ? #17

lexdene opened this issue Jun 3, 2013 · 3 comments
Assignees
Milestone

Comments

@lexdene
Copy link

lexdene commented Jun 3, 2013

A prepared statement is used to execute the same statement repeatedly with high efficiency and safety .
The prepared statement execution consists of two stages: prepare and execute. At the prepare stage a statement template is send to the database server. The server performs a syntax check and initializes server internal resources for later use.

Is MySQLdb support Prepared Statements ?

@farcepest
Copy link
Owner

Prior to MySQL-5.1, prepared statements did not make use of MySQL query cache, so they weren't worth adding. Since this is changed, it might be worth another look.

@ghost ghost assigned farcepest Nov 21, 2013
@farcepest
Copy link
Owner

Will look again for 1.3

@lexdene
Copy link
Author

lexdene commented Nov 22, 2013

That's good !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants