~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2011-01-26 02:13:21 UTC
  • mto: (2122.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2118.
  • Revision ID: brian@tangent.org-20110126021321-3vxltp6aianxs18a
Additional abstract around time (this also makes the abort_on_warnings in
session private).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1014
1014
  bool substitute_null_with_insert_id;
1015
1015
  bool cleanup_done;
1016
1016
 
 
1017
private:
1017
1018
  bool abort_on_warning;
 
1019
 
 
1020
public:
1018
1021
  bool got_warning; /**< Set on call to push_warning() */
1019
1022
  bool no_warnings_for_error; /**< no warnings on call to my_error() */
1020
1023
  /** set during loop of derived table processing */
1441
1444
  /* return true if we will abort query if we make a warning now */
1442
1445
  inline bool really_abort_on_warning()
1443
1446
  {
1444
 
    return (abort_on_warning);
 
1447
    return abort_on_warning;
 
1448
  }
 
1449
 
 
1450
  inline bool abortOnWarning()
 
1451
  {
 
1452
    return abort_on_warning;
 
1453
  }
 
1454
 
 
1455
  inline void setAbortOnWarning(bool arg)
 
1456
  {
 
1457
    abort_on_warning= arg;
1445
1458
  }
1446
1459
 
1447
1460
  void setAbort(bool arg);