summaryrefslogtreecommitdiff
path: root/storage/archive/ha_archive.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@sun.com>2009-09-10 11:58:13 +0500
committerSergey Vojtovich <svoj@sun.com>2009-09-10 11:58:13 +0500
commit3e68a1c545e32542f7f2b72cf22ab9c681d49f9d (patch)
tree564fe9681266ab3518d0541a0f87ee06388fe68a /storage/archive/ha_archive.cc
parent51624a945affe6aa1fa21ac86fe808fa5a629cc8 (diff)
parent8a9a633e4bab5aa93e6c284f82d9a4b495dc75b7 (diff)
downloadmariadb-git-3e68a1c545e32542f7f2b72cf22ab9c681d49f9d.tar.gz
Local merge.
Diffstat (limited to 'storage/archive/ha_archive.cc')
-rw-r--r--storage/archive/ha_archive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/archive/ha_archive.cc b/storage/archive/ha_archive.cc
index 49bf036c5a6..981814628f9 100644
--- a/storage/archive/ha_archive.cc
+++ b/storage/archive/ha_archive.cc
@@ -993,6 +993,7 @@ int ha_archive::rnd_init(bool scan)
/* We rewind the file so that we can read from the beginning if scan */
if (scan)
{
+ scan_rows= stats.records;
DBUG_PRINT("info", ("archive will retrieve %llu rows",
(unsigned long long) scan_rows));
@@ -1461,7 +1462,6 @@ int ha_archive::info(uint flag)
stats.records= share->rows_recorded;
pthread_mutex_unlock(&share->mutex);
- scan_rows= stats.records;
stats.deleted= 0;
DBUG_PRINT("ha_archive", ("Stats rows is %d\n", (int)stats.records));