~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Felipe
  • Date: 2008-08-04 23:58:04 UTC
  • mto: (261.2.6 codestyle)
  • mto: This revision was merged to the branch mainline in revision 263.
  • Revision ID: felipe@pena-20080804235804-x55q2xqxcar6u66f
- Renamed MYSQL_ERROR to DRIZZLE_ERROR.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1805
1805
      this could be improved by having a common stack of handlers.
1806
1806
    */
1807
1807
    if (thd->handle_error(error, str,
1808
 
                          MYSQL_ERROR::WARN_LEVEL_ERROR))
 
1808
                          DRIZZLE_ERROR::WARN_LEVEL_ERROR))
1809
1809
      return;;
1810
1810
 
1811
1811
    thd->is_slave_error=  1; // needed to catch query errors during replication
1834
1834
        inside push_warning.
1835
1835
      */
1836
1836
      thd->no_warnings_for_error= true;
1837
 
      push_warning(thd, MYSQL_ERROR::WARN_LEVEL_ERROR, error, str);
 
1837
      push_warning(thd, DRIZZLE_ERROR::WARN_LEVEL_ERROR, error, str);
1838
1838
      thd->no_warnings_for_error= false;
1839
1839
    }
1840
1840
  }