summaryrefslogtreecommitdiff
path: root/storage/myisammrg
diff options
context:
space:
mode:
Diffstat (limited to 'storage/myisammrg')
-rw-r--r--storage/myisammrg/ha_myisammrg.cc4
-rw-r--r--storage/myisammrg/ha_myisammrg.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/storage/myisammrg/ha_myisammrg.cc b/storage/myisammrg/ha_myisammrg.cc
index 22b4794dbde..1f89aa5fd23 100644
--- a/storage/myisammrg/ha_myisammrg.cc
+++ b/storage/myisammrg/ha_myisammrg.cc
@@ -1227,11 +1227,11 @@ ha_rows ha_myisammrg::records_in_range(uint inx, key_range *min_key,
}
-int ha_myisammrg::truncate()
+int ha_myisammrg::delete_all_rows()
{
int err= 0;
MYRG_TABLE *table;
- DBUG_ENTER("ha_myisammrg::truncate");
+ DBUG_ENTER("ha_myisammrg::delete_all_rows");
for (table= file->open_tables; table != file->end_table; table++)
{
diff --git a/storage/myisammrg/ha_myisammrg.h b/storage/myisammrg/ha_myisammrg.h
index 14734eed064..735c7ff53be 100644
--- a/storage/myisammrg/ha_myisammrg.h
+++ b/storage/myisammrg/ha_myisammrg.h
@@ -131,7 +131,7 @@ public:
int rnd_pos(uchar * buf, uchar *pos);
void position(const uchar *record);
ha_rows records_in_range(uint inx, key_range *min_key, key_range *max_key);
- int truncate();
+ int delete_all_rows();
int info(uint);
int reset(void);
int extra(enum ha_extra_function operation);