Commit graph

86593 commits

Author SHA1 Message Date
Sergei Golubchik
604b653394 MDEV-5749 Please add a .pc file to MariaDB for easy use via pkg-config
1. move cflags/libs cleanup from mysql_config.sh (runtime)
   to for_client.cmake (build time). Include/library paths are
   still calculated at runtime (they depend on the location of mysql_config)

2. Use cleaned-up cflags/libs to generate mariadb.pc

3. remove obsolete @expansions@ from mysql_config (for variables that are
   never set in cmake files)
2014-10-02 16:58:26 +02:00
Sergei Golubchik
11242006ad MDEV-6461 mysqld should not trap SIGTSTP if running with --gdb/--debug-gdb 2014-10-02 13:52:51 +02:00
Sergei Golubchik
9d4b365d5d MDEV-6550 Missing dependency on Debian 7 (Wheezy) installation package
add bsdutils dependency, because mariadb-server-5.5 deb package uses logger
2014-10-02 13:47:52 +02:00
Sergei Golubchik
c58f561e0d MDEV-5707 MTR fails on kfreebsd
apply debian's patch to workaround kfreebsd bug
2014-10-02 12:57:20 +02:00
Sergei Golubchik
384999f3e8 MDEV-6528 review debian patches for mysql
and apply whatever was reasonable
2014-10-02 11:58:24 +02:00
Sergei Golubchik
e90851008b MDEV-6800 auth_socket plugin fails to build on OpenBSD with MariaDB 10.0.14
typo (thanks, Brad Smith!)
2014-10-02 11:58:13 +02:00
Sergei Golubchik
aa36d9e742 MDEV-5120 Test suite test maria-no-logging fails
stat structure (from <sys/stat.h>) is conditionally defined
to have different layout and size depending on the defined macros.
The correct macro is defined in my_config.h, which means it MUST be
included first (or, at least before <features.h> - so, practically,
before including any system headers).
2014-10-02 11:57:40 +02:00
Rich Prohaska
1275a85be2 DB-732 map TOKUDB_OUT_OF_LOCKS tokudb error to HA_ERR_LOCK_TABLE_FULL handler error 2014-10-01 10:31:15 -04:00
Rich Prohaska
d24fd98e99 DB-732 map TOKUDB_OUT_OF_LOCKS tokudb error to HA_ERR_LOCK_TABLE_FULL handler error 2014-10-01 09:24:21 -04:00
Rich Prohaska
de49a3889c DB-724 run bf_create_select_hash_part on PS 5.6.21 2014-09-30 16:21:35 -04:00
Rich Prohaska
02fb9a88ed DB-724 run bf_create_select_hash_part on PS 5.6.21 2014-09-30 16:21:04 -04:00
Rich Prohaska
ccd49929f0 DB-724 speed up and simplify the bulk fetch tests 2014-09-29 11:58:04 -04:00
Rich Prohaska
19993a5380 DB-450 use interruptible cursors for index scans and info schema scans 2014-09-29 11:57:53 -04:00
Rich Prohaska
7b049d05c7 DB-397 remove table lock for tables with triggers in tokudb::start_stmt 2014-09-29 11:57:20 -04:00
Rich Prohaska
753e4f3f15 DB-724 speed up and simplify the bulk fetch tests 2014-09-27 14:57:16 -04:00
Rich Prohaska
665a9b6ea7 DB-450 use interruptible cursors for index scans and info schema scans 2014-09-26 11:45:39 -04:00
Rich Prohaska
b3601d02f8 DB-397 remove table lock for tables with triggers in tokudb::start_stmt 2014-09-26 08:02:24 -04:00
John Esmet
29afd999fd Merge branch 'releases/tokumx-2.0' 2014-09-25 14:28:49 -04:00
John Esmet
23fa603320 FT-596 Fix a variety of drd failures by wrapping access to benign racy
variables with `drd ignore var' and `drd stop ignoring var'
2014-09-25 14:28:25 -04:00
Sergei Golubchik
02125587e1 update tokudb version in CMakeLists.txt, disable unstable tokudb tests 2014-09-25 19:00:41 +02:00
Alexander Barkov
68354ef272 MDEV-6592 Assertion `ltime->day == 0' failed with TIMESTAMP, MAKETIME 2014-10-03 15:07:53 +04:00
Sergey Vojtovich
b737d902a8 MDEV-6774 - Deadlock between SELECT, DROP TABLE, SHOW STATUS and
SET @@global.log_output

Deadlock chain:
rdlock(LOCK_logger) -> lock(LOCK_open)     SELECT 1
lock(LOCK_open)     -> lock(LOCK_status)   DROP TABLE t1
lock(LOCK_status)   -> lock(LOCK_g_s_v)    SHOW STATUS
lock(LOCK_g_s_)     -> wrlock(LOCK_logger) SET @@global.log_output=DEFAULT

Fixed by removing relationship between LOCK_status and
LOCK_global_system_variables during SHOW STATUS: we don't really need
LOCK_global_system_variables when accessing status vars.
2014-09-25 10:43:11 +04:00
Rich Prohaska
58fe2c4169 FT-594 add fractal tree version 26 stress data directories 2014-09-21 13:07:51 -04:00
Rich Prohaska
dd11c391ed FT-594 add fractal tree version 24 (tokudb 7.0.1) and version 27 (tokudb 7.5.0) stress data directories 2014-09-20 09:56:10 -04:00
Sergey Vojtovich
d1e46a50bc MDEV-6749 - Deadlock between GRANT/REVOKE, SELECT FROM I_S.COLUMNS,
SET slow_query_log and failed connection attempt

A very subtle though valid deadlock. Deadlock chain:
wrlock(LOCK_grant)    -> lock(acl_cache->lock) GRANT/REVOKE CREATE/DROP USER
lock(LOCK_open)       -> rdlock(LOCK_grant)    SELECT * FROM I_S.COLUMNS
wrlock(LOCK_logger)   -> lock(LOCK_open)       SET @@global.slow_query_log='ON'
lock(acl_cache->lock) -> rdlock(LOCK_logger)   Failed connection

Fixed by removing relationship between acl_cache->lock and LOCK_logger
during failed connection attempt.
2014-09-18 19:45:06 +04:00
Sergei Golubchik
53a44915c5 merge 2014-09-23 23:37:35 +02:00
Sergei Golubchik
b91432b4a4 tokudb 7.5.0 2014-09-23 22:03:35 +02:00
Michael Widenius
348a24a70a Allow tokudb test to pass even if jemalloc is not available. 2014-09-23 13:57:55 +03:00
Michael Widenius
bab638d842 MDEV-6743 crash in GROUP_CONCAT(IF () ORDER BY 1)
mysql-test/r/func_group.result:
  Test case
mysql-test/t/func_group.test:
  Test case
sql/item_sum.cc:
  Restore ORDER for prepared statements
2014-09-23 13:57:29 +03:00
Sergei Golubchik
34f3aa9915 remove unused (obsolete) declarations from slave.h 2014-09-19 09:21:51 +02:00
Sergei Golubchik
e41bca0066 support statically linked jemalloc. use that for release builds 2014-09-18 17:00:44 +02:00
Sergei Golubchik
33656e042d for mysql-test: fix mysqlhotcopy script to return a predictable exit code 2014-09-16 13:35:28 +02:00
Rich Prohaska
bb75cf0670 DB-720 run the cluster key partition test on mariadb 2014-09-15 14:49:16 -04:00
Rich Prohaska
f0c376c495 DB-720 run the cluster key partition test on mariadb 2014-09-15 14:08:50 -04:00
Sergei Golubchik
f18b1400d1 debian: require jemalloc >= 3.0.0, because 2.2.5 (on precise) crashes 2014-09-15 18:55:17 +02:00
Rich Prohaska
b183d81d2e DB-714 read free replication 2014-09-15 07:47:43 -04:00
Rich Prohaska
ac45ebc14f DB-720 test case for clustering keys on partitioned tokudb tables 2014-09-15 07:27:18 -04:00
Rich Prohaska
d85b993ca8 DB-504 redo bulk fetch select tests in partitioned tables 2014-09-13 16:06:55 -04:00
Sergei Golubchik
e3deed438a ft-index: restore a chunk that was lost in the merge
and other fixes for gcc-4.9.1 on sid
2014-09-13 21:32:49 +02:00
Sergei Golubchik
77a0c9b161 tokudb: use thd_killed() api function, not thd->killed directly 2014-09-13 08:32:53 +02:00
Sergei Golubchik
e7ddd89adc tokudb tests: master-slave.inc should be included *last* 2014-09-13 08:16:00 +02:00
Sergei Golubchik
aef3818981 tokudb 7.1.8 2014-09-13 00:28:15 +02:00
Sergei Golubchik
c799d65baf 5.3 merge 2014-09-12 16:51:41 +02:00
Rich Prohaska
b73bef237a DB-716 use jemalloc 3.6.0 in debug env 2014-09-12 07:31:01 -04:00
Sergei Golubchik
32360bb728 MDEV-6526 INFO_SRC and INFO_BIN installed wrong
don't install them at all
2014-09-12 08:41:44 +02:00
Sergei Golubchik
269f0a6871 MDEV-6619 SHOW PROCESSLIST returns empty result set after KILL QUERY
don't send an OK packet if the SHOW PROCESSLIST was killed
2014-09-12 08:41:35 +02:00
Sergei Golubchik
3d94523638 MDEV-6613 build system endianness test fails for ppc64le (i.e. Ubuntu)
* remove bundled jemalloc, use the system one
* force jemalloc in release builds on linux
2014-09-12 08:41:16 +02:00
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