~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/scheduler.cc

  • Committer: Lee Bieber
  • Date: 2011-01-25 17:15:03 UTC
  • mfrom: (1994.4.55 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2115.
  • Revision ID: kalebral@gmail.com-20110125171503-zyx91pfdyyw9lty5
Merge Marisa - 684803: Need to update Drizzledump documentation with migration conversions / caveats
Merge Marisa - 686641: Need to document removal of multi-table update/delete from Drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include <config.h>
 
20
#include "config.h"
21
21
 
22
22
#include <algorithm>
23
23
 
24
 
#include <drizzled/errmsg_print.h>
25
 
#include <drizzled/gettext.h>
26
 
#include <drizzled/plugin/scheduler.h>
 
24
#include "drizzled/plugin/scheduler.h"
 
25
 
 
26
#include "drizzled/gettext.h"
 
27
#include "drizzled/errmsg_print.h"
27
28
 
28
29
namespace drizzled
29
30
{
57
58
 
58
59
  if (iter != all_schedulers.end())
59
60
  {
60
 
    errmsg_printf(error::ERROR,
 
61
    errmsg_printf(ERRMSG_LVL_ERROR,
61
62
                  _("Attempted to register a scheduler %s, but a scheduler "
62
63
                    "has already been registered with that name.\n"),
63
64
                    sched->getName().c_str());
94
95
    return false;
95
96
  }
96
97
 
97
 
  errmsg_printf(error::WARN,
 
98
  errmsg_printf(ERRMSG_LVL_WARN,
98
99
                _("Attempted to configure %s as the scheduler, which did "
99
100
                  "not exist.\n"), name.c_str());
100
101
  return true;