summaryrefslogtreecommitdiff
path: root/sql/signal_handler.cc
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-419 ensure that all HAVE_XXX constants can be set by cmakeSergei Golubchik2012-07-311-17/+0
| | | | | add missing checks to configure.cmake remove dead code and unused HAVE_xxx constants from the sources
* Fixed some simple warnings on Windows.Vladislav Vaintroub2012-04-131-1/+1
|
* mysql 5.5.23 mergeSergei Golubchik2012-04-101-0/+1
|\
| * Merge 5.1 => 5.5Tor Didriksen2012-03-061-0/+1
| |\ | | | | | | | | | | | | | | | | | | | | | storage/innobase/include/sync0rw.ic: Prerequisite for compiling with gcc4 on solaris: ignore result from os_compare_and_swap_ulint storage/myisam/mi_dynrec.c: Prerequisite for compiling with gcc4 on solaris: cast to void*
| | * Bug#11761576 54082: HANDLE_SEGFAULT MAKES USE OF UNSAFE FUNCTIONSTor Didriksen2012-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Post-push fixes. mysys/stacktrace.c: Missing comma after "%s" format specifier. sql/mysqld.cc: Move #define to signal_handler.cc sql/signal_handler.cc: Missing #define UNSAFE_DEFAULT_LINUX_THREADS 200
* | | Merge mariadb 5.3->mariadb 5.5unknown2012-03-241-1/+1
|\ \ \
| * \ \ mergeSergei Golubchik2012-03-211-1/+1
| |\ \ \
| | * \ \ mergeSergei Golubchik2012-03-211-1/+1
| | |\ \ \
| | | * | | restore my_safe_printf_stderr for "crash-safe sigsegv handler"Sergei Golubchik2012-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use vsnprintf() use write() on windows, not WriteFile or fwrite() localtime_r is still a problem
* | | | | | Merge 5.3->5.5Igor Babaev2012-03-171-1/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 5.2->5.3unknown2012-03-141-1/+1
| |\ \ \ \ \ | | |/ / / /
| | * | | | mergeVladislav Vaintroub2012-03-121-1/+1
| | |\ \ \ \ | | | |/ / /
| | | * | | LP953714: Fix formatting of the crash messages in signal/exception handlerVladislav Vaintroub2012-03-121-1/+1
| | | | | |
* | | | | | Merged the implementation of MDEV-28 LIMIT ROWS EXAMINED into MariaDB 5.5.unknown2012-03-121-0/+4
|\ \ \ \ \ \
| * | | | | | Implementation of MDEV-28 LIMIT ROWS EXAMINEDunknown2012-03-111-0/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://mariadb.atlassian.net/browse/MDEV-28 This task implements a new clause LIMIT ROWS EXAMINED <num> as an extention to the ANSI LIMIT clause. This extension allows to limit the number of rows and/or keys a query would access (read and/or write) during query execution.
* | | | | | 5.3 mergeSergei Golubchik2012-02-211-33/+39
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Automatic mergeMichael Widenius2012-02-211-10/+16
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge with 5.1Michael Widenius2012-02-211-2/+2
| | |\ \ \ \ | | | |/ / /
| | | * | | Automatic mergeMichael Widenius2012-02-211-2/+2
| | | |\ \ \
| | | | * | | More general handling of memory loss in dlclose (backported from 5.2)Michael Widenius2012-02-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed supression in mysql-test-run so it also works on windows. mysql-test/mysql-test-run.pl: Fixed supression so it also works on windows. mysql-test/valgrind.supp: More general handling of memory loss in dlclose (backported from 5.2) sql/signal_handler.cc: Added newlines around link to how to do bug reports
| | * | | | | Automatic mergeMichael Widenius2012-02-211-0/+6
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | |
| | | * | | | Added missing signal values to signal_handler.ccMichael Widenius2012-02-211-0/+6
| | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | sql/signal_handler.cc: Added missing signal values.
| | * | | | Fix compilation on Windows, and various Windows related mistakes introduced byVladislav Vaintroub2012-02-201-8/+14
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | "safe exception patch". Remove misleading comments suggesting about signal() Windows, the routine here is part of a exception handler, and sig parameter is an exception code.
| * | | | Merge with MariaDB 5.2Michael Widenius2012-02-211-8/+32
| |/ / /
| * | | Merge with MYSQL 5.1.61Michael Widenius2012-02-201-27/+26
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Fixed README with link to source Merged InnoDB change to XtraDB README: Added information of where to find MariaDB code storage/archive/ha_archive.cc: Removed memset() of rows, a MariaDB checksum's doesn't touch not used data.
* | | mysql-5.5 mergeSergei Golubchik2012-01-161-16/+41
| |/ |/|
* | Bug#11761576 54082: HANDLE_SEGFAULT MAKES USE OF UNSAFE FUNCTIONSTor Didriksen2011-12-021-3/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | handle_segfault is the signal handler code of mysqld. however, it makes calls to potentially unsafe functions localtime_r, fprintf, fflush. include/my_stacktrace.h: Add safe versions of itoa() write() and snprintf(). libmysqld/CMakeLists.txt: Move signal handler to separate file. mysys/stacktrace.c: Remove unsafe function calls. sql/CMakeLists.txt: Move signal handler to separate file. sql/mysqld.cc: Move signal handler to separate file. sql/set_var.h: Add missing #include dependency. sql/sys_vars.cc: Cleanup .h and .cc files. sql/sys_vars.h: Cleanup .h and .cc files.
* Bug#11761576 54082: HANDLE_SEGFAULT MAKES USE OF UNSAFE FUNCTIONSTor Didriksen2011-11-301-0/+257
handle_segfault is the signal handler code of mysqld. however, it makes calls to potentially unsafe functions localtime_r, fprintf, fflush. include/my_stacktrace.h: Add safe versions of itoa() write() and snprintf(). libmysqld/CMakeLists.txt: Move signal handler to separate file. mysys/stacktrace.c: Remove unsafe function calls. sql/CMakeLists.txt: Move signal handler to separate file. sql/Makefile.am: Move signal handler to separate file. sql/mysqld.cc: Move signal handler to separate file. sql/signal_handler.cc: Remove unsafe function calls.