diff options
author | unknown <brian@zim.(none)> | 2006-12-03 22:09:32 -0800 |
---|---|---|
committer | unknown <brian@zim.(none)> | 2006-12-03 22:09:32 -0800 |
commit | 2a336e56e9eb69557f1a4cb01ff2f9e7214f6f24 (patch) | |
tree | 6114f7eb148accdeed3672ba4194dd85a3653d3e /storage/archive/azlib.h | |
parent | ccf4a137bee9ba6b1ed64d91c02413412ae38fad (diff) | |
download | mariadb-git-2a336e56e9eb69557f1a4cb01ff2f9e7214f6f24.tar.gz |
Fixed problems with original gzio() functions not being able to correctly return lengths of long rows.
storage/archive/archive_test.c:
Updated the test for 2gig and 4gig tests.
storage/archive/azio.c:
Fixed return type bug that was inherited in original library.
storage/archive/azlib.h:
Fixes for original library
storage/archive/ha_archive.cc:
Far more error testing!
storage/archive/ha_archive.h:
Updated returnn type for pack_row()
Diffstat (limited to 'storage/archive/azlib.h')
-rw-r--r-- | storage/archive/azlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/archive/azlib.h b/storage/archive/azlib.h index e63d1ed9997..7e20387ff0a 100644 --- a/storage/archive/azlib.h +++ b/storage/archive/azlib.h @@ -206,7 +206,7 @@ int azdopen(azio_stream *s,File fd, int Flags); */ -extern int azread(azio_stream *file, voidp buf, unsigned len); +extern unsigned long azread ( azio_stream *s, voidp buf, unsigned long len, int *error); /* Reads the given number of uncompressed bytes from the compressed file. If the input file was not in gzip format, gzread copies the given number @@ -214,7 +214,7 @@ extern int azread(azio_stream *file, voidp buf, unsigned len); gzread returns the number of uncompressed bytes actually read (0 for end of file, -1 for error). */ -extern int azwrite (azio_stream *file, voidpc buf, unsigned len); +extern unsigned long azwrite (azio_stream *s, voidpc buf, unsigned long len); /* Writes the given number of uncompressed bytes into the compressed file. gzwrite returns the number of uncompressed bytes actually written |