~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler.cc

  • Committer: devananda
  • Date: 2009-06-30 14:27:54 UTC
  • mfrom: (1030.2.4 trunk)
  • mto: (1093.1.7 captain)
  • mto: This revision was merged to the branch mainline in revision 1095.
  • Revision ID: devananda.vdv@gmail.com-20090630142754-vm9w374yxkf1pikc
mergeĀ fromĀ lp

Show diffs side-by-side

added added

removed removed

Lines of Context:
1868
1868
  }
1869
1869
}
1870
1870
 
1871
 
 
1872
 
/**
1873
 
  Repair table: public interface.
1874
 
 
1875
 
  @sa handler::repair()
1876
 
*/
1877
 
 
1878
 
int handler::ha_repair(Session* session, HA_CHECK_OPT* check_opt)
1879
 
{
1880
 
  int result;
1881
 
 
1882
 
  mark_trx_read_write();
1883
 
 
1884
 
  if ((result= repair(session, check_opt)))
1885
 
    return result;
1886
 
  return HA_ADMIN_OK;
1887
 
}
1888
 
 
1889
 
 
1890
1871
/**
1891
1872
  Bulk update row: public interface.
1892
1873
 
1962
1943
  return analyze(session, check_opt);
1963
1944
}
1964
1945
 
1965
 
 
1966
 
/**
1967
 
  Check and repair table: public interface.
1968
 
 
1969
 
  @sa handler::check_and_repair()
1970
 
*/
1971
 
 
1972
 
bool
1973
 
handler::ha_check_and_repair(Session *session)
1974
 
{
1975
 
  mark_trx_read_write();
1976
 
 
1977
 
  return check_and_repair(session);
1978
 
}
1979
 
 
1980
 
 
1981
1946
/**
1982
1947
  Disable indexes: public interface.
1983
1948