~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_strfunc.cc

  • Committer: Brian Aker
  • Date: 2008-08-01 19:38:01 UTC
  • Revision ID: brian@tangent.org-20080801193801-ybcgw5ciozzzyyld
Cleanup around rand.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2685
2685
  pthread_mutex_lock(&LOCK_uuid_generator);
2686
2686
  if (! uuid_time) /* first UUID() call. initializing data */
2687
2687
  {
2688
 
    ulong tmp=sql_rnd_with_mutex();
 
2688
    ulong tmp= sql_rnd();
2689
2689
    uchar mac[6];
2690
2690
    int i;
2691
2691
    if (my_gethwaddr(mac))