~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item_timefunc.cc

  • Committer: Brian Aker
  • Date: 2008-07-22 18:31:32 UTC
  • Revision ID: brian@tangent.org-20080722183132-ne2ntl7g7mdf2eez
uint32 -> uin32_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
1766
1766
 
1767
1767
  decimals=0;
1768
1768
  CHARSET_INFO *cs= thd->variables.collation_connection;
1769
 
  uint32 repertoire= arg1->collation.repertoire;
 
1769
  uint32_t repertoire= arg1->collation.repertoire;
1770
1770
  if (!thd->variables.lc_time_names->is_ascii)
1771
1771
    repertoire|= MY_REPERTOIRE_EXTENDED;
1772
1772
  collation.set(cs, arg1->collation.derivation, repertoire);
2314
2314
{
2315
2315
  assert(fixed == 1);
2316
2316
  String *res;
2317
 
  uint32 length;
 
2317
  uint32_t length;
2318
2318
 
2319
2319
  if (!charset_conversion)
2320
2320
  {
2347
2347
  */
2348
2348
  if (cast_length >= 0)
2349
2349
  {
2350
 
    if (res->length() > (length= (uint32) res->charpos(cast_length)))
 
2350
    if (res->length() > (length= (uint32_t) res->charpos(cast_length)))
2351
2351
    {                                           // Safe even if const arg
2352
2352
      char char_type[40];
2353
2353
      snprintf(char_type, sizeof(char_type), "%s(%lu)",
2385
2385
 
2386
2386
void Item_char_typecast::fix_length_and_dec()
2387
2387
{
2388
 
  uint32 char_length;
 
2388
  uint32_t char_length;
2389
2389
  /* 
2390
2390
     We always force character set conversion if cast_cs
2391
2391
     is a multi-byte character set. It garantees that the