Check if some client data is cached in thd->net or thd->net.vio */
| 387 | |
| 388 | /** Check if some client data is cached in thd->net or thd->net.vio */ |
| 389 | static 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 | /** |
no test coverage detected