![]() |
Home | Libraries | People | FAQ | More |
Closes a statement, deallocating it from the server.
void close_statement( const statement& stmt, error_code& err, diagnostics& diag);
After this operation succeeds, stmt
must not be used again for execution.
This function is currently affected by a peformance issue described in
https://github.com/boostorg/mysql/issues/181.
Consider using reset_connection
or async_reset_connection
instead.
stmt.valid() == true