summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.(none)>2004-09-03 15:11:09 +0000
committerunknown <tomas@poseidon.(none)>2004-09-03 15:11:09 +0000
commite8c2e418418099633ac683b6f391917425a444dd (patch)
tree3b38c0bbc739baa7fc6523d6f054edf1d3d3954e /sql/handler.cc
parentc83d39c90da545cafa93a0d70c2ab9ad4e392e65 (diff)
downloadmariadb-git-e8c2e418418099633ac683b6f391917425a444dd.tar.gz
renamed ha_recovery_logging to ha_enable_transaction
added tests to alter table for "large" alter tables and truncates in ndbcluster added debug printout in restart() in ndbcluster added flag THD::transaction.on to enable/disable transaction mysql-test/r/ndb_alter_table.result: added tests to alter table for "large" alter tables and truncates mysql-test/t/ndb_alter_table.test: added tests to alter table for "large" alter tables and truncates ndb/src/ndbapi/NdbConnection.cpp: added debug printout in restart() sql/ha_ndbcluster.cc: added support for large alter table and truncate sql/handler.cc: renamed ha_recovery_logging to ha_enable_transaction sql/handler.h: renamed ha_recovery_logging to ha_enable_transaction sql/sql_class.cc: added flag THD::transaction.on to enable/disable transaction sql/sql_class.h: added flag THD::transaction.on to enable/disable transaction sql/sql_delete.cc: added disable transaction for mysql_truncate sql/sql_table.cc: renamed ha_recovery_logging to ha_enable_transaction
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 15f30b25eb8..4d3bf06d5f4 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -1199,14 +1199,15 @@ int handler::rename_table(const char * from, const char * to)
}
/*
- Tell the handler to turn on or off logging to the handler's recovery log
+ Tell the handler to turn on or off transaction in the handler
*/
-int ha_recovery_logging(THD *thd, bool on)
+int ha_enable_transaction(THD *thd, bool on)
{
int error=0;
- DBUG_ENTER("ha_recovery_logging");
+ DBUG_ENTER("ha_enable_transaction");
+ thd->transaction.on= on;
DBUG_RETURN(error);
}