~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_string.h

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
  }
83
83
  String(const char *str, const CHARSET_INFO * const cs)
84
84
  {
85
 
    Ptr=(char*) str; str_length=(uint) strlen(str); Alloced_length=0; alloced=0;
 
85
    Ptr=(char*) str; str_length=(uint32_t) strlen(str); Alloced_length=0; alloced=0;
86
86
    str_charset=cs;
87
87
  }
88
88
  String(const char *str,uint32_t len, const CHARSET_INFO * const cs)
102
102
    str_charset=str.str_charset;
103
103
  }
104
104
  static void *operator new(size_t size, MEM_ROOT *mem_root)
105
 
  { return (void*) alloc_root(mem_root, (uint) size); }
 
105
  { return (void*) alloc_root(mem_root, (uint32_t) size); }
106
106
  static void operator delete(void *, size_t)
107
107
  { TRASH(ptr_arg, size); }
108
108
  static void operator delete(void *, MEM_ROOT *)