~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/debug/module.cc

  • Committer: Brian Aker
  • Date: 2010-12-30 16:49:02 UTC
  • mfrom: (2040.2.3 clean)
  • Revision ID: brian@tangent.org-20101230164902-gi4cs3vxdunyds54
Rollup of assert(), etc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    unsigned_flag= true;
57
57
  }
58
58
 
59
 
  const char *func_name() const { return "assert"; }
60
 
  const char *fully_qualified_func_name() const { return "assert()"; }
 
59
  const char *func_name() const { return "assert_and_crash"; }
 
60
  const char *fully_qualified_func_name() const { return "assert_and_crash()"; }
61
61
 
62
62
  bool val_bool()
63
63
  {
137
137
 
138
138
static int initialize(drizzled::module::Context &context)
139
139
{
140
 
  context.add(new drizzled::plugin::Create_function<debug::Assert>("assert"));
 
140
  context.add(new drizzled::plugin::Create_function<debug::Assert>("assert_and_crash"));
141
141
  context.add(new drizzled::plugin::Create_function<debug::Backtrace>("backtrace"));
142
142
  context.add(new drizzled::plugin::Create_function<debug::Crash>("crash"));
143
143