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

Function has_unread_data

sql/threadpool_common.cc:389–394  ·  view source on GitHub ↗

Check if some client data is cached in thd->net or thd->net.vio */

Source from the content-addressed store, hash-verified

387
388/** Check if some client data is cached in thd->net or thd->net.vio */
389static bool has_unread_data(THD* thd)
390{
391 NET *net= &thd->net;
392 Vio *vio= net->vio;
393 return vio->has_data(vio) || has_unread_compressed_data(net);
394}
395
396
397/**

Callers 1

Calls 1

Tested by

no test coverage detected