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

Function cli_safe_read

sql-common/client.c:369–374  ·  view source on GitHub ↗

Read a packet from server. Give error message if socket was down or packet is an error message @retval packet_error An error occurred during reading. Error message is set. @retval */

Source from the content-addressed store, hash-verified

367 @retval
368*/
369ulong
370cli_safe_read(MYSQL *mysql)
371{
372 ulong reallen = 0;
373 return cli_safe_read_reallen(mysql, &reallen);
374}
375
376ulong
377cli_safe_read_reallen(MYSQL *mysql, ulong* reallen)

Callers 14

dump_remote_log_entriesFunction · 0.85
cli_advanced_commandFunction · 0.85
flush_one_resultFunction · 0.85
opt_flush_ok_packetFunction · 0.85
cli_read_rowsFunction · 0.85
read_one_rowFunction · 0.85
run_plugin_authFunction · 0.85
client.cFile · 0.85
cli_read_query_resultFunction · 0.85
cli_read_prepare_resultFunction · 0.85
cli_unbuffered_fetchFunction · 0.85

Calls 1

cli_safe_read_reallenFunction · 0.85

Tested by

no test coverage detected