Oleksandr Byelkin
1da21cd4a5
MDEV-10035: DBUG_ASSERT on CREATE VIEW v1 AS SELECT * FROM t1 FOR UPDATE
...
Ability to print lock type added.
Restoring correct lock type for CREATE VIEW added.
2016-09-04 14:15:21 +02:00
Sergei Golubchik
58f20b0c6e
Set cmake policy CMP0054 NEW
...
meaning in IF("A") cmake will not expand the value of the variable A
2016-09-04 13:48:18 +02:00
Sergei Golubchik
663835f62d
.gitignore for rpm builds
2016-09-04 13:48:18 +02:00
Alexander Barkov
3dcca1b724
A fix for 1ca595fbf7
(LDML refactoring)
...
Modifying innodb_ctype_ldml.test related files to take into account
the previous commit changes.
2016-09-03 14:25:04 +04:00
Alexander Barkov
1ca595fbf7
LDML refactoring for "MDEV-9711 NO PAD collations"
...
- Moving detection of the MY_CS_CSSORT, MY_CS_PUREASCII, MY_CS_NONASCII
flags of loadable collations from add_collation() in mysys.c
to my_cset_init_8bit() and my_coll_init_simple() in ctype-simple.c.
- Adding tests that these flags are set properly for loadable collations
- Moving LDML test related *.xml files from mysql-test/std_data/
to mysql-test/std_data/ldml/, as there will be more *.xml test files
2016-09-03 09:05:56 +04:00
Nirbhay Choubey
747893a854
MDEV-10545: Update perfschema.nesting result
2016-09-02 14:40:09 -04:00
Nirbhay Choubey
31697d0b80
MDEV-10545: Server crashed in my_copy_fix_mb on querying I_S and P_S tables
...
Once THDs have been added to the global "threads" list,
they must modify query_string only after acquiring per-
thread LOCK_thd_data mutex.
2016-09-02 12:21:40 -04:00
Oleksandr Byelkin
a6fb6473cf
MDEV-10419: crash in mariadb 10.1.16-MariaDB-1~trusty
...
Fixed initialization and usage of THD reference in subselect engines.
2016-09-02 16:20:38 +03:00
Jan Lindström
2e814d4702
Merge InnoDB 5.7 from mysql-5.7.9.
...
Contains also
MDEV-10547: Test multi_update_innodb fails with InnoDB 5.7
The failure happened because 5.7 has changed the signature of
the bool handler::primary_key_is_clustered() const
virtual function ("const" was added). InnoDB was using the old
signature which caused the function not to be used.
MDEV-10550: Parallel replication lock waits/deadlock handling does not work with InnoDB 5.7
Fixed mutexing problem on lock_trx_handle_wait. Note that
rpl_parallel and rpl_optimistic_parallel tests still
fail.
MDEV-10156 : Group commit tests fail on 10.2 InnoDB (branch bb-10.2-jan)
Reason: incorrect merge
MDEV-10550: Parallel replication can't sync with master in InnoDB 5.7 (branch bb-10.2-jan)
Reason: incorrect merge
2016-09-02 13:22:28 +03:00
Igor Babaev
102fc62990
Fixed a failure with cte_recursive.test:
...
Do not push conditions into recursive with tables.
2016-09-01 23:44:42 -07:00
Igor Babaev
4de75afb45
Fixed the previous merge to be able to build mysqld.
...
Adjusted one result file.
2016-09-01 23:37:27 -07:00
Igor Babaev
17622bc088
Merge branch '10.2' into 10.2-mdev9197
2016-09-01 15:07:10 -07:00
Monty
addb38f476
More DBUG_PRINT's to make it easier to debug
...
parallel replication
2016-09-01 21:15:17 +03:00
Monty
b6e436278f
Split rpl_parallel into two tests to make it easier
...
to know what goes wrong.
rpl_parallel_conflicts now contains the tests that
can cause row conflicts in replication.
2016-09-01 21:11:47 +03:00
Sergei Petrunia
e19ca69191
Update test results, mysql-test/r/mysqld--help,win.rdiff
2016-09-01 19:52:04 +03:00
Sergey Vojtovich
dd31e5c6ab
MDEV-9593 - Print the real version in the error log
2016-09-01 12:29:53 +04:00
Igor Babaev
3fb4f9bb93
Merge branch '10.2-mdev9197-cons' of github.com:shagalla/server
...
into branch 10.2-mdev9197.
2016-08-31 16:16:54 -07:00
Igor Babaev
670760d504
Adjusted test results after the previous merge.
2016-08-31 10:51:31 -07:00
Igor Babaev
080f16a877
Merge branch '10.2' of github.com:MariaDB/server into bb-10.2-mdev9864
2016-08-31 10:49:36 -07:00
Sergei Petrunia
d8ad96eac0
Update sys_vars.sysvars_server_embedded after recent pushes
2016-08-31 20:50:19 +03:00
Igor Babaev
f11e892b57
Merge branch '10.2' of github.com:MariaDB/server into bb-10.2-mdev9864
2016-08-31 10:34:21 -07:00
Sergei Petrunia
1eb58ff3b8
Update mysql-test/r/mysqld--help,win.rdiff
...
Recent commits has added new variables and changed the default
for server-id, which caused the patch in rdiff to no longer apply.
2016-08-31 20:33:28 +03:00
Oleksandr Byelkin
a322651b8a
MDEV-10017: Get unexpected Empty Set
for correlated subquery with aggregate functions
...
take into account all arguments of aggregate function
2016-08-31 19:12:35 +02:00
Oleksandr Byelkin
7b86fda0c9
Fixed length of codding of COM_MULTI parts.
2016-08-31 18:27:01 +02:00
Oleksandr Byelkin
6dfa1d374e
MDEV-8931: (server part of) session state tracking
...
Postreview fixes.
New MySQL tests fixes.
2016-08-31 17:17:46 +02:00
Oleksandr Byelkin
0ee3e64c55
MDEV-8931: (server part of) session state tracking
...
Transaction tracker
2016-08-31 17:17:46 +02:00
Oleksandr Byelkin
c8948b0d0d
MDEV-8931: (server part of) session state tracking
...
System variables tracking
2016-08-31 17:17:46 +02:00
Oleksandr Byelkin
e7608a78ef
MDEV-8931: (server part of) session state tracking
...
initial commit to test
2016-08-31 17:17:46 +02:00
Sergey Vojtovich
f6e47c0031
Merge pull request #224 from 0xAX/build-get-rid-from-die
...
remove die() from BUILD/autorun.sh
2016-08-31 11:51:12 +04:00
Sergey Vojtovich
468a6ad722
Fixed package build failure README -> README.md
2016-08-31 11:49:35 +04:00
Sergey Vojtovich
c650a73df8
Merge pull request #222 from grooverdan/10.2-README-markdown
...
Markdown README for a prettier github representation
2016-08-31 09:43:57 +04:00
Igor Babaev
2250e9ea26
Merge 10.2 into 10.2-mdev9864.
2016-08-30 16:14:51 -07:00
Igor Babaev
cb1e44219b
Adjusted test results.
2016-08-30 11:13:25 -07:00
Daniel Bartholomew
64fe3894dd
bump the VERSION
2016-08-30 10:32:37 -04:00
Monty
4ca7b226c0
Safety fix to previous patch
2016-08-30 09:16:50 +03:00
Igor Babaev
501fc1a9e2
Returned the test case that was removed by mistake.
2016-08-29 22:58:01 -07:00
Igor Babaev
9ac235ab7d
mdev-9864: cleanup, re-factoring.
...
Added comments.
Added reaction for exceeding maximum number of elements in with clause.
Added a test case to check this reaction.
Added a test case where the specification of a recursive table
uses two non-recursive with tables.
2016-08-29 22:45:17 -07:00
Monty
bbfb5d7c74
Fixed failures for privilege_table_io and wsrep_cluster_address_basic
...
- Sometimes privilege_table_io printed double rows of roles_mapping
- Fixed by forcing restart of server when running test
- Wsrep_cluster_address_basic failed in some combinations because
wsrep_cluster_address was set to NULL
- Fixed by ensuring it's never set to NULL, only empty string
2016-08-29 20:33:25 +03:00
Monty
1c91569274
Set server_id to 1 by default and disallow to set it to 0
...
This makes it easier to setup master as on only have to set --log-bin.
Before this patch if one did set up the master with just --log-bin, slaves
could not connect until server_id was set on the master, which could be
both confusing and hard to do.
2016-08-29 20:28:06 +03:00
Oleksandr Byelkin
a02642b66e
MDEV-10017: Get unexpected Empty Set
for correlated subquery with aggregate functions (part 1)
...
Make aggregate function dependency visible.
2016-08-29 16:17:46 +02:00
Oleksandr Byelkin
00d84eada2
MDEV-10045: Server crashes in Time_and_counter_tracker::incr_loops
...
Do not set 'optimized' flag until whole optimization procedure is finished.
2016-08-29 16:17:46 +02:00
Monty
e139d971ec
Fixed compiler warning and failing test suite because system dependency
2016-08-29 13:11:34 +03:00
Monty
96e95b5465
Better SHOW PROCESSLIST for replication
...
- When waiting for events, start time is now counted from start of wait
- Instead of having "Connect" as "Command" for all replication threads we
now have:
- Slave_IO for Slave thread reading relay log
- Slave_SQL for slave executing SQL commands or distribution queries to
Slave workers
- Slave_worker for slave threads executin SQL commands in parallel replication
2016-08-29 13:10:17 +03:00
Elena Stepanova
7d115e73b8
MDEV-10604 Create a list of unstable MTR tests to be disabled in distribution builds
...
List of unstable tests for 10.1
2016-08-27 19:50:42 +03:00
Sergei Golubchik
eac7e57529
Feature_check_constraint status variable
2016-08-27 16:59:13 +02:00
Sergei Golubchik
7450cb7f69
re-fix vcols on demand, not always for every SELECT
2016-08-27 16:59:13 +02:00
Sergei Golubchik
cd51c7fb60
move away from TIMESTAMP_DNUN_FIELD/TIMESTAMP_DN_FIELD code
...
use the new approach with Field->default_value expressions.
But keep the old TIMESTAMP_UN_FIELD for ON UPDATE NOW().
2016-08-27 16:59:13 +02:00
Sergei Golubchik
12d2c4fcd0
optimize constant default expressions
...
to be calculated at the CREATE TABLE time and stored in
the default row image.
2016-08-27 16:59:12 +02:00
Sergei Golubchik
4070d55735
fix: CHECK and DEFAULT after CREATE ... SELECT
...
expression defaults and check constraints should behave as
constant default values - copied from fields, not copied from expressions
2016-08-27 16:59:12 +02:00
Sergei Golubchik
3aff76f375
vcol flag rename VCOL_UNKNOWN -> VCOL_FIELD_REF
2016-08-27 16:59:12 +02:00