~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log.cc

  • Committer: Monty Taylor
  • Date: 2008-12-17 18:23:08 UTC
  • mfrom: (685.3.3 mysys-slimdown)
  • mto: This revision was merged to the branch mainline in revision 713.
  • Revision ID: monty@inaugust.com-20081217182308-bcuztplharskm9yh
MergedĀ fromĀ Toru.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1939
1939
    new_file_without_locking();
1940
1940
    if (expire_logs_days)
1941
1941
    {
1942
 
      time_t purge_time= my_time(0) - expire_logs_days*24*60*60;
 
1942
      time_t purge_time= time(0) - expire_logs_days*24*60*60;
1943
1943
      if (purge_time >= 0)
1944
1944
        purge_logs_before_date(purge_time);
1945
1945
    }