~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/protocol.h

  • Committer: Jay Pipes
  • Date: 2008-08-01 03:28:12 UTC
  • mto: (264.1.6 codestyle)
  • mto: This revision was merged to the branch mainline in revision 247.
  • Revision ID: jay@mysql.com-20080801032812-8gl0ukak1qcgfyyt
removed view_store_options() function - wasn't used anywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  uint field_count;
34
34
  bool net_store_data(const uchar *from, size_t length);
35
35
  bool net_store_data(const uchar *from, size_t length,
36
 
                      const CHARSET_INFO * const fromcs, const CHARSET_INFO * const tocs);
 
36
                      CHARSET_INFO *fromcs, CHARSET_INFO *tocs);
37
37
  bool store_string_aux(const char *from, size_t length,
38
 
                        const CHARSET_INFO * const fromcs, const CHARSET_INFO * const tocs);
 
38
                        CHARSET_INFO *fromcs, CHARSET_INFO *tocs);
39
39
public:
40
40
  Protocol() {}
41
41
  Protocol(THD *thd_arg) { init(thd_arg); }
46
46
  virtual bool send_fields(List<Item> *list, uint flags);
47
47
 
48
48
  bool store(I_List<i_string> *str_list);
49
 
  bool store(const char *from, const CHARSET_INFO * const cs);
 
49
  bool store(const char *from, CHARSET_INFO *cs);
50
50
  String *storage_packet() { return packet; }
51
51
  inline void free() { packet->free(); }
52
52
  virtual bool write();
76
76
  virtual bool store_long(int64_t from)=0;
77
77
  virtual bool store_int64_t(int64_t from, bool unsigned_flag)=0;
78
78
  virtual bool store_decimal(const my_decimal *)=0;
79
 
  virtual bool store(const char *from, size_t length, const CHARSET_INFO * const cs)=0;
 
79
  virtual bool store(const char *from, size_t length, CHARSET_INFO *cs)=0;
80
80
  virtual bool store(const char *from, size_t length, 
81
 
                     const CHARSET_INFO * const fromcs, const CHARSET_INFO * const tocs)=0;
 
81
                     CHARSET_INFO *fromcs, CHARSET_INFO *tocs)=0;
82
82
  virtual bool store(float from, uint32_t decimals, String *buffer)=0;
83
83
  virtual bool store(double from, uint32_t decimals, String *buffer)=0;
84
84
  virtual bool store(DRIZZLE_TIME *time)=0;
112
112
  virtual bool store_long(int64_t from);
113
113
  virtual bool store_int64_t(int64_t from, bool unsigned_flag);
114
114
  virtual bool store_decimal(const my_decimal *);
115
 
  virtual bool store(const char *from, size_t length, const CHARSET_INFO * const cs);
 
115
  virtual bool store(const char *from, size_t length, CHARSET_INFO *cs);
116
116
  virtual bool store(const char *from, size_t length,
117
 
                     const CHARSET_INFO * const fromcs,  const CHARSET_INFO * const tocs);
 
117
                     CHARSET_INFO *fromcs, CHARSET_INFO *tocs);
118
118
  virtual bool store(DRIZZLE_TIME *time);
119
119
  virtual bool store_date(DRIZZLE_TIME *time);
120
120
  virtual bool store_time(DRIZZLE_TIME *time);