Replace raw GWBUF pointers with mxs::Buffer
Now that the query queue is stored in an actual container, it is only logical to use mxs::Buffer instead of GWBUF as the stored type.
This commit is contained in:
@ -783,3 +783,8 @@ void gwbuf_hexdump(GWBUF* buffer, int log_level)
|
||||
|
||||
MXS_LOG_MESSAGE(log_level, "%.*s", n, ss.str().c_str());
|
||||
}
|
||||
|
||||
void gwbuf_hexdump(const mxs::Buffer& buffer, int log_level)
|
||||
{
|
||||
return gwbuf_hexdump(const_cast<mxs::Buffer&>(buffer).get(), log_level);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user