Commit graph

85813 commits

Author SHA1 Message Date
Rich Prohaska
5c147cc943 Tokutek/mysql56#42 turn on HA_PRIMARY_KEY_REQUIRED_FOR_POSITION to fix failing partition tests on mysql 5.6 2013-12-16 07:47:36 -05:00
Sergei Golubchik
39a8d7965d don't run tokudb tests for --embedded by default 2013-12-15 15:55:15 +01:00
Sergei Golubchik
47b615d84b Fix tokudb.hotindex-insert-bigchar failure in buildbot.
This test needs at least 320M for tokudb-max-lock-memory.
Normally tokudb-max-lock-memory is auto-sized to be 1/16th
of the available RAM size, and many our test VMs have 4G of RAM.
2013-12-15 11:31:57 +01:00
Rich Prohaska
484c30bdf2 #152 fix MDEV-5399 2013-12-14 10:05:22 -05:00
Kent Boortz
afd24eb63d Bug#29716 : Bug#11746921 : MYSQL_INSTALL_DB REFERS TO THE (OBSOLETE) MYSQLBUG SCRIPT DURING INSTALLATION
Bug#68742 : Bug#16530527 : OBSOLETE BUGREPORT ADDRESSES
2013-12-14 13:05:36 +01:00
Sergei Golubchik
e68bccc743 5.3 merge 2013-12-13 13:00:38 +01:00
Marc Alff
44e4929f34 Push to mysql-5.5 2013-12-13 10:26:05 +01:00
Igor Babaev
3ec4296ec4 Fixed bug mdev-5410.
The fix for bug #27937 was incomplete: it did not handle correctly the queries
containing UNION with global ORDER BY in subselects.
2013-12-12 13:55:33 -08:00
Rich Prohaska
503863aeac remove junk debug code 2013-12-12 16:23:15 -05:00
Rich Prohaska
5172855d16 #150 cleanup cursor when a txn is retired 2013-12-12 16:14:12 -05:00
Sergei Golubchik
ca083a764f my_addr_resolve: don't resolve unknown addresses to ??:0(??), but return an error instead
(better to have an address in the output than ??:0)
2013-12-12 18:14:14 +01:00
Sergei Golubchik
c47dd98f90 backport from 10.0: "bugfix: MYSQL_THDVAR_STR plugins with PLUGIN_VAR_MEMALLOC didn't work
(PLUGIN_VAR_MEMALLOC is 0x8000 and cannot be saved in a char as such)"
2013-12-12 18:14:08 +01:00
Sergei Golubchik
5313e00199 fix tokudb tests that fail in --ps-protocol
https://github.com/Tokutek/ft-engine/issues/153
2013-12-12 14:58:44 +01:00
Sergei Golubchik
976e242c78 update tokudb version. mask tests that are broken there. 2013-12-12 11:42:00 +01:00
sayantan dutta
2dc95d5940 Bug #17827378 - MTR DOES NOT REPORT IF A TEST FAILS TO DROP CREATED EVENTS 2013-12-12 12:20:57 +05:30
Rich Prohaska
9ba363b4a4 Merge branch 'master' of github.com:Tokutek/ft-engine 2013-12-11 15:47:32 -05:00
Rich Prohaska
521cf40b4e port to mysql 5.6.15 2013-12-11 15:47:25 -05:00
Sergei Golubchik
088c069462 fix debian builds 2013-12-11 21:09:18 +01:00
Rich Prohaska
38f2a07d68 Merge branch 'master' of github.com:Tokutek/ft-engine 2013-12-11 14:43:07 -05:00
Rich Prohaska
174eed9269 change debug build directory names 2013-12-11 14:42:57 -05:00
Igor Babaev
fde2777b27 Another attempt to fix the memory leak of mdev-5400. 2013-12-11 10:13:08 -08:00
Rich Prohaska
a79eb8e85a #134 fix non-determinism in the IS lock waits tests 2013-12-11 11:52:44 -05:00
Sergei Golubchik
70f6ac10b3 MDEV-5323 Ctrl-C not working under Ubuntu
don't reset interrupted_query after sending the KILL signal, otherwise
the client won't know it has to stop fetching and printing the data.
2013-12-11 17:42:33 +01:00
Marc Alff
82eed657a6 Bug#17928281 'CHECK_PERFORMANCE_SCHEMA()' LEAVES 'CURRENT_THD' REFERRING
DESTRUCTED THD OBJ 

Prior to fix, function check_performance_schema() could leave
behind stale pointers in thread local storage, for the following keys:
- THR_THD (used by _current_thd)
- THR_MALLOC (used for memory allocation)
This is an unsafe practice, which can potentially cause crashes,
and that can cause other bugs when code is modified during maintenance.

With this fix, thread local storage keys used temporarily within
function check_performance_schema() are cleaned up after use.
2013-12-11 11:15:23 +01:00
Jan Lindström
ea6f92662c MDEV-5430: Debian MariaDB-Galera packages do not get built in buildbot [Part 4]
Missed one file name change.
2013-12-11 10:45:49 +02:00
Jan Lindström
92a15782f9 MDEV-5428: Debian MariaDB-Galera packages do not get built in buildbot [Part 3]
Missed one lintian rule.
2013-12-11 09:38:21 +02:00
Nirbhay Choubey
48e83ba6f7 * Updated auto_increment_xxx_func.result to reflect the changes
made by https://bugs.launchpad.net/codership-mysql/+bug/587170

