~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/protocol.cc

  • Committer: Brian Aker
  • Date: 2008-07-13 22:21:51 UTC
  • Revision ID: brian@tangent.org-20080713222151-fv2tcpbsc829j2oc
Ulonglong to uint64_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
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);
165
165
void
166
166
net_send_ok(THD *thd,
167
167
            uint server_status, uint total_warn_count,
168
 
            ha_rows affected_rows, ulonglong id, const char *message)
 
168
            ha_rows affected_rows, uint64_t id, const char *message)
169
169
{
170
170
  NET *net= &thd->net;
171
171
  uchar buff[MYSQL_ERRMSG_SIZE+10],*pos;
315
315
  uint is used as agrument type because of MySQL type conventions:
316
316
  - uint for 0..65536
317
317
  - ulong for 0..4294967296
318
 
  - ulonglong for bigger numbers.
 
318
  - uint64_t for bigger numbers.
319
319
*/
320
320
 
321
321
static uchar *net_store_length_fast(uchar *packet, uint length)