~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/scheduler.cc

  • Committer: Patrick Crews
  • Date: 2010-12-07 20:02:50 UTC
  • Revision ID: gleebix@gmail.com-20101207200250-6a27jgqalgw5bsb5
Added disabled.def file to disable drizzleslap due to Bug#684269.  Need to skip for tarball release this round

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
58
58
 
59
59
  if (iter != all_schedulers.end())
60
60
  {
61
 
    errmsg_printf(error::ERROR,
 
61
    errmsg_printf(ERRMSG_LVL_ERROR,
62
62
                  _("Attempted to register a scheduler %s, but a scheduler "
63
63
                    "has already been registered with that name.\n"),
64
64
                    sched->getName().c_str());
95
95
    return false;
96
96
  }
97
97
 
98
 
  errmsg_printf(error::WARN,
 
98
  errmsg_printf(ERRMSG_LVL_WARN,
99
99
                _("Attempted to configure %s as the scheduler, which did "
100
100
                  "not exist.\n"), name.c_str());
101
101
  return true;