mariadb/storage/maria
Meng-Hsiu Chiang 55cb2c2916 MDEV-29955: Set path for zlib library with pkg-config
`FindZLIB` module uses variable `ZLIB_ROOT`[1] to look for libraries. By
setting the variable, `FindZLIB` is able to search the libraries that
installed in a non-system path (/workspace/mylib for example).

And when using `z` in `LINK_LIBRARIES()` CMake tries to lookup the
library in system path by default. It doesn't work if the library isn't
installed in the path, and use ${ZLIB_LIBRARY} which set by FindZLIB
solve the issue.

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services.

[1]: https://cmake.org/cmake/help/latest/module/FindZLIB.html#hints
2024-04-23 15:40:57 +01:00
..
libmarias3@3846890513 MDEV-25716 Building failure in S3 engine on MacOS 2021-07-28 22:48:06 +02:00
unittest MDEV-33092 Undefined reference to concurrency on Solaris 2024-01-10 10:16:20 +01:00
aria_chk.c Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
aria_dump_log.c Make maria_data_root const char* 2021-02-08 12:16:29 +02:00
aria_ftdump.c Merge 10.4 into 10.5 2022-10-06 08:29:56 +03:00
aria_pack.c Make maria_data_root const char* 2021-02-08 12:16:29 +02:00
aria_read_log.c Fix various spelling errors still found in code 2021-03-22 18:10:39 +11:00
aria_s3_copy.cc Added options s3_port and s3_use_http to aria_s3_copy 2021-09-01 13:34:46 +03:00
CMakeLists.txt MDEV-29955: Set path for zlib library with pkg-config 2024-04-23 15:40:57 +01:00
file_formats.txt Fixed compiler warnings 2008-02-22 17:22:56 +02:00
ft_maria.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ha_maria.cc Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
ha_maria.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
ha_s3.cc Fix S3 engine Coverity hits 2023-02-14 16:27:21 +00:00
ha_s3.h Added support for CHECK TABLE for S3 tables 2021-09-01 13:47:26 +03:00
lockman.c Merge 10.4 into 10.5 2020-04-25 21:57:52 +03:00
lockman.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_backup.c Fix various spelling errors still found in code 2021-03-22 18:10:39 +11:00
ma_bitmap.c Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
ma_blockrec.c Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
ma_blockrec.h Changes needed for ColumnStore and insert cache 2020-06-14 19:39:42 +03:00
ma_cache.c Fixed bug in Aria read cache when doing check/repair 2022-06-06 16:08:25 +03:00
ma_changed.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_check.c Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
ma_check.h Fix clang -Wtypedef-redefinition 2022-03-11 13:29:41 +02:00
ma_check_standalone.h MDEV-17913 Encrypted transactional Aria tables remain corrupt after crash recovery, automatic repairment does not work 2021-04-06 14:57:22 +03:00
ma_checkpoint.c Improve error messages from Aria 2021-09-15 19:27:34 +03:00
ma_checkpoint.h Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
ma_checksum.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_close.c MDEV-25507 CHECK on encrypted Aria table complains about "Wrong LSN" 2021-04-30 15:45:07 +03:00
ma_commit.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_commit.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_control_file.c MDEV-24788: mariadbd --help Can't lock aria control file 2021-12-16 10:53:32 +11:00
ma_control_file.h Fix "unresolved external symbol" link errors with MSVC 2020-06-19 19:43:07 +02:00
ma_create.c Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
ma_crypt.c Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
ma_crypt.h MDEV-26258 Various crashes/asserts/corruptions when Aria encryption is enabled/used, but the encryption plugin is not loaded 2023-05-02 23:37:10 +03:00
ma_dbug.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_delete.c alloc_on_stack: simplify the API 2019-08-23 22:01:39 +02:00
ma_delete_all.c MDEV-19595 fixed 2019-06-19 00:35:44 +03:00
ma_delete_table.c Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
ma_dynrec.c Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
ma_extra.c Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
ma_ft_boolean_search.c Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
ma_ft_eval.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_ft_eval.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_ft_nlq_search.c Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
ma_ft_parser.c Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
ma_ft_stem.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_ft_test1.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_ft_test1.h Switch Perl DBI scripts from DBD::mysql to DBD::MariaDB driver 2019-07-19 13:39:20 +03:00
ma_ft_update.c MDEV-30048 Prefix keys for CHAR work differently for MyISAM vs InnoDB 2023-10-24 03:35:48 +04:00
ma_ftdefs.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_fulltext.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_info.c MDEV-20279 Increase Aria index length limit 2019-08-23 11:26:04 +02:00
ma_init.c mysqld --help will now load mysqld.options table 2020-03-24 21:00:04 +02:00
ma_key.c Merge branch '10.4' into 10.5 2020-05-09 20:43:36 +02:00
ma_key_recover.c MDEV-18187 Aria engine: Redo phase failed with "error 192 when executing record redo_index_new_page" upon startup on a restored datadir 2021-12-15 16:28:01 +02:00
ma_key_recover.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_keycache.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_locking.c Merge 10.4 into 10.5 2023-01-03 17:08:42 +02:00
ma_loghandler.c MDEV-31349 test maria.maria-purge failed on 'aria_log.00000002 not found' 2023-10-08 18:16:20 +03:00
ma_loghandler.h Merge 10.3 into 10.4 2019-11-01 15:23:18 +02:00
ma_loghandler_lsn.h MDEV-17913 Encrypted transactional Aria tables remain corrupt after crash recovery, automatic repairment does not work 2021-04-06 14:57:22 +03:00
ma_norec.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_open.c Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
ma_packrec.c Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
ma_page.c Fix clang 10 warnings 2020-04-27 09:40:34 +03:00
ma_pagecache.c Merge 10.4 into 10.5 2022-09-26 13:34:38 +03:00
ma_pagecache.h S3 is pluggable now 2020-06-19 19:43:07 +02:00
ma_pagecaches.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_pagecrc.c MDEV-22641: Provide SIMD optimized wrapper for zlib crc32() () 2020-06-01 11:34:06 +03:00
ma_panic.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_preload.c perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
ma_range.c Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
ma_recovery.c Merge 10.4 into 10.5 2021-03-05 12:54:43 +02:00
ma_recovery.h Improve logging of Aria redo's and undo's 2020-05-27 15:47:10 +03:00
ma_recovery_util.c Fixed printing of wring filname "maria_open" in maria.maria-recovery2.test 2021-03-01 22:09:05 +02:00
ma_recovery_util.h Fixed access to undefined memory found by valgrind and MSAN 2020-05-23 12:29:10 +03:00
ma_rename.c Merge 10.4 into 10.5 2019-05-23 10:32:21 +03:00
ma_rfirst.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rkey.c MDEV-21794: Optimizer flag rowid_filter leads to long query 2020-05-07 12:27:17 +02:00
ma_rlast.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rnext.c MDEV-21794: Optimizer flag rowid_filter leads to long query 2020-05-07 12:27:17 +02:00
ma_rnext_same.c MDEV-21794: Optimizer flag rowid_filter leads to long query 2020-05-07 12:27:17 +02:00
ma_rprev.c MDEV-21794: Optimizer flag rowid_filter leads to long query 2020-05-07 12:27:17 +02:00
ma_rrnd.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rsame.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rsamepos.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_rt_index.c perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
ma_rt_index.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_rt_key.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_rt_key.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_rt_mbr.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
ma_rt_mbr.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_rt_split.c alloc_on_stack: simplify the API 2019-08-23 22:01:39 +02:00
ma_rt_test.c Merge 10.4 into 10.5 2021-08-25 07:53:23 +03:00
ma_scan.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_search.c alloc_on_stack: simplify the API 2019-08-23 22:01:39 +02:00
ma_servicethread.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_servicethread.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_sort.c Fix of4cb0d43ac63761174a39cea892c176b9cfa6edfc after merge in 10.5 2023-07-30 08:41:54 +02:00
ma_sp_defs.h Update FSF address 2019-05-10 20:52:00 +03:00
ma_sp_key.c MDEV-21082: isnan/isinf compilation errors, isfinite warnings on MacOS 2019-11-19 16:28:15 +03:00
ma_sp_test.c cleanup: Aria headers 2020-06-19 19:43:07 +02:00
ma_state.c Updated code comments 2020-06-14 19:39:43 +03:00
ma_state.h cleanup: Aria headers 2020-06-19 19:43:07 +02:00
ma_static.c Make maria_data_root const char* 2021-02-08 12:16:29 +02:00
ma_statrec.c Update FSF address 2019-05-10 20:52:00 +03:00
ma_test1.c Make maria_data_root const char* 2021-02-08 12:16:29 +02:00
ma_test2.c Make maria_data_root const char* 2021-02-08 12:16:29 +02:00
ma_test3.c Merge 10.4 into 10.5 2022-07-27 17:17:24 +03:00
ma_test_all.res Fixes for redo/undo logging of key pages 2007-11-20 17:42:16 +02:00
ma_test_all.sh makes mi_test_all.sh & ma_test_all.sh working (MDEV-285) 2012-09-25 13:45:11 +03:00
ma_test_big.sh UNDO of rows now puts back all part of the row on their original pages and positions 2007-12-30 22:40:03 +02:00
ma_test_force_start.pl CRLF->LF 2015-06-02 22:07:47 +02:00
ma_test_recovery Added versioning of row data 2008-04-10 05:26:36 +03:00
ma_trnman.h Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
ma_unique.c Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
ma_update.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ma_write.c Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
maria_def.h Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
s3.cnf MDEV-22980: Allow plugin-maturity=alpha so S3 plugin loads 2020-08-01 10:31:41 +10:00
s3_func.c Fix S3 engine Coverity hits 2023-02-14 16:27:21 +00:00
s3_func.h MDEV-28050: clang -Wtypedef-redefinition when PLUGIN_S3=NO 2022-03-14 10:42:50 +02:00
tablockman.c Update FSF address 2019-05-10 20:52:00 +03:00
tablockman.h Update FSF address 2019-05-10 20:52:00 +03:00
test_aria_s3_copy.sh MDEV-17841 S3 storage engine 2019-05-23 02:28:23 +03:00
test_ma_backup.c Merge 10.4 into 10.5 2021-08-26 08:46:57 +03:00
test_pack Added storage/maria (based on MyISAM). WL#3245 2006-04-11 16:45:10 +03:00
trnman.c mysqld --help will now load mysqld.options table 2020-03-24 21:00:04 +02:00
trnman.h mysqld --help will now load mysqld.options table 2020-03-24 21:00:04 +02:00
trnman_public.h Update FSF address 2019-05-10 20:52:00 +03:00