~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Brian Aker
  • Date: 2009-07-10 06:40:04 UTC
  • mto: (1090.1.1 staging)
  • mto: This revision was merged to the branch mainline in revision 1091.
  • Revision ID: brian@gaz-20090710064004-1omqif60uedqw360
Removed dead flag code, style cleanup in FK. Removed dead structs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
}
89
89
 
90
90
Open_tables_state::Open_tables_state(ulong version_arg)
91
 
  :version(version_arg), state_flags(0U)
 
91
  :version(version_arg), backups_available(false)
92
92
{
93
93
  reset_open_tables_state();
94
94
}
1660
1660
{
1661
1661
  backup->set_open_tables_state(this);
1662
1662
  reset_open_tables_state();
1663
 
  state_flags|= Open_tables_state::BACKUPS_AVAIL;
 
1663
  backups_available= false;
1664
1664
}
1665
1665
 
1666
1666
 
1991
1991
    does not belong to statement for which we do close_thread_tables()).
1992
1992
    TODO: This should be fixed in later releases.
1993
1993
   */
1994
 
  if (!(state_flags & Open_tables_state::BACKUPS_AVAIL))
 
1994
  if (backups_available == false)
1995
1995
  {
1996
1996
    main_da.can_overwrite_status= true;
1997
1997
    ha_autocommit_or_rollback(this, is_error());