diff options
author | unknown <msvensson@neptunus.(none)> | 2005-09-01 09:01:15 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-09-01 09:01:15 +0200 |
commit | 8fddb97343e2b9aaf9b11a845081ab3090178608 (patch) | |
tree | 1067d0fedaf908bc9031b951127ab9bbd4936116 /sql/examples | |
parent | 1b6fdf86f93c63b10841d16da5fd403302c259da (diff) | |
parent | 3692f3991d62254299d6edd975e1ad00af38fbb4 (diff) | |
download | mariadb-git-8fddb97343e2b9aaf9b11a845081ab3090178608.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
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 b754c429dda..577ead8a86d 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])); |