WL#10551: Upgrade zlib libraries to 1.2.11 in trunk

Affects: Server-8.0   —   Status: Complete

Presently we are bundling zlib libraries along with our code. But the version of 
zlib is very old (1.2.3) .This task is to upgrade the libraries to the zlib-
1.2.11.
After implementing this these are the QA tasks to be done for testing the new 
zlib libraries

1) Testing sysbench performance for compresses tables with the new zlib 
libraries.

2) Comparison of size of ibd file with old and new zlib libraries. The new zlib 
libraries should not   increase the size of ibd file when compared to old zlib 
libraries.

3) Upgrade/downgrade scenarios when data compressed with old zlib libraries are 
uncompressed with new zlib libraries. This should be done across mini versions. 
(Keeping --innodb-log-compressed-pages=ON)

4) Check if Innodb IO compression feature works fine with new zlib libraries.

5) I see that zlib is being used by NDB also, so need to check if they have any 
performance tests which involves zlib.



 Functional requirements

FN1 No new functionalists added ,so only requirement is all tests should pass with 
new zlib library 

FR5: As server does not have performance test suites related NDB , run standard 
sysbench test are ok to test ( on this we need a an email communication from NDB 
team )

Non Functional requirements

NF1) Testing sysbench performance for compresses tables with the new zlib 
libraries. Performance should not be affected.

NF2) Comparison of size of ibd file with old and new zlib libraries. The new zlib 
libraries should not increase the size of ibd file when compared to old zlib 
libraries.

NF3) Upgrade/downgrade scenarios when data compressed with old zlib libraries are 
uncompressed with new zlib libraries. This should be done across mini versions. 
(Keeping innodb_log_compress_pages=ON)

NF4) Check if Innodb IO compression performance is fine with new zlib libraries.

NF5) As server does not have performance test suites related NDB , run standard 
sysbench test are ok to test.