~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2008-10-02 19:18:43 UTC
  • mto: (438.4.1 drizzle-clean-code)
  • mto: This revision was merged to the branch mainline in revision 435.
  • Revision ID: brian@tangent.org-20081002191843-tw3nnufik8qwf9rz
Removed UNSIGNED from parser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3684
3684
                " but not allowed by this combination of engines");
3685
3685
    }
3686
3686
 
3687
 
    /*
3688
 
      If more than one engine is involved in the statement and at
3689
 
      least one is doing it's own logging (is *self-logging*), the
3690
 
      statement cannot be logged atomically, so we generate an error
3691
 
      rather than allowing the binlog to become corrupt.
3692
 
     */
3693
 
    if (multi_engine &&
3694
 
        (flags_some_set & HA_HAS_OWN_BINLOGGING))
3695
 
    {
3696
 
      error= ER_BINLOG_LOGGING_IMPOSSIBLE;
3697
 
      my_error(error, MYF(0),
3698
 
               "Statement cannot be written atomically since more"
3699
 
               " than one engine involved and at least one engine"
3700
 
               " is self-logging");
3701
 
    }
3702
 
 
3703
3687
    if (error)
3704
3688
      return -1;
3705
3689