Re: [sqlite] An inconsistency between sqlite implementation and documentation of zlib API deflate

2019-10-11 Thread Dan Kennedy
On 11/10/62 06:18, 吕涛 wrote: Hi, there is an inconsistency between sqlite implementation and documentation of zlib API deflate in the file /ext/misc/zipfile.c:1003. 1000 deflateInit2(, 9, Z_DEFLATED, -15, 8, Z_DEFAULT_STRATEGY); 1001 res = deflate(, Z_FINISH); 1002 1003 if( res

[sqlite] An inconsistency between sqlite implementation and documentation of zlib API deflate

2019-10-11 Thread 吕涛
Hi, there is an inconsistency between sqlite implementation and documentation of zlib API deflate in the file /ext/misc/zipfile.c:1003. 1000 deflateInit2(, 9, Z_DEFLATED, -15, 8, Z_DEFAULT_STRATEGY); 1001 res = deflate(, Z_FINISH); 1002 1003 if( res==Z_STREAM_END ){ 1004