| 634 | |
| 635 | |
| 636 | bool Protocol::flush() |
| 637 | { |
| 638 | #ifndef EMBEDDED_LIBRARY |
| 639 | bool error; |
| 640 | thd->get_stmt_da()->set_overwrite_status(true); |
| 641 | error= net_flush(&thd->net); |
| 642 | thd->get_stmt_da()->set_overwrite_status(false); |
| 643 | return error; |
| 644 | #else |
| 645 | return 0; |
| 646 | #endif |
| 647 | } |
| 648 | |
| 649 | #ifndef EMBEDDED_LIBRARY |
| 650 |
nothing calls this directly
no test coverage detected