Commit Graph

88840 Commits

Author SHA1 Message Date
df4dd593f2 MDEV-6247: Merge 10.0-galera to 10.1.
Merged lp:maria/maria-10.0-galera up to revision 3879.

Added a new functions to handler API to forcefully abort_transaction,
producing fake_trx_id, get_checkpoint and set_checkpoint for XA. These
were added for future possiblity to add more storage engines that
could use galera replication.
2014-08-26 15:43:46 +03:00
e974b56438 MDEV-6512: InnoDB: Assertion failure in thread 4537024512 in file
buf0buf.cc line 2642.

Analysis: innodb_compression_algorithm is a global variable and
can change while we are building page compressed page. This could
lead page corruption.

Fix: Cache innodb_compression_algorithm on local variable before
doing any compression or page formating to avoid concurrent
change. Improved page verification on debug builds.
2014-07-31 11:31:39 +03:00
4e3796d720 Fix compiler error on Windows. 2014-07-29 06:10:18 +03:00
1f69ff4413 Fix compiler error on Windows. 2014-07-25 18:45:14 +03:00
56c4b016ad Fiix random test failures on fil_decompress_page_2 function.
Analysis: InnoDB writes also files that do not contain FIL-header.
This could lead incorrect analysis on os_fil_read_func function
when it tries to see is page page compressed based on FIL_PAGE_TYPE
field on FIL-header. With bad luck uncompressed page that does
not contain FIL-headed, the byte on FIL_PAGE_TYPE position could
indicate that page is page comrpessed.

Fix: Upper layer must indicate is file space page compressed
or not. If this is not yet known, we need to read the FIL-header
and find it out. Files that we know that are not page compressed
we can always just provide FALSE.
2014-07-25 14:37:10 +03:00
911c4811de cleanup and updated test results 2014-07-23 14:48:13 +02:00
bb66e66daa Changed set_default_role_for test to clean up correctly 2014-07-23 14:48:13 +02:00
a3550feb49 Extended create_and_drop_role_invalid_user_table
Added extra check for default_role column.
2014-07-23 14:48:13 +02:00
5298996180 Fixed comment. 2014-07-23 14:48:12 +02:00
64b27c734e Added default role implementation 2014-07-23 14:48:12 +02:00
43351faf2b Added extra error messages for default role.
Also fixed wording on one message.
2014-07-23 14:48:12 +02:00
c55f5d1add Added default_role column to mysql_system_tables 2014-07-23 14:48:12 +02:00
6b9998578e Merge branch '10.1' of github.com:MariaDB/server into 10.1 2014-07-23 11:56:36 +03:00
47daf3b422 Fix default value for innodb_compression_algorithm to 0 (uncompressed)
to avoid test failures.
2014-07-23 11:55:34 +03:00
fa0628a6ac MDEV-6456: Add progress indication for "Reading tablespace information from the .ibd files"
# of processed files is printed every 15 sec.
2014-07-22 19:50:47 +04:00
dbc79ce055 MDEV-6354: Implement a way to read MySQL 5.7.4-labs-tplc page
compression format (Fusion-IO).

Addeed LZMA and BZIP2 compression methods.
2014-07-22 06:56:50 +03:00
f98b52aba1 Increased the version number 2014-07-05 15:20:49 +04:00
8025d26dc5 remove a couple of old unused #defines 2014-07-04 10:15:49 +02:00
01046e7f92 RBR triggers enabling in 10.1 2014-07-02 16:18:28 +03:00
4ee6bf2203 deb hack: don't set CASSANDRA_DEB_FILES unless cassandra can be built 2014-06-29 22:44:12 +02:00
b35c5912b6 MDEV-6376: InnoDB: Assertion failure in thread 139995225970432
in file buf0mtflu.cc line 570.

