diff options
author | unknown <msvensson@neptunus.(none)> | 2005-09-01 09:05:45 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-09-01 09:05:45 +0200 |
commit | b5f87344879b501a05758a2c72d38c3f378e9a40 (patch) | |
tree | 34bb86ef7b2f856d54a32916a7ca25faaeda7f0d /sql/examples | |
parent | d1c80dd648ecfdea14af7332395facec2d0552a4 (diff) | |
parent | 8ee0dd5f6a96657827ed05c42690aaf8c84787d1 (diff) | |
download | mariadb-git-b5f87344879b501a05758a2c72d38c3f378e9a40.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
sql/examples/ha_archive.cc:
Auto merged
sql/sql_table.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 d5cf713aa44..7b9f6e23548 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])); |