* Fix for some compiler errors/warnings.
2013-12-10 22:11:42 -05:00
Rich Prohaska
2924878769 #141 fix another open close race 2013-12-10 17:16:57 -05:00
Nirbhay Choubey
e1ed3dcebf MDEV#5407, MDEV#5386, MVED#4222
Problem: As, wsrep_provider is dynamic and can accept
a valid provider while server is running. Patch for
#4222 wrongly skips the initialization of binlog plugin
during server start, when wsrep provider is not specified.

In wsrep build, if opt_log_bin is not provided, we still
init binlog with wsrep_emulate_bin_log ON.

Fix: This patch fixes #4222 by adding a check to return
from binlog_savepoint_set without proceeding further if
wsrep_on is OFF/false.

This patch also fixes MDEV#5407 and reverts changes pushed
for MDEV#5386 (no longer valid).
2013-12-10 11:30:23 -05:00
Jan Lindström
3ad45220bc Additional name fixes. 2013-12-10 17:45:02 +02:00
Rich Prohaska
1940f7173f build 5.5 and 5.6 in the same build directory 2013-12-10 08:15:24 -05:00
Jan Lindström
170c3c2b21 MDEV-5423: Debian MariaDB-Galera packages do not get built in buildbot [Part 2]
Fix: Server name is mariadb-galera-5.5
2013-12-10 10:34:41 +02:00
Jan Lindström
ded756c90d MDEV-5408: Crash in mariadb-wsrep during plugin load at startup
Analysis: If wsrep_provider is not specified ("none") the wsrep is not
initialized.

Fix: Add additional guard not to call wsrep->post_rollback if 
wsrep_provider is not specified.
2013-12-10 10:14:43 +02:00
Rich Prohaska
12e3e629a4 #141 fix table open and close race 2013-12-09 15:55:53 -05:00
Zardosht Kasheff
6721a2c1e7 Merge branch 'bugs/115' 2013-12-09 15:46:56 -05:00
Zardosht Kasheff
41364a4ba8 refs #115, don't allow mempools to grow unbounded by restricting their size in
omt_compress_kvspace.
2013-12-09 15:46:49 -05:00
Rich Prohaska
610474f974 #150 cleanup indexing cursor when a txn is retired 2013-12-08 16:36:37 -05:00
Igor Babaev
d5262a63fc Fixed bug mdev-5400:
a memory leak in save_index() first seen in the test case for mdev-5382.
2013-12-07 07:51:02 -08:00
Zardosht Kasheff
046f70889d Merge branch 'bugs/113' 2013-12-06 15:01:39 -05:00
Zardosht Kasheff
439e846e3d refs #113, add a callback function to the cursor to check for interrupts.
This allows callers to prevent a cursor that churns through many many committed
deletes to run amok.
2013-12-06 15:01:28 -05:00
Sergei Golubchik
fe38576064 install embedded_priv.h in ${INSTALL_INCLUDEDIR}/private 2013-12-06 15:29:25 +01:00
Igor Babaev
21d0d8c5bf Merge 2013-12-05 12:40:04 -08:00
Igor Babaev
ccf5871d7b Fixed bug mdev-5382
When marking used columns the function find_field_in_table_ref() erroneously
called the walk method for the real item behind a view/derived table field
with the second parameter set to TRUE.
This erroneous code was introduced in 2006.
2013-12-05 11:13:20 -08:00
Jan Lindström
3df2aa9458 MDEV-5385: Debian MariaDB-Galera packages do not get built in buildbot
Analysis: File names were incorrect for distribution files.

Fix: Fixed file names to be same as in 5.5.
2013-12-05 19:22:00 +02:00
Nirbhay Choubey
af2bb9de9d Fix for a failing test. 2013-12-07 12:30:53 -05:00
Rich Prohaska
b65e6e3d74 #141 redo table open and close locking to avoid table opening pileup 2013-12-05 11:59:34 -05:00
Nirbhay Choubey
8acebe6d63 MDEV#5384: Update init script in MariaDB Cluster
Reduced the sleep time to 10secs.
2013-12-05 10:59:18 -05:00
Jan Lindström
f41ee56df7 MDEV-5386: Server crashes in thd_get_ha_data on maria-5.5-galera tree while running 'check testcase before test
Analysis: In Galera binlog is not enabled by default in case
when wsrep provider is not specified. In this case we should
not call thd->binlog_flush_pending_rows_event(TRUE). 

Fix: Added a additional guard on galera not to call binlog
function if wsrep provider is not specified and binlog is
not enabled.
2013-12-05 14:53:22 +02:00
Jan Lindström
329fb58656 MDEV-5385: Debian MariaDB-Galera packages do not get built in buildbot
Added missing .in files and updated CMakeLists.txt to contain galera
specific files.
2013-12-04 18:49:40 +02:00
Leif Walsh
a0aa7c8558 changed logformat to link statically with portability #112
fixes #112
2013-12-04 11:26:20 -05:00