Analysis: Real timing bug, we should take the mutex before we
try to send those shutdown messages, that would make sure
that threads doing a unfinished flush (they have acquired
this mutex) have time to do their work before we add shutdown
messages to work queue. Currently, we just add those shutdown
messages to work queue and code assumes that at flush, there
is constant number of items to be processed and thus
leading to assertion.
2014-06-28 13:53:18 +03:00
36e86bac72 Remove out-of-date comments 2014-06-27 15:39:44 +04:00
c235de12ae MDEV-6394: ANALYZE DELETE .. RETURNING fails with ERROR 2027 Malformed packet (now, the code)
Forgot the code
mariadb-10.1.0
2014-06-26 22:06:41 +04:00
9394f2f9b0 Merge branch '10.1' of github.com:MariaDB/server into 10.1 2014-06-26 22:04:04 +04:00
3d7eeb6307 MDEV-6394: ANALYZE DELETE .. RETURNING fails with ERROR 2027 Malformed packet
- Add support for DELETE .. RETURNING statement in ANALYZE code.
2014-06-26 22:03:13 +04:00
c6d29cd30d Merge branch '10.1' of github.com:MariaDB/server into 10.1 2014-06-26 20:47:08 +03:00
3e5994868d MDEV-6392: Change innodb_have_lzo and innodb_have_lz4 as a static
variables and reduce the number of ifdef's
2014-06-26 20:45:27 +03:00
be885ebe8c Code cleanup, more tests. 2014-06-26 20:12:18 +04:00
c6be74458f MDEV-6398: ANALYZE UPDATE does not populate r_rows
- In print_explain_row(), do not forget to print r_rows.
- Switch Explain_update from using its own counters to re-using
  Table_access_tracker.
- Make ANALYZE UPDATE code structure uniform with ANALYZE DELETE.
2014-06-26 19:09:23 +04:00
a787edd7e6 MDEV-6395: Make ANALYZE UPDATE/DELETE handle the degenerate query plans. 2014-06-26 18:32:18 +04:00
12d6f89b07 MDEV-6393: ANALYZE SELECT crashes ... Don't try printing EXPLAIN if we had an error. 2014-06-26 15:55:25 +04:00
b7d10e5687 MDEV-5730 enhance security using special compilation options
add a comment
2014-06-26 12:46:33 +02:00
da4f8269bf MDEV-5730 enhance security using special compilation options
-Wl,-z,relro,-z,now
-pie
-fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2
2014-06-26 11:54:13 +02:00
6c0e3ef450 cmake cleanup: use MY_CHECK_AND_SET_COMPILER_FLAG.
move MY_CHECK_C_COMPILER_FLAG and MY_CHECK_CXX_COMPILER_FLAG
to a separate file, introduce MY_CHECK_AND_SET_COMPILER_FLAG,
use it where possible.
2014-06-26 11:54:13 +02:00
afa4c36ca0 cmake: prefer INSTALL(PROGRAMS over INSTALL(FILES 2014-06-26 11:54:12 +02:00
6c9dd841cb remove unused sql/examples 2014-06-26 11:54:12 +02:00
b95ec13553 Revert "MDEV-12 OpenGIS: create required tables: GeometryColumns, related views."
This reverts commit 0bf9fd8929.
2014-06-26 11:37:24 +05:00
648b957f42 Merge branch 'bb-10.1-explain-analyze' into 10.1 2014-06-26 10:48:08 +04:00
68bf3c5052 Code cleanup 2014-06-26 10:43:58 +04:00
18d5a748f1 MDEV-406: ANALYZE $stmt: Make multi-table UPDATE/DELETE work, code cleanup. 2014-06-26 01:22:50 +04:00
0bf9fd8929 MDEV-12 OpenGIS: create required tables: GeometryColumns, related views.
Scripts added that create OpenGIS-required views and tables they're based upon.
2014-06-26 00:46:21 +05:00
aa22471633 Merge branch '10.1' of github.com:MariaDB/server into 10.1
Conflicts:
	storage/xtradb/handler/ha_innodb.cc
2014-06-25 21:00:24 +03:00
4a7cacda58 MDEV-406: ANALYZE $stmt: fix "explain UPDATE view problem". 2014-06-25 20:47:54 +04:00
5893ae0b81 Fix test failure when trying to set compression algorithm to 3 2014-06-25 19:04:44 +03:00
3da81ab97f MDEV-406: ANALYZE $stmt: more testcases, fix memory leak 2014-06-25 18:35:30 +04:00
424d5de89d Merge bb-10.1-explain-analyze into 10.1 2014-06-25 16:46:42 +04:00
b561a98a87 MDEV-406: ANALYZE $stmt: add some tests for joins 2014-06-25 16:01:09 +04:00
7711999d8b MDEV-406: ANALYZE $stmt: add support for BNL join buffering 2014-06-25 15:15:38 +04:00
3bca01930a MDEV-6361: innodb_compression_algorithm configuration variable can
be set to unsupported value.

MDEV-6350: Excessive unnecessary memory allocation at InnoDB/XtraDB
startup if LZO is installed.
2014-06-25 08:46:54 +03:00
c3cfb6910a MDEV-406: ANALYZE $stmt: Scans that never executed will have r_rows=NULL 2014-06-24 23:58:13 +04:00