Commit graph

86574 commits

Author SHA1 Message Date
Sergei Golubchik
7e6d4bba0c XtraDB 5.5.40-36.1 2014-10-08 00:44:37 +02:00
Leif Walsh
a11909473d changed to ANNOTATE_IGNORE_{READS,WRITES}_{BEGIN,END}
DRD seems to prefer those annotations to
DRD_IGNORE_VAR/DRD_STOP_IGNORING_VAR.

Helgrind is stupid, and VALGRIND_HG_{DIS,EN}ABLE_CHECKING pairs
bizarrely "reclaim" the memory location for the current thread when
re-enabling checking.  So they probably aren't completely suitable for
our purposes, but Helgrind provides no facility for doing what we want
because it just wants to watch the world burn.  So we add a couple of
Helgrind suppressions in addition.

Also, added a cute RAII wrapper for reading a variable in a racy way.
Writing can be done the same way if we only want to appease DRD, but
because Helgrind does things on a memory location-basis and not a
thread-basis, things get a little tricky.
2014-10-07 16:07:49 -04:00
Sergei Golubchik
ef7d950e04 percona-server-5.5.40-36.1 2014-10-07 21:41:48 +02:00
Rich Prohaska
02cd38d84d Merge commit '3bf25268d1db81a92a157fdbf81916c28a676202' into releases/tokudb-7.5 2014-10-07 14:46:43 -04:00
Rich Prohaska
a24711022f Merge commit '1e3bc86b0901c0005551442b89d3a8d392b2ce6d' into releases/tokudb-7.5 2014-10-07 14:46:27 -04:00
Leif Walsh
bd415e73ed fixed version check inequality 2014-10-07 14:21:22 -04:00
Leif Walsh
d258ae30dd fixed cmake for versions without generator expressions (hopefully) 2014-10-07 13:57:43 -04:00
unknown
63ca157c92 MDEV-6781: bug with query cache when using views
The data base lenth passed to invalidator fixed
2014-10-07 19:38:45 +02:00
Rich Prohaska
6e982517be Merge branch 'ft600' into releases/tokudb-7.5 2014-10-07 10:26:36 -04:00
Rich Prohaska
b599259005 Merge branch 'ft600' 2014-10-07 10:25:52 -04:00
Sergei Golubchik
e73e1e7c7a packaging issues:
* skip debian 44_scripts__mysql_config__libs.dpatch it does not apply anymore
  (and anyway it would not work for a static library)
* fix the path for install(mariadb.pc)
2014-10-07 16:21:53 +02:00
Sergei Golubchik
fc58ba6c76 MDEV-5553 A view or procedure with a non existing definer can block "SHOW TABLE STATUS" with an unclear error message
Don't double-check privileges for a column in the GROUP BY that refers to
the same column in SELECT clause. Privileges were already checked for SELECT clause.
2014-10-07 11:55:39 +02:00
Sergei Golubchik
e5bc21af37 MDEV-4813 Replication fails on updating a MEMORY table with an index using btree
skip NULL VARCHAR key parts like it's done elsewhere
2014-10-07 10:54:14 +02:00
Sergei Golubchik
d2e808025a fixes for decimal type 2014-10-07 10:53:43 +02:00
Sergei Golubchik
7989c62bc0 post-merge fixes 2014-10-07 10:53:06 +02:00
Leif Walsh
9b24022104 fixed cmake policy CMP0022:
either use all-plain or all-keyword style of target_link_libraries
2014-10-06 16:39:10 -04:00
Leif Walsh
4fba582251 fixed some valgrind sanity tests 2014-10-06 16:23:13 -04:00
Leif Walsh
968b35a2c6 use TOKU_ macros to handle !USE_VALGRIND 2014-10-06 16:09:15 -04:00
Leif Walsh
192b5e651e moved to generator expressions for cmake debug flags 2014-10-06 15:53:16 -04:00
Leif Walsh
521ada594e fixed some helgrind warnings in ydb/helgrind_test_groupcommit_count.tdb 2014-10-06 15:52:37 -04:00
Leif Walsh
5a3e4d4f0a optimized test_keylen_diff so it's faster under valgrind
also widened one valgrind suppression to also catch something we
initialize in the assert layer
2014-10-06 15:05:45 -04:00
Leif Walsh
9ab0d76920 disabled keyrange until we fix it 2014-10-06 14:20:00 -04:00
Leif Walsh
44096e8baa fixed cmake warnings for 3.0.0 2014-10-06 14:20:00 -04:00
Sergei Golubchik
0d2cba5df2 XtraDB 5.5.39-36.0 2014-10-06 20:06:39 +02:00
Sergei Golubchik
014214d034 percona-server-5.5.39-36.0 2014-10-06 19:56:00 +02:00
Sergei Golubchik
1ddfce4840 mysql-5.5.40 2014-10-06 19:53:55 +02:00
Rich Prohaska
f63af1659f FT-600 locktree refs crash test and bug fix 2014-10-06 11:26:23 -04:00
Sergei Golubchik
c0977073e1 MDEV-6743 crash in GROUP_CONCAT(IF () ORDER BY 1)
backport the new fix from 10.0
2014-10-03 23:04:25 +02:00
Rich Prohaska
69756a5994 DB-735 use thd_killed 2014-10-03 15:41:54 -04:00
Leif Walsh
ebe1212815 Merge branch 'bugs/599' 2014-10-03 11:39:59 -04:00
Leif Walsh
4a8b0cb082 FT-599 switched from _SVID_SOURCE to _DEFAULT_SOURCE
Newer libc doesn't like _SVID_SOURCE:
https://sourceware.org/ml/libc-alpha/2013-12/msg00652.html
2014-10-03 11:39:23 -04:00
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