1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

fix(logging): Add setddldebuglevel command (#3312) (#3344)

This commit is contained in:
Denis Khalikov
2024-11-10 00:38:19 +03:00
committed by GitHub
parent 11136b3545
commit 4cba8301d5
10 changed files with 345 additions and 138 deletions

View File

@ -429,6 +429,21 @@ int DropTableStatement::serialize(ByteStream& bytestream)
return ret;
}
/** @brief Construct from Bytestream */
int DebugDDLStatement::unserialize(ByteStream& bytestream)
{
bytestream >> fDebugLevel;
return 1;
}
/** @brief Serialize to ByteStream */
int DebugDDLStatement::serialize(ByteStream& bytestream)
{
bytestream << (quadbyte)DDL_DEBUG_STATEMENT;
bytestream << fDebugLevel;
return 1;
}
///////////////////////////////////////
/// TruncTableStatement Serialization
///////////////////////////////////////