~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item_strfunc.cc

  • Committer: Brian Aker
  • Date: 2008-07-23 00:11:39 UTC
  • Revision ID: brian@tangent.org-20080723001139-967ewfngqqotwb6e
Removed final uint dead types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2871
2871
 
2872
2872
static void set_clock_seq_str()
2873
2873
{
2874
 
  uint16 clock_seq= ((uint)(my_rnd(&uuid_rand)*16383)) | UUID_VARIANT;
 
2874
  uint16_t clock_seq= ((uint)(my_rnd(&uuid_rand)*16383)) | UUID_VARIANT;
2875
2875
  tohex(clock_seq_and_node_str+1, clock_seq, 4);
2876
2876
  nanoseq= 0;
2877
2877
}
2935
2935
  pthread_mutex_unlock(&LOCK_uuid_generator);
2936
2936
 
2937
2937
  uint32_t time_low=            (uint32_t) (tv & 0xFFFFFFFF);
2938
 
  uint16 time_mid=            (uint16) ((tv >> 32) & 0xFFFF);
2939
 
  uint16 time_hi_and_version= (uint16) ((tv >> 48) | UUID_VERSION);
 
2938
  uint16_t time_mid=            (uint16_t) ((tv >> 32) & 0xFFFF);
 
2939
  uint16_t time_hi_and_version= (uint16_t) ((tv >> 48) | UUID_VERSION);
2940
2940
 
2941
2941
  str->realloc(UUID_LENGTH+1);
2942
2942
  str->length(UUID_LENGTH);