MCPcopy Create free account
hub / github.com/MariaDB/server / response_buf_remove

Method response_buf_remove

plugin/handler_socket/libhsclient/hstcpcli.cpp:419–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419void
420hstcpcli::response_buf_remove()
421{
422 if (response_end_offset == 0) {
423 close();
424 set_error(-1, "response_buf_remove: protocol out of sync");
425 return;
426 }
427 readbuf.erase_front(response_end_offset);
428 response_end_offset = 0;
429 --num_req_rcvd;
430 cur_row_offset = 0;
431 num_flds = 0;
432 flds.clear();
433}
434
435hstcpcli_ptr
436hstcpcli_i::create(const socket_args& args)

Callers 8

hstcpcli_mainFunction · 0.80
runMethod · 0.80
op_insertMethod · 0.80
op_deleteMethod · 0.80
op_updateMethod · 0.80
op_readMethod · 0.80
op_readnolockMethod · 0.80
test_11Method · 0.80

Calls 2

erase_frontMethod · 0.80
clearMethod · 0.45

Tested by 1

test_11Method · 0.64