Commit graph

86596 commits

Author SHA1 Message Date
Rich Prohaska
9596d75797 DB-548 generate dirty upgrade test cases with old rollback nodes 2014-09-10 18:18:53 -04:00
Rich Prohaska
3bffb9de16 FT-592 add tokuftdump --node N parameter 2014-09-10 14:52:18 -04:00
John Esmet
12bf3294a4 FT-273 Fix a bug where we'd overactively assert that the memcmp magic
bits were inconsistent though the handle was opened without those bits
set. This caused dbremove to always fail.
2014-09-10 09:48:11 -04:00
Igor Babaev
5023bb899d Fixed bug mdev-6292.
Avoided exponential recursive calls of JOIN_CACHE::join_records() in the case
of non-nested outer joins.
A different solution is required to resolve this performance problem for
nested outer joins.
2014-09-09 16:44:54 -07:00
Sergei Golubchik
ae3cc4f1b7 MDEV-6561 libedit detection is broken
fix readline/libedit detection:
* search in readline/, editline/ and edit/readline/
* fix typos CMAKE_REQUIRES_LIBRARIES -> CMAKE_REQUIRED_LIBRARIES
* use correct libedit API
* use different cmake variables for libedit and readline
2014-09-09 19:03:05 +02:00
Rich Prohaska
20e92c1d33 FT-591 fix valgrind uninitialized value error in block allocator test caused by reading past the end of a the blockpair array 2014-09-09 06:47:11 -04:00
Sergei Golubchik
6b720ae4cb MDEV-6605 Multiple Clients Inserting Causing Error: Failed to read auto-increment value from storage engine
* handler::get_auto_increment() was not expecting any errors from the storage engine.
  That was wrong, errors could happen.
* ha_partition::get_auto_increment() was doing index lookups in partition under a mutex.
  This was redundant (engine transaction isolation was covering that anyway)
  and harmful (causing deadlocks).
2014-09-08 18:38:13 +02:00
Sergei Golubchik
8deb9066e2 fix compilation on windows - wrong include file 2014-09-08 17:10:48 +02:00
Murthy Narkedimilli
3139aa87b4 Adding patch for security bug 19471516 2014-09-08 11:33:55 +02:00
Sergei Golubchik
638075e5e9 MDEV-6577 auth_socket.so does not build in kFreeBSD
if it has to be a mess of ifdefs, then mess of ifdefs it is
2014-09-06 09:59:01 +02:00
Sergei Golubchik
695781a53e MDEV-6595 [PATCH] HPPA: storage/xtradb/os/os0stacktrace.c:88:54: error: invalid operands to binary & (have 'void *' and 'long unsigned int')
fix precedence as in the patch from Brian Evans
2014-09-06 09:51:34 +02:00
Rich Prohaska
1a4342501d DB-310 run tokudb_support_xa.test on mysql and mariadb 5.5 2014-09-05 09:49:27 -04:00
Murthy Narkedimilli
7a4a0bf1c9 Applying the patch to remove WL#7219 which was by mistake included by the dev team. 2014-09-05 08:37:21 +02:00
BohuTANG
ef579d8921 DB-310 add tokudb_support_xa variable
this variable scope is Global, Session
type is boolean and default value is TRUE
2014-09-05 13:17:54 +08:00
John Esmet
cf3dae3b8d FT-273 Be more specific about why memcmp magic is interesting 2014-09-03 14:52:48 -04:00
John Esmet
40165a1083 FT-273 Prevent setting the memcmp magic on db handles for which a FT is already open. Improve comments. Add a test. 2014-09-03 14:38:04 -04:00
Rich Prohaska
507da246c8 DB-718 test case for broken error handling in tokudb_fractal_tree_info info schema plugin 2014-09-03 08:13:49 -04:00
Rich Prohaska
b7feee730c Merge branch 'master' of github.com:Tokutek/tokudb-engine 2014-09-03 07:50:03 -04:00
Rich Prohaska
f7c43e4b9c DB-718 handle errors in tokudb info schema plugins 2014-09-03 07:49:52 -04:00
Jan Lindström
454037b794 MDEV-6682 innodb.innodb_simulate_comp_failures_small is too slow
if it's run on a real disk
  
  Made test smaller.
2014-09-03 07:37:13 +03:00
Rich Prohaska
ddc9e7488a DB-717 add iterations limit to tokustat 2014-09-02 16:23:32 -04:00
Rich Prohaska
d4fb687de3 Merge branch 'master' of github.com:Tokutek/tokudb-engine 2014-09-02 15:44:49 -04:00
Rich Prohaska
561edb14e8 DB-717 add iterations limit to tokustat 2014-09-02 15:44:40 -04:00
Rich Prohaska
6ee0e1c22e DB-716 use jemalloc 3.6.0 in tokudb builds 2014-09-02 13:01:56 -04:00
Rich Prohaska
9d28e3a6cf FT-548 fix dirty upgrade build on osx problem 2014-09-02 12:29:55 -04:00
Rich Prohaska
2f04fc27c8 FT-548 fix dirty upgrade build on osx problem 2014-09-02 11:53:49 -04:00
Rich Prohaska
ed9df111a5 FT-548 support upgrade after dirty shutdown of versions 25 through 27 2014-09-02 09:55:24 -04:00
Sergei Golubchik
6389fd3c79 MDEV-6673 I_S.SESSION_VARIABLES shows global values
only look at lex->option_type if it's a SHOW command, not a SELECT
2014-08-31 19:55:11 +02:00
Rich Prohaska
6827d3bd51 FT-312 compile big-shutdown on osx 2014-08-30 06:35:59 -04:00
Sergey Vojtovich
c01c819209 Backport from 10.0:
MDEV-6483 - Deadlock around rw_lock_debug_mutex on PPC64

