mariadb/mysys
Eric Herman 401ff6994d MDEV-26221: DYNAMIC_ARRAY use size_t for sizes
https://jira.mariadb.org/browse/MDEV-26221
my_sys DYNAMIC_ARRAY and DYNAMIC_STRING inconsistancy

The DYNAMIC_STRING uses size_t for sizes, but DYNAMIC_ARRAY used uint.
This patch adjusts DYNAMIC_ARRAY to use size_t like DYNAMIC_STRING.

As the MY_DIR member number_of_files is copied from a DYNAMIC_ARRAY,
this is changed to be size_t.

As MY_TMPDIR members 'cur' and 'max' are copied from a DYNAMIC_ARRAY,
these are also changed to be size_t.

The lists of plugins and stored procedures use DYNAMIC_ARRAY,
but their APIs assume a size of 'uint'; these are unchanged.
2021-10-19 16:00:26 +03:00
..
crc32 Fix building crc32_arm64 on NetBSD/aarch64 2021-07-22 16:41:59 +10:00
array.c MDEV-26221: DYNAMIC_ARRAY use size_t for sizes 2021-10-19 16:00:26 +03:00
base64.c
ChangeLog
charset-def.c MDEV-26669 Add MY_COLLATION_HANDLER functions min_str() and max_str() 2021-09-27 17:10:22 +04:00
charset.c Change CHARSET_INFO character set and collaction names to LEX_CSTRING 2021-05-19 22:54:07 +02:00
CMakeLists.txt Merge 10.5 into 10.6 2021-09-30 10:38:44 +03:00
crc32ieee.cc MDEV-24745 Generic CRC-32C computation wrongly uses SSE4.2 instructions 2021-04-13 16:15:15 +03:00
errors.c
file_logger.c
get_password.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
guess_malloc_library.c
hash.c MDEV-26221: DYNAMIC_ARRAY use size_t for sizes 2021-10-19 16:00:26 +03:00
lf_alloc-pin.c
lf_dynarray.c
lf_hash.cc
list.c
ma_dyncol.c Added typedef decimal_digits_t (uint16) for number of digits in most 2021-05-19 22:27:27 +02:00
mf_arr_appstr.c
mf_cache.c
mf_dirname.c
mf_fn_ext.c
mf_format.c
mf_getdate.c
mf_iocache.c Merge 10.5 into 10.6 2021-06-21 17:49:33 +03:00
mf_iocache2.c
mf_keycache.c Merge 10.5 into 10.6 2021-09-06 10:31:32 +03:00
mf_keycaches.c
mf_loadpath.c
mf_pack.c
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 fix clang build: check alignment the other way 2021-07-26 12:37:25 +03:00
mf_qsort2.c
mf_radix.c
mf_same.c
mf_sort.c
mf_soundex.c
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-26601: mysys - O_TMPFILE ^ O_CREAT 2021-09-14 21:06:34 +10:00
mf_unixpath.c
mf_wcomp.c
mulalloc.c
my_access.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_addr_resolve.c Fixed my_addr_resolve 2021-05-19 22:27:27 +02:00
my_alarm.c
my_alloc.c Added support to MEM_ROOT for write protected memory 2021-07-18 19:59:35 +03:00
my_atomic_writes.c MDEV-26029: Implement my_test_if_thinly_provisioned() for ScaleFlux 2021-06-29 15:20:16 +03:00
my_basename.c
my_bit.c
my_bitmap.c cleanup: MY_BITMAP mutex 2021-08-26 23:39:52 +02:00
my_chmod.c
my_chsize.c
my_compare.c
my_compress.c
my_conio.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_copy.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_cpu.c
my_create.c
my_default.c MDEV-26221: DYNAMIC_ARRAY use size_t for sizes 2021-10-19 16:00:26 +03:00
my_delete.c MDEV-26221: DYNAMIC_ARRAY use size_t for sizes 2021-10-19 16:00:26 +03:00
my_div.c
my_dlerror.c
my_error.c
my_file.c
my_fopen.c
my_fstream.c
my_gethwaddr.c
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 MDEV-22219: error on parsing negative unsigned options 2021-04-07 14:04:55 +10:00
my_getpagesize.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_getsystime.c Windows : fix warning about potential division by 0 2021-05-09 13:26: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 Added support to MEM_ROOT for write protected memory 2021-07-18 19:59:35 +03:00
my_largepage.c my_largepage: Fix build with MAP_ALIGNED by no MAP_ALIGNED_SUPER 2021-05-25 10:32:45 +10:00
my_lib.c
my_libwrap.c
my_likely.c
my_lock.c
my_lockmem.c Added support to MEM_ROOT for write protected memory 2021-07-18 19:59:35 +03:00
my_malloc.c
my_memmem.c
my_mess.c
my_minidump.cc MDEV-11499 mysqltest, Windows : improve diagnostics if server fails to shutdown 2021-09-24 11:49:28 +02: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
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
my_open.c Added checking to protect against simultaneous double free in safemalloc 2021-05-19 22:54:14 +02:00
my_port.c
my_pread.c
my_pthread.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_quick.c
my_rdtsc.c
my_read.c
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-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_rnd.c
my_safehash.c
my_safehash.h
my_seek.c
my_setuser.c
my_sleep.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
my_static.c Fixes that enables my_new.cc (new wrapper using my_malloc) 2021-05-19 22:27:27 +02:00
my_static.h
my_symlink.c
my_symlink2.c
my_sync.c
my_thr_init.c
my_uuid.c MDEV-24285 support oracle build-in function: sys_guid 2021-05-19 22:54:11 +02:00
my_win_popen.cc
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
my_winfile.c
my_winthread.c
my_wintoken.c
my_write.c
mysys_priv.h Fixes that enables my_new.cc (new wrapper using my_malloc) 2021-05-19 22:27:27 +02:00
psi_noop.c Merge 10.4 into 10.5 2021-08-31 10:04:56 +03:00
ptr_cmp.c
queues.c
safemalloc.c Added checking to protect against simultaneous double free in safemalloc 2021-05-19 22:54:14 +02:00
stacktrace.c MDEV-25870 Windows - fix ARM64 cross-compilation 2021-06-07 23:15:36 +02:00
string.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
test_charset.c MDEV-8334: Rename utf8 to utf8mb3 2021-05-19 06:48:36 +02:00
test_dir.c
test_thr_mutex.c
test_xml.c
testhash.c
thr_alarm.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
thr_lock.c Merge 10.5 into 10.6 2021-05-04 07:37:38 +03:00
thr_mutex.c MDEV-26637: (explicit length) ASAN: main.metadata and user_variables.basic MTR failures after MDEV-26572 2021-10-12 10:01:07 +02:00
thr_rwlock.c
thr_timer.c
tree.c
typelib.c
waiting_threads.c MDEV-26221: DYNAMIC_ARRAY use size_t for sizes 2021-10-19 16:00:26 +03:00
wqueue.c