~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Monty Taylor
  • Date: 2010-12-22 06:53:38 UTC
  • mto: (2053.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2054.
  • Revision ID: mordred@inaugust.com-20101222065338-ek2nwm6ctq20d8np
Added an abort macro and an abort_exception.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#define DRIZZLE_LEX 1
19
19
 
 
20
#include "drizzled/abort_exception.h"
20
21
#include <drizzled/my_hash.h>
21
22
#include <drizzled/error.h>
22
23
#include <drizzled/nested_join.h>
754
755
        {
755
756
          // Just try to catch any random failures that could have come
756
757
          // during execution.
757
 
          unireg_abort(1);
 
758
          DRIZZLE_ABORT;
758
759
        }
759
760
        DRIZZLE_QUERY_EXEC_DONE(0);
760
761
      }