summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-08-30 10:40:50 +0200
committerunknown <msvensson@neptunus.(none)>2005-08-30 10:40:50 +0200
commit68e3b6f5f12f14fc2848ad29c2dc2d4c5c2895fa (patch)
tree20b9bce42c62070d66a4469706de1e17d2416626
parent0616d6905f93c5762e62b122306973abde1d36b0 (diff)
parent922e7582eac997521d68063ef38e1fefbf171741 (diff)
downloadmariadb-git-68e3b6f5f12f14fc2848ad29c2dc2d4c5c2895fa.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/bug12527/my41-bug12527
into neptunus.(none):/home/msvensson/mysql/bug12527/my50-bug12527 sql/examples/ha_archive.cc: Auto merged
-rw-r--r--sql/examples/ha_archive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/examples/ha_archive.cc b/sql/examples/ha_archive.cc
index fd47b45ce52..1756bae02a1 100644
--- a/sql/examples/ha_archive.cc
+++ b/sql/examples/ha_archive.cc
@@ -258,7 +258,7 @@ int ha_archive::write_data_header(gzFile file_to_write)
data_buffer[1]= (uchar)ARCHIVE_VERSION;
if (gzwrite(file_to_write, &data_buffer, DATA_BUFFER_SIZE) !=
- sizeof(DATA_BUFFER_SIZE))
+ DATA_BUFFER_SIZE)
goto error;
DBUG_PRINT("ha_archive::write_data_header", ("Check %u", (uint)data_buffer[0]));
DBUG_PRINT("ha_archive::write_data_header", ("Version %u", (uint)data_buffer[1]));