diff options
author | unknown <msvensson@neptunus.(none)> | 2005-08-30 10:42:41 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-08-30 10:42:41 +0200 |
commit | 3692f3991d62254299d6edd975e1ad00af38fbb4 (patch) | |
tree | e5281accee39e54f0bc46b0aaab1ef122e8ee3d7 /sql/examples | |
parent | d93563f288161103fc41ad00f816576a2b310393 (diff) | |
parent | 922e7582eac997521d68063ef38e1fefbf171741 (diff) | |
download | mariadb-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.cc | 2 |
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])); |