You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-27 16:01:57 +03:00
Change posixtask::read to return int instead of bool and handle when data read is short of expected message length.
This commit is contained in:
@@ -41,7 +41,7 @@ class PosixTask
|
||||
void primeBuffer();
|
||||
|
||||
protected:
|
||||
bool read(uint8_t *buf, uint length);
|
||||
int read(uint8_t *buf, uint length);
|
||||
bool write(const std::vector<uint8_t> &buf);
|
||||
bool write(sm_response &resp, uint payloadLength);
|
||||
bool write(const uint8_t *buf, uint length);
|
||||
|
Reference in New Issue
Block a user