30
30
static const unsigned int PACKET_BUFFER_EXTRA_ALLOC= 1024;
31
31
/* Declared non-static only because of the embedded library. */
32
32
void net_send_error_packet(THD *thd, uint sql_errno, const char *err);
33
void net_send_ok(THD *, uint, uint, ha_rows, ulonglong, const char *);
33
void net_send_ok(THD *, uint, uint, ha_rows, uint64_t, const char *);
34
34
void net_send_eof(THD *thd, uint server_status, uint total_warn_count);
35
35
static void write_eof_packet(THD *thd, NET *net,
36
36
uint server_status, uint total_warn_count);