diff options
author | ariel- <ariel-@users.noreply.github.com> | 2017-03-01 22:20:53 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-01 22:20:53 -0300 |
commit | affee140c6a8e1e9358be2aa0d0088ede218acaa (patch) | |
tree | 8725f6ac5a57566bde03465176d01cb00cdb72e0 /cmake/stack_direction.c | |
parent | 7567cafec84080d26ea513242a1f540a823b8f9d (diff) |
Core/Database: Prepared statement parameter preallocation (#18999)
- Pass prepared statement size to the helper class to prevent runtime resizing.
- Rename CheckValidIndex -> AssertValidIndex
- Cached prepared size on the worker pool as it's shared among all connections
- Cached query data only for each connection, done lookup in map instead of possibly creating a new element
- Kill the prepared statement map, and store raw sql string on the MySQLPreparedStatement class
(This info is only used for logging, and there is no need of keeping a second container just for it)
Diffstat (limited to 'cmake/stack_direction.c')
0 files changed, 0 insertions, 0 deletions