Skip to content

skip COM_STMT_PREPARE in MySQL when statement_cache_capacity=0#4249

Closed
swwu wants to merge 1 commit intolaunchbadge:mainfrom
scanner-inc:swwu/no-pq
Closed

skip COM_STMT_PREPARE in MySQL when statement_cache_capacity=0#4249
swwu wants to merge 1 commit intolaunchbadge:mainfrom
scanner-inc:swwu/no-pq

Conversation

@swwu
Copy link
Copy Markdown

@swwu swwu commented Apr 25, 2026

No description provided.

When the prepared-statement cache is disabled, interpolate bind values
client-side via mysql_common's as_sql and send a plain COM_QUERY, instead
of preparing/executing/closing on every call.
@swwu
Copy link
Copy Markdown
Author

swwu commented Apr 25, 2026

woops, misclicked. meant to do this in a fork

@swwu swwu closed this Apr 25, 2026
@swwu swwu deleted the swwu/no-pq branch April 25, 2026 08:29
@swwu swwu restored the swwu/no-pq branch April 25, 2026 08:32
@swwu swwu changed the title Vendored: skip COM_STMT_PREPARE in MySQL when statement_cache_capacity=0 skip COM_STMT_PREPARE in MySQL when statement_cache_capacity=0 Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant