~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_query/logging_query.cc

  • Committer: Monty Taylor
  • Date: 2010-10-30 20:52:53 UTC
  • mto: This revision was merged to the branch mainline in revision 1896.
  • Revision ID: mordred@inaugust.com-20101030205253-zv8v802wv43tvfba
Fixes most of the lintian warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
314
314
    if (sysvar_logging_query_threshold_slow > UINT32_MAX)
315
315
    {
316
316
      errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for threshold-slow"));
317
 
      exit(-1);
 
317
      return 1;
318
318
    }
319
319
  }
320
320
 
323
323
    if (sysvar_logging_query_threshold_big_resultset > UINT32_MAX)
324
324
    {
325
325
      errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for threshold-big-resultset"));
326
 
      exit(-1);
 
326
      return 1;
327
327
    }
328
328
  }
329
329
 
332
332
    if (sysvar_logging_query_threshold_big_examined > UINT32_MAX)
333
333
    {
334
334
      errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for threshold-big-examined"));
335
 
      exit(-1);
 
335
      return 1;
336
336
    }
337
337
  }
338
338
  handler= new Logging_query();