summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authoranozdrin/alik@ibm. <>2008-01-19 22:32:48 +0300
committeranozdrin/alik@ibm. <>2008-01-19 22:32:48 +0300
commitbaf5f738530d8c031c5a0685e838d9c72439cb12 (patch)
treee55cc90ad546ff1606eb9c8a3fac816a5662827e /sql/item_sum.cc
parentc6a01870bc58a2ab47f1063ff6d091ee224e0410 (diff)
parent8aa978352ec9bd763c23286dbb7947db24020f6b (diff)
downloadmariadb-git-baf5f738530d8c031c5a0685e838d9c72439cb12.tar.gz
Merge ibm.:/home/alik/Documents/MySQL/devel/5.1
into ibm.:/home/alik/Documents/MySQL/devel/5.1-rt-merged-5.1
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r--sql/item_sum.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index 881f472d766..0928ac068df 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -2603,7 +2603,7 @@ void Item_sum_count_distinct::clear()
else if (table)
{
table->file->extra(HA_EXTRA_NO_CACHE);
- table->file->delete_all_rows();
+ table->file->ha_delete_all_rows();
table->file->extra(HA_EXTRA_WRITE_CACHE);
}
}