mariadb/mysys
Bill Jin 9fc925d771 MDEV-35461 Remove redundant checks for standard library functions
Remove function checks that are guaranteed by C89/C99 standards to
reduce the excessive time spent during CMake configuration step. Also,
clean up related compatibility code.

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, Inc.
2026-04-02 10:36:09 +11:00
..
crc32 Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
array.c MDEV-32854: Make JSON_DEPTH_LIMIT unlimited 2025-09-16 10:10:08 +05:30
base64.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ChangeLog Fix remaining typos 2025-04-29 11:18:00 +10:00
charset-def.c Merge remote-tracking branch 'github/bb-11.4-release' into bb-11.8-serg 2025-04-27 19:40:00 +02:00
charset.c MDEV-35461 Remove redundant checks for standard library functions 2026-04-02 10:36:09 +11:00
CMakeLists.txt Merge branch '12.2' into 12.3 2026-02-07 22:12:32 +01:00
crc32ieee.cc Merge branch '10.6' into 10.11 2024-05-10 20:02:18 +02:00
errors.c Update my_snprintf’s last loose ends to suffixes 2025-02-12 10:17:44 +01:00
file_logger.c MDEV-38126: Fix -DWITH_UBSAN=ON 2025-11-26 17:10:44 +02:00
get_password.c Merge branch '10.6' into 10.9 2023-08-04 08:01:06 +02:00
guess_malloc_library.c Fixed compiler warnings in guess_malloc_library 2018-01-15 16:44:44 +02:00
hash.c MDEV-9826 More hash algorithms for PARTITION BY [LINEAR] KEY 2026-02-05 11:55:12 +11:00
lf_alloc-pin.c Fix a stack overflow in pinbox allocator 2024-07-05 13:26:37 +10:00
lf_dynarray.c perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
lf_hash.cc MDEV-9826 More hash algorithms for PARTITION BY [LINEAR] KEY 2026-02-05 11:55:12 +11:00
list.c Merge 10.4 into 10.5 2020-05-13 14:25:06 +03:00
ma_dyncol.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
mf_arr_appstr.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_cache.c MDEV-9101 Limit size of created disk temporary files and tables 2024-05-27 12:39:04 +02:00
mf_dirname.c MDEV-21581 Helper functions and methods for CHARSET_INFO 2020-01-28 12:29:23 +04:00
mf_fn_ext.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mf_format.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mf_getdate.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_iocache.c Merge branch '12.2' into 12.3 2026-02-07 22:12:32 +01:00
mf_iocache2.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
mf_keycache.c Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
mf_keycaches.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_loadpath.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_pack.c MDEV-21581 Helper functions and methods for CHARSET_INFO 2020-01-28 12:29:23 +04:00
mf_path.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
mf_qsort.c Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
mf_qsort2.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
mf_radix.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
mf_same.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_sort.c cleanup: Typo fix appliccable -> applicable 2023-01-30 15:24:15 +02:00
mf_soundex.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_tempdir.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
mf_tempfile.c MDEV-33379 innodb_log_file_buffering=OFF causes corruption on bcachefs 2024-02-20 13:43:19 +02:00
mf_unixpath.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_wcomp.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
mulalloc.c Added detection of memory overwrite with multi_malloc 2023-02-27 19:25:44 +02:00
my_access.c Fix remaining typos 2025-04-29 11:18:00 +10:00
my_addr_resolve.c Backport my_addr_resolve from 10.6 to get latest bug fixes in. 2023-11-27 19:08:14 +02:00
my_alloc.c Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
my_atomic_writes.c Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
my_basename.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_bit.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
my_bitmap.c MDEV-37330 Allow unordered index scan for tables partitioned by range when a priority queue is not needed 2026-02-03 15:32:12 +02:00
my_chmod.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
my_chsize.c MDEV-9101 Limit size of created disk temporary files and tables 2024-05-27 12:39:04 +02:00
my_compare.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
my_compr_int.cc Binlog-in-engine: New binlog implementation integrated in InnoDB 2026-01-23 03:21:03 +01:00
my_compress.c Cleanup: Remove IF_VALGRIND 2022-04-25 09:40:40 +03:00
my_copy.c Merge 11.8 into 12.3 2026-03-24 09:49:17 +02:00
my_cpu.c MDEV-19845: Make my_cpu.h self-contained 2020-02-01 14:56:05 +02:00
my_create.c Change my_umask{,_dir} to mode_t and remove os_innodb_umask 2024-12-11 17:21:01 +11:00
my_default.c Merge branch '11.8' into 12.2 2026-01-08 12:02:45 +01:00
my_delete.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
my_div.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_dlerror.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_error.c MDEV-38654 Assertion `str[strlen(str)-1] != '\n'' failed upon federated discovery error 2026-01-26 10:01:31 +01:00
my_file.c MDEV-21935 Mariabackup file limits set incorrectly 2026-02-25 20:04:25 +02:00
my_fopen.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
my_fstream.c Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
my_getexe.c MDEV-34340 mariadb-backup immediately dumps core on NetBSD 2024-10-16 11:46:19 +11:00
my_gethwaddr.c OS detection logic in my_gethwaddr.c is backwards 2022-11-13 13:12:37 +11:00
my_getncpus.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_getopt.c Merge 11.8 into 12.3 2026-03-24 09:49:17 +02:00
my_getpagesize.c MDEV-34062: Implement innodb_log_file_mmap on 64-bit systems 2024-09-26 18:47:12 +03:00
my_getsystime.c MDEV-33145 Add FLUSH GLOBAL STATUS 2024-05-27 12:39:03 +02:00
my_getwd.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_init.c Merge 11.4 into 11.7 2025-01-09 09:41:38 +02:00
my_largepage.c Merge 11.8 into 12.3 2026-03-24 09:49:17 +02:00
my_lib.c Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
my_libwrap.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_likely.c MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
my_lock.c MDEV-32567 Remove thr_alarm from server codebase 2023-11-23 11:52:38 +11:00
my_lockmem.c Merge 10.6 into 10.10 2023-10-14 13:36:11 +03:00
my_malloc.c Merge 10.11 into 11.4 2025-09-16 17:01:39 +03:00
my_memmem.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_mess.c MDEV-23846: O_TMPFILE error in mysqlbinlog stream output breaks restore 2020-11-23 12:16:45 +05:30
my_minidump.cc Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
my_mkdir.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_mmap.c libpmem cmake macros 2020-02-04 23:23:50 +04:00
my_new.cc Fixes that enables my_new.cc (new wrapper using my_malloc) 2021-05-19 22:27:27 +02:00
my_once.c Merge 10.11 into 11.4 2025-09-24 13:40:09 +03:00
my_open.c Merge 10.5 into 10.6 2024-12-11 14:46:43 +02:00
my_port.c Follow-up to changing FSF address 2019-05-11 18:30:45 +03:00
my_pread.c MDEV-33813 ERROR 1021 (HY000): Disk full (./org/test1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") 2025-03-06 09:40:55 +02:00
my_pthread.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
my_quick.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_rdtsc.c MDEV-35461 Remove redundant checks for standard library functions 2026-04-02 10:36:09 +11:00
my_read.c Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
my_redel.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_rename.c MDEV-35461 Remove redundant checks for standard library functions 2026-04-02 10:36:09 +11:00
my_rnd.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
my_safehash.c MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
my_safehash.h Update FSF address 2019-05-10 20:52:00 +03:00
my_seek.c myseek: AIX has no "tell" 2021-03-19 11:14:53 +11:00
my_setuser.c mysys: rename ME_xxx flags to match plugin api 2018-06-04 12:32:23 +02:00
my_sleep.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_stack.c Fixup bddbef3573 2024-10-31 10:01:01 +01:00
my_static.c cleanup: CREATE_TYPELIB_FOR() helper 2025-10-25 00:19:11 +07:00
my_static.h Added memory allocated by my_once_malloc() to global_memory_used 2025-09-14 19:24:07 +03:00
my_symlink.c Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
my_symlink2.c Change my_umask{,_dir} to mode_t and remove os_innodb_umask 2024-12-11 17:21:01 +11:00
my_sync.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
my_thr_init.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
my_thread_name.cc MDEV-32537 due to Linux, restrict thread name to 15 characters, also in PS. 2024-07-09 13:20:49 +02:00
my_timezone.cc MDEV-32189 follow-up: Properly initialize UErrorCode for ucal_getDefaultTimeZone() 2025-05-26 11:59:59 +02:00
my_uuid.c cleanup: uuid 2021-10-29 18:29:01 +02:00
my_virtual_mem.c MDEV-38671: Default to large innodb_buffer_pool_size_max (except on AIX) 2026-03-02 11:30:56 +02:00
my_win_popen.cc Ensure that source files contain only valid UTF8 encodings (#2188) 2023-05-19 13:21:34 +01:00
my_wincond.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_winerr.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_winfile.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
my_winthread.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_wintoken.c Merge pull request #1221 from grooverdan/10.4-MDEV-18851-multiple-sized-large-page-support 2020-04-02 23:54:08 +04:00
my_write.c Merge branch '11.8' into 12.2 2026-01-08 12:02:45 +01:00
mysys_priv.h post-merge changes 2024-10-29 14:47:32 +01:00
psi_noop.c Merge branch '11.8' into bb-12.1-release 2025-10-08 09:05:38 +02:00
ptr_cmp.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
queues.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
safemalloc.c Fixed a LOT of memory leaks in mariabackup 2025-09-04 18:08:39 +03:00
stacktrace.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
string.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
test_charset.c MDEV-8334: Rename utf8 to utf8mb3 2021-05-19 06:48:36 +02:00
test_dir.c Update FSF Address 2019-05-11 21:29:06 +03:00
test_thr_mutex.c Update FSF address 2019-05-10 20:52:00 +03:00
test_xml.c Update FSF Address 2019-05-11 21:29:06 +03:00
testhash.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
thr_lock.c Merge branch '11.1' into 11.2 2024-02-02 17:43:57 +01:00
thr_mutex.c assert in safe_mutex_lock that the mutex is initialized 2025-04-18 09:41:23 +02:00
thr_rwlock.c MDEV-34530 dead code in the thr_rwlock.c 2024-07-17 21:25:40 +02:00
thr_timer.c Fix review comment 2026-01-21 00:22:06 +07:00
tree.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
typelib.c cleanup: CREATE_TYPELIB_FOR() helper 2025-10-25 00:19:11 +07:00
waiting_threads.c Fix typos in C comments in miscellaneous files 2025-03-24 13:36:28 +11:00
wqueue.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
xxhash.h MDEV-9826 More hash algorithms for PARTITION BY [LINEAR] KEY 2026-02-05 11:55:12 +11:00