mariadb/include
Sergei Petrunia 284593413f MDEV-35253: xa_prepare_unlock_unmodified fails: shift exponent 32 is too large
The code in best_access_path() uses PREV_BITS(uint, N) to
compute a bitmap of all keyparts: {keypart0, ... keypart{N-1}).

The problem is that PREV_BITS($type, N) macro code can't handle the case
when N=<number of bits in $type).
Also, why use PREV_BITS(uint, ...) for key part map computations when
we could have used PREV_BITS(key_part_map) ?

Fixed both:
- Change PREV_BITS(type, N) to handle any N in [0; n_bits(type)].
- Change PREV_BITS() to use key_part_map when computing key_part_map bitmaps.
2024-10-25 18:02:14 +03:00
..
atomic
mysql MDEV-33277 In-place upgrade causes invalid AUTO_INCREMENT values 2024-02-08 10:35:45 +02:00
aria_backup.h
assume_aligned.h
big_endian.h
byte_order_generic.h
byte_order_generic_x86.h
byte_order_generic_x86_64.h typo fixed. HAVE_mi_uint8korr 2023-11-02 19:42:39 +11:00
CMakeLists.txt post fix for "move alloca() definition from all *.h files to one new header file" 2023-03-08 17:36:36 +01:00
decimal.h
dur_prop.h
errmsg.h
ft_global.h
handler_ername.h Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
handler_state.h
hash.h
heap.h Merge 10.4 into 10.5 2023-01-03 17:08:42 +02:00
ilist.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
json_lib.h MDEV-23187: Assorted assertion failures in json_find_path with certain 2023-05-16 01:52:16 +05:30
keycache.h
lf.h
little_endian.h
m_ctype.h Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
m_string.h Fixed safe_strcpy_truncated() to get rid of compiler warnings. 2024-10-16 17:24:46 +03:00
ma_dyncol.h Merge 10.4 into 10.5 2023-01-03 17:08:42 +02:00
maria.h
mariadb_capi_rename.h MDEV-27295 Backport SQL service, introduced by MDEV-19275. 2023-11-05 23:35:32 +04:00
my_alarm.h
my_alloc.h Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
my_alloca.h Merge branch '10.4' into 10.5 2023-04-24 12:43:47 +02:00
my_atomic.h
my_atomic_wrapper.h Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
my_attribute.h
my_base.h Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
my_bit.h MDEV-34392 Inplace algorithm violates the foreign key constraint 2024-10-01 09:41:56 +05:30
my_bitmap.h
my_byteorder.h
my_check_opt.h
my_compare.h Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
my_compiler.h
my_context.h
my_counter.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
my_cpu.h MDEV-34825: my_cpu.h - non-glibc ism for POWER 2024-09-05 12:14:06 +10:00
my_crypt.h
my_dbug.h
my_decimal_limits.h header typos 2022-12-20 08:55:48 +11:00
my_default.h
my_dir.h header typos 2022-12-20 08:55:48 +11:00
my_getopt.h
my_global.h MDEV-35253: xa_prepare_unlock_unmodified fails: shift exponent 32 is too large 2024-10-25 18:02:14 +03:00
my_handler_errors.h Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
my_libwrap.h
my_list.h
my_md5.h
my_minidump.h
my_net.h
my_nosys.h
my_pthread.h MDEV-33092 Undefined reference to concurrency on Solaris 2024-01-10 10:16:20 +01:00
my_rdtsc.h MDEV-34297 get_rnd_value() of ib_counter_t is unnecessarily complex 2024-06-05 09:54:14 +03:00
my_rnd.h
my_service_manager.h
my_stack_alloc.h MDEV-34533 asan error about stack overflow when writing record in Aria 2024-10-16 17:24:46 +03:00
my_stacktrace.h
my_sys.h MDEV-34340 move get_exepath to mysys as my_get_exepath 2024-10-16 11:46:19 +11:00
my_time.h
my_tree.h
my_uctype.h
my_user.h
my_valgrind.h
my_xml.h
myisam.h Merge 10.4 into 10.5 2023-01-03 17:08:42 +02:00
myisamchk.h Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
myisammrg.h MDEV-31083 ASAN use-after-poison in myrg_attach_children 2023-05-23 09:16:36 +03:00
myisampack.h
mysql.h Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
mysql_async.h
mysql_com.h Merge from 10.4 to 10.5 2024-04-15 17:46:49 +02:00
mysql_com_server.h
mysql_embed.h
mysql_time.h
mysql_version.h.in
mysqld_default_groups.h
mysys_err.h
no_valgrind_without_big.inc MDEV-31893 Valgrind reports issues in main.join_cache_notasan 2023-08-10 20:57:42 +02:00
pack.h
password.h
pfs_file_provider.h
pfs_idle_provider.h
pfs_memory_provider.h
pfs_metadata_provider.h
pfs_socket_provider.h
pfs_stage_provider.h
pfs_statement_provider.h
pfs_table_provider.h
pfs_thread_provider.h
pfs_transaction_provider.h
probes_mysql.d.base
probes_mysql.h
probes_mysql_nodtrace.h.in
queues.h header typos 2022-12-20 08:55:48 +11:00
rijndael.h
scope.h
service_versions.h MDEV-33277 In-place upgrade causes invalid AUTO_INCREMENT values 2024-02-08 10:35:45 +02:00
source_revision.h.in
span.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
sql_common.h MDEV-27595 Backport SQL service, introduced by MDEV-19275. 2023-11-05 23:35:31 +04:00
ssl_compat.h Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
sslopt-case.h
sslopt-longopts.h cleanup: unused OPT_xxx and client_priv.h 2024-05-06 17:16:10 +02:00
sslopt-vars.h
t_ctype.h
thr_alarm.h
thr_lock.h
thr_timer.h
thread_pool_priv.h
typelib.h
violite.h
waiting_threads.h header typos 2022-12-20 08:55:48 +11:00
welcome_copyright_notice.h
wqueue.h
wsrep.h