summaryrefslogtreecommitdiff
path: root/sql/examples
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-08-30 10:42:41 +0200
committerunknown <msvensson@neptunus.(none)>2005-08-30 10:42:41 +0200
commit3692f3991d62254299d6edd975e1ad00af38fbb4 (patch)
treee5281accee39e54f0bc46b0aaab1ef122e8ee3d7 /sql/examples
parentd93563f288161103fc41ad00f816576a2b310393 (diff)
parent922e7582eac997521d68063ef38e1fefbf171741 (diff)
downloadmariadb-git-3692f3991d62254299d6edd975e1ad00af38fbb4.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
into neptunus.(none):/home/msvensson/mysql/bug12527/my41-bug12527 sql/examples/ha_archive.cc: Auto merged
Diffstat (limited to 'sql/examples')
-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 b125f435cfa..503f3f6b1fe 100644
--- a/sql/examples/ha_archive.cc
+++ b/sql/examples/ha_archive.cc
@@ -225,7 +225,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]));