mariadb/mysys
Marko Mäkelä e50b2bdbcf MDEV-20425 Implement Boolean debug build option debug_assert
Commit 536215e32f in MariaDB Server 10.3.1
introduced the compiler flag (not cmake option) DBUG_ASSERT_AS_PRINTF
that converts DBUG_ASSERT in non-debug builds into printouts.

For debug builds, it could be useful to be able to convert DBUG_ASSERT
into a warning or error printout, to allow execution to continue.
This would allow debug builds to be used for reproducing hard failures
that occur with release builds.

my_assert: A Boolean flag (set by default), tied to the new option
debug_assert that is available on debug builds only.
When set, DBUG_ASSERT() will invoke assert(), like it did until now.
When unset, DBUG_ASSERT() will invoke fprintf(stderr, ...)
with the file name, line number and assertion expression.
2019-08-29 13:13:17 +03:00
..
array.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
base64.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ChangeLog
charset-def.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
charset.c MDEV-19750 mysql command wrong encoding 2019-06-17 18:04:47 +01:00
checksum.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
CMakeLists.txt MDEV-19845: Adaptive spin loops 2019-06-27 10:53:18 +03:00
errors.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
file_logger.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
get_password.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
guess_malloc_library.c Fixed compiler warnings in guess_malloc_library 2018-01-15 16:44:44 +02:00
hash.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
lf_alloc-pin.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
lf_dynarray.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
lf_hash.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
list.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ma_dyncol.c Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
mf_arr_appstr.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_cache.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
mf_dirname.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03: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 fix MDEV-18750: failed to flashback large-size binlog file 2019-06-05 13:56:27 +02:00
mf_iocache2.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
mf_keycache.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03: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 Update FSF Address 2019-05-11 21:29:06 +03:00
mf_path.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_qsort.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_qsort2.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_radix.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mf_same.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_sort.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mf_soundex.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_tempdir.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mf_tempfile.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
mf_unixpath.c Update FSF Address 2019-05-11 21:29:06 +03:00
mf_wcomp.c Update FSF Address 2019-05-11 21:29:06 +03:00
mulalloc.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
my_access.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_addr_resolve.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
my_alarm.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_alloc.c Merge 10.2 into 10.3 2019-05-29 11:32:46 +03:00
my_atomic_writes.c Minor spelling fixes in code comments, docs and output 2018-01-12 16:49:02 +02: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 Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_chmod.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
my_chsize.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_compare.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_compress.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_conio.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_context.c Minor spelling fixes in code comments, docs and output 2018-01-12 16:49:02 +02:00
my_copy.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_cpu.c MDEV-19845: Adjust for Skylake based on benchmarks 2019-07-02 17:44:05 +03:00
my_create.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_default.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_delete.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03: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 Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
my_file.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_fopen.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_fstream.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
my_gethwaddr.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_getncpus.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_getopt.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_getpagesize.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_getsystime.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_getwd.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
my_init.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_largepage.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
my_lib.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_libwrap.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_likely.c Optimize performance schema likely/unlikely 2018-05-07 00:07:33 +03:00
my_lock.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_lockmem.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_malloc.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_memmem.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_mess.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_mkdir.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_mmap.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_new.cc Update FSF Address 2019-05-11 21:29:06 +03:00
my_once.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_open.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_port.c Follow-up to changing FSF address 2019-05-11 18:30:45 +03:00
my_pread.c Fix debug assert to match its intention. 2019-06-17 19:01:15 +01:00
my_pthread.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_quick.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_rdtsc.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_read.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_redel.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_rename.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_rnd.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
my_safehash.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
my_safehash.h Update FSF address 2019-05-10 20:52:00 +03:00
my_seek.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_setuser.c
my_sleep.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_static.c MDEV-20425 Implement Boolean debug build option debug_assert 2019-08-29 13:13:17 +03:00
my_static.h Update FSF Address 2019-05-11 21:29:06 +03:00
my_symlink.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_symlink2.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_sync.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_thr_init.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_timer_cycles.il Update FSF Address 2019-05-11 21:29:06 +03:00
my_uuid.c Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
my_wincond.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_windac.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_winerr.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_winfile.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_winthread.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_write.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mysys_priv.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
psi_noop.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
ptr_cmp.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
queues.c spelling fixes 2017-03-07 13:38:06 +04:00
safemalloc.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
stacktrace.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
string.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
test_charset.c Update FSF Address 2019-05-11 21:29:06 +03: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_alarm.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
thr_lock.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
thr_mutex.c MDEV-20183 data race at safe_mutex_lock() 2019-07-26 12:36:06 +03:00
thr_rwlock.c Update FSF Address 2019-05-11 21:29:06 +03:00
thr_timer.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
tree.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
typelib.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
waiting_threads.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
wqueue.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00