This problem affects only debug builds on PPC64.

There are at least two race conditions around
rw_lock_debug_mutex_enter and rw_lock_debug_mutex_exit:

- rw_lock_debug_waiters was loaded/stored without setting
  appropriate locks/memory barriers.
- there is a gap between calls to os_event_reset() and
  os_event_wait() and in such case we're supposed to pass
  return value of the former to the latter.

Fixed by replacing self-cooked spinlocks with system mutexes.
These days system mutexes offer much better performance. OTOH
performance is not that critical for debug builds.
2014-08-29 16:14:11 +04:00
Sergey Vojtovich
40497577ff Backport from 10.0:
MDEV-6450 - MariaDB crash on Power8 when built with advance tool
            chain

InnoDB mutex_exit() function calls __sync_test_and_set() to release
the lock. According to manual this function is supposed to create
"acquire" memory barrier whereas in fact we need "release" memory
barrier at mutex_exit().

The problem isn't repeatable with gcc because it creates
"acquire-release" memory barrier for __sync_test_and_set().
ATC creates just "acquire" barrier.

Fixed by creating proper barrier at mutex_exit() by using
__sync_lock_release() instead of __sync_test_and_set().
2014-08-29 16:02:46 +04:00
Leif Walsh
31a941185b MX-1217 fix TokuMergeLibs to handle empty libs 2014-08-28 16:25:14 -04:00
Rich Prohaska
f7ee3d4a26 DB-712 fix tokudb locks info schema test results due to new schema 2014-08-28 15:11:55 -04:00
Rich Prohaska
967fcd6177 Merge branch 'db703' of github.com:Tokutek/tokudb-engine into db703 2014-08-28 06:19:59 -04:00
Rich Prohaska
08eb88eec4 DB-712 split locks and lock_waits dname into schema, table, and dictionary 2014-08-28 06:19:32 -04:00
Rich Prohaska
8c5cd26053 DB-703 DB-704 split dname into schema, table, and dictionary 2014-08-28 06:19:32 -04:00
Rich Prohaska
b585b4f71b DB-713 separate some long running tokudb tests so that valgrind runs without --big-test can exclude them 2014-08-27 18:00:57 -04:00
Rich Prohaska
5c4c580ef1 DB-713 separate some long running tokudb tests so that valgrind runs without --big-test can exclude them 2014-08-27 18:00:19 -04:00
Rich Prohaska
f704ecb91e DB-712 split locks and lock_waits dname into schema, table, and dictionary 2014-08-27 14:49:11 -04:00
Rich Prohaska
aed2c264b7 DB-703 DB-704 split dname into schema, table, and dictionary 2014-08-27 14:07:16 -04:00
Rich Prohaska
66504277bf DB-702 print upgrade failed clean shutdown required error message 2014-08-27 10:31:45 -04:00
John Esmet
8db687e6c7 FT-590 Calculate a node's weight using a 64 bit integer to prevent
overflow
2014-08-26 14:28:16 -04:00
Murthy Narkedimilli
b142bfd087 Renaming the enterprise packages to commercial 2014-08-26 14:01:38 +02:00
Sergei Golubchik
dd25e7f0ad MDEV-6601 Assertion `!thd->in_active_multi_stmt_transa ction() || thd->in_multi_stmt_transaction_mode()' failed on executing a stored procedure with commit
Don't restore the whole of thd->server_status after a routine invocation,
only restore SERVER_STATUS_CURSOR_EXISTS and SERVER_STATUS_LAST_ROW_SENT,
as --ps --embedded needs.
In particular, don't restore SERVER_STATUS_IN_TRANS.
2014-08-25 16:58:19 +02:00
Rich Prohaska
a0150feed6 FT-312 fix centos compile 2014-08-24 12:56:35 -04:00
Rich Prohaska
88a7ade688 FT-312 speedup shutdown by parallelizing compression 2014-08-24 08:45:19 -04:00
Rich Prohaska
b5dd1e7f5f FT-586 FT-563 change ft-verify to work with promotion 2014-08-23 10:58:26 -04:00
Harin Vadodaria
b9f2b1c135 Bug#19370676 : YASSL PRE-AUTH BUFFER OVERFLOW WHEN CLIENT
LIES ABOUT SUITE_LEN_
               and
Bug#19355577 : YASSL PRE-AUTH BUFFER OVERFLOW WHEN CLIENT
               LIES ABOUT COMP_LEN_

Description : Updating yaSSL to version 2.3.4.
2014-08-23 08:59:03 +05:30
Rich Prohaska
61195094c7 FT-584 use trylock inside of the lock tree manager get_status function so that it is non-blocking 2014-08-22 07:57:47 -04:00
Rich Prohaska
ff5a25cca3 FT-584 use trylock inside of the lock tree manager get_status function so that it is non-blocking 2014-08-21 19:21:21 -04:00