2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-16 13:32:15 +00:00

Added cursor/fetch support to prepared statements

This commit is contained in:
ruben
2019-08-28 08:02:12 +01:00
parent caaa4e5764
commit 20f00e4c0e
6 changed files with 70 additions and 17 deletions

View File

@@ -210,6 +210,13 @@ std::pair<mysql::FieldType, bool> mysql::compute_field_type(const BinaryValue& v
}, v);
}
void mysql::serialize(DynamicBuffer& buffer, const StmtFetch& value)
{
serialize(buffer, Command::COM_STMT_FETCH);
serialize(buffer, value.statement_id);
serialize(buffer, value.rows_to_fetch);
}
// Text serialization
std::ostream& mysql::operator<<(std::ostream& os, const Handshake& value)
{