An error occurred fetching the project authors.
- 06 Sep, 2021 2 commits
-
-
Vladislav Vaintroub authored
-
Marko Mäkelä authored
-
- 04 Sep, 2021 1 commit
-
-
Vladislav Vaintroub authored
This is a side-effect of my_large_malloc() introduction,MDEV-18851 It removed a cast to size_t to variable 'blocks' in multiplication blocks * keycache->key_cache_block_size , creating ulong value instead of correct size_t. Replaced a couple of ulongs with appropriate data type, which is size_t. Also, fixed casts to ulongs in crash handler messages, so that people would not be confused by that, too. Interestingly, aria did not expose the same problem even if it contains copied and pasted code in ma_pagecache, because Aria had some ulongs removed when fixing a similar problem in MDEV-9256.
-
- 24 Jul, 2021 1 commit
-
-
Sergei Golubchik authored
because the name was misleading, it counts not threads, but THDs, and as THD_count is the only way to increment/decrement it, it could as well be declared inside THD_count.
-
- 14 Apr, 2021 1 commit
-
-
David Carlier authored
signal handler, display coredump file pattern similarly to MDEV-25294 but for FreeBSD, thankfully the sysctl OID is the same.
-
- 30 Mar, 2021 1 commit
-
-
David CARLIER authored
-
- 14 Feb, 2021 1 commit
-
-
Monty authored
-
- 29 Jun, 2020 1 commit
-
-
Daniel Black authored
-
- 23 May, 2020 1 commit
-
-
Monty authored
When my_vsnprintf() is patched, the code protected disabled with 'WAITING_FOR_BUGFIX_TO_VSPRINTF' should be enabled again. Also all %b formats in this patch should be revert to %s again
-
- 03 Apr, 2020 1 commit
-
-
Daniel Black authored
-
- 10 Mar, 2020 1 commit
-
-
Jon Olav Hauglid authored
This patch removes support for LinuxThreads. It was superseded by NPTL in Linux 2.6 (2003).
-
- 11 May, 2019 1 commit
-
-
Vicențiu Ciorbaru authored
* Update wrong zip-code
-
- 01 May, 2019 1 commit
-
-
Daniel Black authored
The working directory, resource limits and core pattern will aid the user finding a core file in the case of failure. While the core file size is most relevant however other resource limits may give a clue as the the cause of the fatal signal so include them also. As signal handler functions are limited, proc filesystem reads/ readlink calls are used instead of the more obvious getcwd/getrlimits functions which aren't listed as signal safe. Results in output of the form: Writing a core file: working directory at /tmp/datadir Resource Limits: Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes 47194 47194 processes Max open files 1024 4096 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 47194 47194 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us Core pattern: |/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t %P %I Segmentation fault (core dumped) Closes #537
-
- 20 Feb, 2018 1 commit
-
-
Vladislav Vaintroub authored
-DWITH_ASAN can be used as well now, on x64 Fix many clang-cl warnings.
-
- 01 Jan, 2018 1 commit
-
-
Monty authored
-
- 30 Aug, 2017 1 commit
-
-
Vladislav Vaintroub authored
Update wait_timeout.test to add test case for this.
-
- 23 Aug, 2017 2 commits
-
-
Monty authored
If compiling a non DBUG binary with -DDBUG_ASSERT_AS_PRINTF asserts will be changed to printf + stack trace (of stack trace are enabled). - Changed #ifndef DBUG_OFF to #ifdef DBUG_ASSERT_EXISTS for those DBUG_OFF that was just used to enable assert - Assert checking that could greatly impact performance where changed to DBUG_ASSERT_SLOW which is not affected by DBUG_ASSERT_AS_PRINTF - Added one extra option to my_print_stacktrace() to get more silent in case of stack trace printing as part of assert.
-
Michael Widenius authored
- Added sql/mariadb.h file that should be included first by files in sql directory, if sql_plugin.h is not used (sql_plugin.h adds SHOW variables that must be done before my_global.h is included) - Removed a lot of include my_global.h from include files - Removed include's of some files that my_global.h automatically includes - Removed duplicated include's of my_sys.h - Replaced include my_config.h with my_global.h
-
- 21 Mar, 2017 1 commit
-
-
Alexey Botchkov authored
instance connects to server. New thread kill status added KILL_SLAVE_SAME_ID, and the related error message.
-
- 20 Dec, 2016 1 commit
-
-
Vladislav Vaintroub authored
Do not use 0x%p to output thd address, use %p
-
- 06 Dec, 2016 1 commit
-
-
Sergei Golubchik authored
when crashing on a signal, don't exit(), but re-signal it, so that the caller could check WIFSIGNALED()
-
- 01 Sep, 2016 1 commit
-
-
Sergey Vojtovich authored
-
- 29 Aug, 2016 1 commit
-
-
Sergei Golubchik authored
-
- 12 Jul, 2016 1 commit
-
-
Vicențiu Ciorbaru authored
Addreses are not necessarily between heap_start && heap_end. Malloc calls using mmap can place pointers outside these bounds. In this case, we'll warn the user that the query pointer is potentially invalid. However, we'll attempt to print the data anyway after we're done printing everything else.
-
- 08 Mar, 2016 1 commit
-
-
iangilfillan authored
-
- 04 Mar, 2016 1 commit
-
-
Otto Kekäläinen authored
-
- 07 Feb, 2016 1 commit
-
-
Monty authored
server has started (assert in sys_var::where get_sys_var_value_origin())
-
- 01 Sep, 2015 1 commit
-
-
Monty authored
- If run with valgrind, mysqltest will now wait longer when syncronizing slave with master - Ensure that we wait with cleanup() until slave thread has stopped. - Added signal_thd_deleted() to signal close_connections() that all THD's has been freed. - Check in handle_fatal_signal() that we don't use variables that has been freed. - Increased some timeouts when run with --valgrind Other things: - Fixed wrong test in one_thread_per_connection_end() if galera is used. - Removed not needed calls to THD_CHECK_SENTRY() when we are calling 'delete thd'.
-
- 07 Oct, 2014 1 commit
-
-
Monty authored
Added MAX_STATEMENT_TIME user variable to automaticly kill queries after a given time limit has expired. - Added timer functions based on pthread_cond_timedwait - Added kill_handlerton() to signal storage engines about kill/timeout - Added support for GRANT ... MAX_STATEMENT_TIME=# - Copy max_statement_time to current user, if stored in mysql.user - Added status variable max_statement_time_exceeded - Added KILL_TIMEOUT - Removed digest hash from performance schema tests as they change all the time. - Updated test results that changed because of the new user variables or new fields in mysql.user This functionallity is inspired by work done by Davi Arnaut at twitter. Test case is copied from Davi's work. Documentation can be found at https://kb.askmonty.org/en/how-to-limittimeout-queries/ mysql-test/r/mysqld--help.result: Updated for new help message mysql-test/suite/perfschema/r/all_instances.result: Added new mutex mysql-test/suite/sys_vars/r/max_statement_time_basic.result: Added testing of max_statement_time mysql-test/suite/sys_vars/t/max_statement_time_basic.test: Added testing of max_statement_time mysql-test/t/max_statement_time.test: Added testing of max_statement_time mysys/CMakeLists.txt: Added thr_timer mysys/my_init.c: mysys/mysys_priv.h: Added new mutex and condition variables Added new mutex and condition variables mysys/thr_timer.c: Added timer functions based on pthread_cond_timedwait() This can be compiled with HAVE_TIMER_CREATE to benchmark agains timer_create()/timer_settime() sql/lex.h: Added MAX_STATEMENT_TIME sql/log_event.cc: Safety fix (timeout should be threated as an interrupted query) sql/mysqld.cc: Added support for timers Added status variable max_statement_time_exceeded sql/share/errmsg-utf8.txt: Added ER_QUERY_TIMEOUT sql/signal_handler.cc: Added support for KILL_TIMEOUT sql/sql_acl.cc: Added support for GRANT ... MAX_STATEMENT_TIME=# Copy max_statement_time to current user sql/sql_class.cc: Added timer functionality to THD. Added thd_kill_timeout() sql/sql_class.h: Added timer functionality to THD. Added KILL_TIMEOUT Added max_statement_time variable in similar manner as long_query_time was done. sql/sql_connect.cc: Added handling of max_statement_time_exceeded sql/sql_parse.cc: Added starting and stopping timers for queries. sql/sql_show.cc: Added max_statement_time_exceeded for user/connects status in MariaDB 10.0 sql/sql_yacc.yy: Added support for GRANT ... MAX_STATEMENT_TIME=# syntax, to be enabled in 10.0 sql/structs.h: Added max_statement_time user resource sql/sys_vars.cc: Added max_statement_time variables mysql-test/suite/roles/create_and_drop_role_invalid_user_table.test Removed test as we require all fields in mysql.user table. scripts/mysql_system_tables.sql scripts/mysql_system_tables_data.sql scripts/mysql_system_tables_fix.sql Updated mysql.user with new max_statement_time field
-
- 06 Jan, 2014 2 commits
-
-
Murthy Narkedimilli authored
-
Murthy Narkedimilli authored
-
- 10 Jun, 2013 4 commits
-
-
Murthy Narkedimilli authored
-
Murthy Narkedimilli authored
-
Murthy Narkedimilli authored
-
Murthy Narkedimilli authored
-
- 25 Mar, 2013 1 commit
-
-
Michael Widenius authored
-
- 25 Feb, 2013 2 commits
-
-
Murthy Narkedimilli authored
-
Murthy Narkedimilli authored
-
- 31 Jul, 2012 1 commit
-
-
Sergei Golubchik authored
add missing checks to configure.cmake remove dead code and unused HAVE_xxx constants from the sources
-
- 13 Apr, 2012 1 commit
-
-
Vladislav Vaintroub authored
-