Fix CDC error detection
The error detection assumed the buffer was null-terminated which was never guaranteed.
This commit is contained in:
@ -147,7 +147,7 @@ private:
|
||||
bool read_row(std::string& dest);
|
||||
void process_schema(json_t* json);
|
||||
SRow process_row(json_t*);
|
||||
bool is_error(const char* str);
|
||||
bool is_error();
|
||||
|
||||
// Lower-level functions
|
||||
int wait_for_event(short events);
|
||||
|
Reference in New Issue
Block a user