~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/protocol.cc

  • Committer: Brian Aker
  • Date: 2008-07-24 01:17:13 UTC
  • mfrom: (202.1.18 codestyle)
  • Revision ID: brian@tangent.org-20080724011713-5jceruz4bd4oawaq
Merge Monty's work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
static const unsigned int PACKET_BUFFER_EXTRA_ALLOC= 1024;
31
31
/* Declared non-static only because of the embedded library. */
32
 
void net_send_error_packet(THD *thd, uint sql_errno, const char *err);
33
 
void net_send_ok(THD *, uint, uint, ha_rows, uint64_t, const char *);
34
 
void net_send_eof(THD *thd, uint server_status, uint total_warn_count);
 
32
static void net_send_error_packet(THD *thd, uint sql_errno, const char *err);
35
33
static void write_eof_packet(THD *thd, NET *net,
36
34
                             uint server_status, uint total_warn_count);
37
35
 
162
160
  @param message           Message to send to the client (Used by mysql_status)
163
161
*/
164
162
 
165
 
void
 
163
static void
166
164
net_send_ok(THD *thd,
167
165
            uint server_status, uint total_warn_count,
168
166
            ha_rows affected_rows, uint64_t id, const char *message)
226
224
                    like in send_fields().
227
225
*/    
228
226
 
229
 
void
 
227
static void
230
228
net_send_eof(THD *thd, uint server_status, uint total_warn_count)
231
229
{
232
230
  NET *net= &thd->net;