~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/protocol.h

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  THD    *thd;
34
34
  String *packet;
35
35
  String *convert;
36
 
  uint field_pos;
37
 
  uint field_count;
 
36
  uint32_t field_pos;
 
37
  uint32_t field_count;
38
38
  bool net_store_data(const unsigned char *from, size_t length);
39
39
  bool net_store_data(const unsigned char *from, size_t length,
40
40
                      const CHARSET_INFO * const fromcs, const CHARSET_INFO * const tocs);
47
47
  void init(THD* thd_arg);
48
48
 
49
49
  enum { SEND_NUM_ROWS= 1, SEND_DEFAULTS= 2, SEND_EOF= 4 };
50
 
  virtual bool send_fields(List<Item> *list, uint flags);
 
50
  virtual bool send_fields(List<Item> *list, uint32_t flags);
51
51
 
52
52
  bool store(I_List<i_string> *str_list);
53
53
  bool store(const char *from, const CHARSET_INFO * const cs);
128
128
  virtual enum enum_protocol_type type() { return PROTOCOL_TEXT; };
129
129
};
130
130
 
131
 
void send_warning(THD *thd, uint sql_errno, const char *err=0);
132
 
void net_send_error(THD *thd, uint sql_errno=0, const char *err=0);
 
131
void send_warning(THD *thd, uint32_t sql_errno, const char *err=0);
 
132
void net_send_error(THD *thd, uint32_t sql_errno=0, const char *err=0);
133
133
void net_end_statement(THD *thd);
134
134
unsigned char *net_store_data(unsigned char *to,const unsigned char *from, size_t length);
135
135
unsigned char *net_store_data(unsigned char *to,int32_t from);