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

feat(bytestream,serdes): Distribute BS buf size data type change to avoid implicit data type narrowing

This commit is contained in:
drrtuy
2024-08-27 16:35:14 +00:00
committed by Leonid Fedorov
parent a947f7341c
commit 6f6e69815d
17 changed files with 88 additions and 88 deletions

View File

@ -16,6 +16,7 @@
MA 02110-1301, USA. */
#include "SocketPool.h"
#include "bytestream.h"
#include "configcpp.h"
#include "logger.h"
#include "messageFormat.h"
@ -87,8 +88,8 @@ SocketPool::~SocketPool()
int SocketPool::send_recv(messageqcpp::ByteStream& in, messageqcpp::ByteStream* out)
{
uint count = 0;
uint length = in.length();
messageqcpp::BSSizeType count = 0;
messageqcpp::BSSizeType length = in.length();
int sock = -1;
const uint8_t* inbuf = in.buf();
ssize_t err = 0;