Vladislav Vaintroub
54b61b8b44
LP9091416: destroy timer mutex when threadpool scheduler shuts down.
...
Fixes valgrind warning.
2011-12-29 01:59:05 +01:00
Vladislav Vaintroub
ecad00bc4e
use performance-schema friendly mysql_thread_create() instead of pthread_create()
2011-12-28 16:23:46 +01:00
Vladislav Vaintroub
50e6ae1973
fix result file
2011-12-28 03:51:12 +01:00
Vladislav Vaintroub
ede423083b
disable threadpool threads in sys_var suite, when the suite runs with embedded server
2011-12-27 17:54:04 +01:00
Vladislav Vaintroub
27ef2fda98
fix test suite
2011-12-27 16:10:34 +01:00
Vladislav Vaintroub
c01fc2abc7
fix embedded build and warning
2011-12-27 12:20:06 +01:00
Vladislav Vaintroub
305ae953db
merge
2011-12-26 16:57:28 +01:00
Vladislav Vaintroub
8e6cfaf736
use ADD_CONVENIENCE_LIBRARY when building libservices, because
...
it is a static library that links with shared libraries, so strictly speaking it should
have -fPIC or equivalent flags. Also, it must always build as static no matter
whether BUILD_SHARED_LIBS is set.
2011-12-26 15:24:54 +01:00
Vladislav Vaintroub
7da4229f2e
Fix build on old 32 bit Centos (kernel 2.6.18)
2011-12-26 01:08:46 +01:00
Sergei Golubchik
b43ee49b4e
keycache sysvars used to pass incorrect offset into the parent constructor,
...
that caused the default value to be written into an arbitrary location inside
global_system_variables
2011-12-21 23:40:26 +01:00
Vladislav Vaintroub
c03deada6c
fix 64 bit Windows build
2011-12-21 02:44:50 +01:00
Vladislav Vaintroub
711d7452da
Fix threadpool related test failures
2011-12-21 00:56:34 +01:00
Vladislav Vaintroub
96041f8e1d
make sys_vars suite pass
2011-12-20 22:49:24 +01:00
Vladislav Vaintroub
df48c9bf20
allow changing thread_pool_size without server restart
2011-12-19 13:28:30 +01:00
Vladislav Vaintroub
2e4bde4c0f
Fix pool_of_threads test case
2011-12-18 23:03:35 +01:00
Vladislav Vaintroub
a5a22e9f64
Small adjustements to threadpool
2011-12-18 20:40:38 +01:00
unknown
61e0b38f7f
Restore some fixes for slow xtradb shutdown that were lost in the 5.5 merge.
2011-12-16 14:13:27 +01:00
Sergei Golubchik
2573f03a05
* remove WITH_DEBUG from CMakeLists.txt
...
* MYSQL_MAINTAINER_MODE and SAFEMALLOC take values ON/OFF/AUTO
(in all builds, in none, only in debug and platform dependent)
* ./configure prefers RelWithDebInfo unless the user overrides
2011-12-15 22:08:42 +01:00
Sergei Golubchik
1efdd5a572
rename debug variable to debug_dbug, to make test pass in release builds
...
(and to follow the naming conventons).
keep old debug variable, but mark it as deprecated.
2011-12-15 22:07:58 +01:00
Sergei Golubchik
b86ba751da
always use sql/sql_string.* files, never - client/sql_string.*
2011-12-15 19:28:38 +01:00
unknown
505a601821
Fix XtraDB build on windows (avoid #ifdef inside macro invocation).
2011-12-15 16:00:07 +01:00
unknown
14da1a036c
Merge missing file from XtraDB
2011-12-15 10:35:11 +01:00
unknown
a616e5ce64
Add file accidentally omitted in last commit
2011-12-15 10:34:39 +01:00
unknown
a6c7c53b63
Merge XtraDB from Percona-server-5.5.17-rel22.1 into MariaDB 5.5
2011-12-15 10:34:14 +01:00
Vladislav Vaintroub
468104567f
On Unix, correct default threadpool_idle_timeout to be 60 sec
2011-12-14 23:16:50 +01:00
unknown
6afbf295f0
Updated with XtraDB from Percona Server 5.5.17-rel22.1
...
Files copied from Percona-Server-5.5.17-rel22.1.tar.gz source tarball.
2011-12-14 14:58:22 +01:00
unknown
79479ee975
After-merge fixes for 5.5 merge.
...
Fix typo causing too low timeout value for wait_for_slave_param.inc.
Fix binlog checksums following 5.5 merge.
Make sure the rpl suite can run with --mysqld=--binlog-checksum=CRC32
Fix a number of problems in the code when checksums are enabled.
2011-12-14 12:02:03 +01:00
Sergei Golubchik
8404b44a84
fix new String:realloc* variants always to zero-terminate the string
2011-12-14 10:59:24 +01:00
Sergei Golubchik
818af42f1d
new valgrind suppression for ld.so
...
give mysqld more time to start under valgrind
2011-12-14 10:59:11 +01:00
Sergei Golubchik
db8f698c8a
new configure option: NOT_FOR_DISTRIBUTION
...
fix safemalloc to compile w/o libbfd.
CMakeLists.txt:
NOT_FOR_DISTRIBUTION option
cmake/readline.cmake:
simplify libedit/readline detection.
never use bundled libedit.
use system readline v6 only if NOT_FOR_DISTRIBUTION=1
configure.cmake:
use libbfd only if NOT_FOR_DISTRIBUTION=1
include/my_stacktrace.h:
link with libbfd even w/o safemalloc.
2011-12-14 10:53:32 +01:00
Sergei Golubchik
44d335b828
bugfix: cxxabi.h was not found
2011-12-13 11:07:55 +01:00
Sergei Golubchik
2ccf247e93
after merge changes:
...
* rename all debugging related command-line options
and variables to start from "debug-", and made them all
OFF by default.
* replace "MySQL" with "MariaDB" in error messages
* "Cast ... converted ... integer to it's ... complement"
is now a note, not a warning
* @@query_cache_strip_comments now has a session scope,
not global.
2011-12-12 23:58:40 +01:00
Sergei Golubchik
6cc9d0ffa0
move safemalloc out of dbug.
...
remeber a real backtrace for every allocation.
make safemalloc to tract C++ new/delete too.
collateral fixes to make the test suite pass.
2011-12-12 22:58:24 +01:00
Sergei Golubchik
37c81d81b3
another backtrace resolver that prints source file name and line number
2011-12-11 09:00:12 +01:00
Vladislav Vaintroub
c439494942
Fix Unix build
2011-12-10 19:35:44 +01:00
Vladislav Vaintroub
e91bbca5fb
Initial threadpool implementation for MariaDB 5.5
2011-12-08 19:17:49 +01:00
unknown
5e7b949e61
Fix crash due to wrong my_error() call (5.5 after-merge fix).
2011-12-05 13:17:54 +01:00
Sergei Golubchik
c753bedcb1
win64 sysvar portability fixes
2011-12-02 19:49:05 +01:00
unknown
943af08c80
Fix valgrind error after 5.5 merge (the 5.3 fix was accidentally lost in the merge).
2011-12-08 18:08:48 +01:00
Sergei Golubchik
cff0175d2a
install my_valgrind.h too
2011-12-02 16:29:02 +01:00
Vladislav Vaintroub
c4f5908a79
Fixed crashes found by application verifier:
...
- leaking mutex in lf_hash_destroy
- pthread_getspecific() before pthread_key_create() in my_thread_var_dbug()
(called by static C++ object constructors called in sys_vars)
- perfschema destroys mutexes that were not created.
2011-12-02 15:35:05 +01:00
Vladislav Vaintroub
970bc8cd0b
fix failing test cases in 5.5 main suite
2011-12-02 14:38:05 +01:00
Vladislav Vaintroub
5beb816a7e
Make it possible to compile without SAFEMALLOC in debug builds
...
Default to no SAFEMALLOC on Windows, because C runtime malloc
has this functionslity already
2011-12-02 14:35:26 +01:00
Vladislav Vaintroub
5d67eb6b5c
Fix Aria unit tests on Windows.
...
Replace statements connected with bitwise OR with series of "if"s.
The later is guaranteed to execute in order, bitwise OR does not have
specific order for statement execution.
2011-11-30 00:26:32 +01:00
Vladislav Vaintroub
25a9b33591
fix signing and packaging
2011-11-30 00:23:50 +01:00
Sergei Golubchik
ec38c1bbd7
small cleanup
2011-11-28 23:15:12 +01:00
Sergei Golubchik
b27d93f347
by default disable pbxt too
2011-11-28 18:20:51 +01:00
Sergei Golubchik
07209ea34b
consistency fixes for mysqld --help
2011-11-28 17:48:19 +01:00
Sergei Golubchik
48b6861198
compilation failure on Solaris
2011-11-28 17:45:17 +01:00
Vladislav Vaintroub
8800cc9003
merge
2011-11-28 13:50:00 +01:00