~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Jay Pipes
  • Date: 2008-12-19 18:47:51 UTC
  • mfrom: (722 testable)
  • mto: This revision was merged to the branch mainline in revision 729.
  • Revision ID: jpipes@serialcoder-20081219184751-3jhydi2d0ibg0g10
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1206
1206
  pthread_mutex_unlock(&LOCK_thread_count);
1207
1207
 
1208
1208
  thread_info *session_info;
1209
 
  time_t now= time(0);
 
1209
  time_t now= time(NULL);
1210
1210
  while ((session_info=thread_infos.get()))
1211
1211
  {
1212
1212
    protocol->prepare_for_resend();
1236
1236
  Table *table= tables->table;
1237
1237
  const CHARSET_INFO * const cs= system_charset_info;
1238
1238
  char *user;
1239
 
  time_t now;
 
1239
  time_t now= time(NULL);
1240
1240
 
1241
 
  if ((now= time(0)) == (time_t)-1)
 
1241
  if (now == (time_t)-1)
1242
1242
    return 1;
1243
1243
 
1244
1244
  user= NULL;