~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_string.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:
37
37
String *copy_if_not_alloced(String *a,String *b,uint32_t arg_length);
38
38
uint32_t copy_and_convert(char *to, uint32_t to_length, const CHARSET_INFO * const to_cs,
39
39
                        const char *from, uint32_t from_length,
40
 
                        const CHARSET_INFO * const from_cs, uint *errors);
 
40
                        const CHARSET_INFO * const from_cs, uint32_t *errors);
41
41
uint32_t well_formed_copy_nchars(const CHARSET_INFO * const to_cs,
42
 
                               char *to, uint to_length,
 
42
                               char *to, uint32_t to_length,
43
43
                               const CHARSET_INFO * const from_cs,
44
 
                               const char *from, uint from_length,
45
 
                               uint nchars,
 
44
                               const char *from, uint32_t from_length,
 
45
                               uint32_t nchars,
46
46
                               const char **well_formed_error_pos,
47
47
                               const char **cannot_convert_error_pos,
48
48
                               const char **from_end_pos);
167
167
  { return set_int(num, false, cs); }
168
168
  bool set(uint64_t num, const CHARSET_INFO * const cs)
169
169
  { return set_int((int64_t)num, true, cs); }
170
 
  bool set_real(double num,uint decimals, const CHARSET_INFO * const cs);
 
170
  bool set_real(double num,uint32_t decimals, const CHARSET_INFO * const cs);
171
171
 
172
172
  /*
173
173
    PMG 2004.11.12
259
259
                    const CHARSET_INFO * const cs);
260
260
  bool set_or_copy_aligned(const char *s, uint32_t arg_length, const CHARSET_INFO * const cs);
261
261
  bool copy(const char*s,uint32_t arg_length, const CHARSET_INFO * const csfrom,
262
 
            const CHARSET_INFO * const csto, uint *errors);
 
262
            const CHARSET_INFO * const csto, uint32_t *errors);
263
263
  bool append(const String &s);
264
264
  bool append(const char *s);
265
265
  bool append(const char *s,uint32_t arg_length);
342
342
     str_length++;
343
343
  }
344
344
  void qs_append(int i);
345
 
  void qs_append(uint i);
 
345
  void qs_append(uint32_t i);
346
346
 
347
347
  /* Inline (general) functions used by the protocol functions */
348
348