diff options
Diffstat (limited to 'storage/heap/ha_heap.cc')
-rw-r--r-- | storage/heap/ha_heap.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/storage/heap/ha_heap.cc b/storage/heap/ha_heap.cc index fc6e89e54e0..e16a5e38a0f 100644 --- a/storage/heap/ha_heap.cc +++ b/storage/heap/ha_heap.cc @@ -455,13 +455,6 @@ int ha_heap::delete_all_rows() } -int ha_heap::truncate() -{ - int error= delete_all_rows(); - return error ? error : reset_auto_increment(0); -} - - int ha_heap::reset_auto_increment(ulonglong value) { file->s->auto_increment= value; |