Sergey Vojtovich
3e20a42bfb
MDEV-8579 - Some sysvars in I_S are missing any meaningful help (comment) text
...
Follow-up to original patch: fixing test cases.
2017-08-15 10:13:57 +04:00
=Ian Gilfillan
f066c89a97
MDEV-8579 Expand system variable documentation
2017-08-15 10:13:57 +04:00
Elena Stepanova
88879b37fc
Changes to RocksDB tests after the engine merge
2017-08-14 23:39:35 +03:00
Sergei Petrunia
d24f76e1a8
MDEV-13522: rocksdb.rocksdb_parts failed in buildbot
...
Make test result stable
2017-08-14 23:12:35 +03:00
Sergei Golubchik
fa7016cec1
un-disable a bunch of funcs_1 tests
2017-08-14 19:45:59 +02:00
Sergei Golubchik
b2af0ddcf9
enable innodb tests for virtual indexed columns (sic!)
...
collateral changes:
* remove a test from innodb_virtual_basic that is already present in
gcol_keys_innodb
* set thd->abort_on_warning for inplace alter, just like it's set
for copy_data_between_tables - to have warnings converted into
errors identically in all alter algorithms
* don't ignore errors in TABLE::update_virtual_field
2017-08-14 19:45:59 +02:00
Sergei Golubchik
399e14f066
MDEV-13435 Crash when selecting virtual columns generated using JSON functions
...
don't allocate memory on thd->mem_root in every fix_fields(),
do it once and reuse.
2017-08-14 19:45:59 +02:00
Sergei Golubchik
d924e0b993
MDEV-13375 back_log ignored
...
doing SYSVAR_AUTOSIZE() because of back_log > max_connections
enabled "autosized" flag, and that made IS_SYSVAR_AUTOSIZE()
true, which triggered the second SYSVAR_AUTOSIZE.
Remove back_log <= max_connections limit, back_log
doesn't *always* have to be smaller than max_connections.
2017-08-14 19:45:59 +02:00
Sergei Golubchik
d07daa3125
MDEV-13313 JSON type alias is insufficiently compatible
...
make JSON an alias for LONGTEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin
(same collation that item_jsonfunc.cc is using internally)
2017-08-14 19:45:59 +02:00
Sergei Golubchik
04b288ae47
MDEV-11114 Cannot drop column referenced by CHECK constraint
...
SQL Standard behavior for DROP COLUMN xxx RESTRICT:
* If a constraint (UNIQUE or CHECK) uses only the dropped column,
it's automatically dropped too. If it uses many columns - an error.
2017-08-14 19:45:59 +02:00
Sergei Golubchik
28ddc9b3bb
small cleanup
2017-08-14 19:45:59 +02:00
Sergei Golubchik
87f39bf824
MDEV-8659 Conflicting declaration is accepted: INT SIGNED ZEROFILL
...
don't allow arbitrary combinations of SIGNED/UNSIGNED/ZEROFILL
2017-08-14 19:45:59 +02:00
Sergei Golubchik
40eff5e097
cleanup: include/restart_mysqld.inc
...
let include/restart_mysqld.inc use include/start_mysqld.inc
and include/shutdown_mysqld.inc. Instead of copying their content.
2017-08-14 19:45:59 +02:00
Sergei Golubchik
1b993721ff
MDEV-13472 rpl.rpl_semi_sync_wait_point crashes because of thd_destructor_proxy
...
InnoDB: in slow shutodwn mode do not stop purge threads
as long as some connection threads are running
2017-08-14 19:45:59 +02:00
Sergei Golubchik
023131e395
InnoDB: restore thd->proc_info in innobase_reset_background_thd()
2017-08-14 19:45:59 +02:00
Sergei Golubchik
dd67456af3
InnoDB: disallow fast_shutdown=0 when purge threads have exited
2017-08-14 19:45:58 +02:00
Sergei Golubchik
fc279d7ea2
InnoDB: test case to exploit a purge thread shutdown race condition
...
execute queries after purge thread has exited, but the connection
thread hasn't
before c720e68f53 it used to crash
2017-08-14 19:45:58 +02:00
Sergei Golubchik
34319403a5
fix a comment
2017-08-14 19:45:58 +02:00
Sergei Golubchik
3ec96c1824
MDEV-13370 Ambiguous behaviour regarding installation of header files
...
install all server includes under /usr/include/mysql/server/
and C/C includes under /usr/include/mysql/
2017-08-14 19:45:58 +02:00
Sergei Golubchik
c872b10022
don't install same files twice
...
CMakeLists.txt - merge mistake, apparently
include/CMakeLists.txt - install from CMAKE_CURRENT_BINARY_DIR.
Only install from CMAKE_CURRENT_SOURCE_DIR, if it's different
from CMAKE_CURRENT_BINARY_DIR
mysql-test/CMakeLists.txt - INSTALL_MYSQL_TEST() macro installs
everything, no need to install mtr separately once again
mysql-test/lib/My/SafeProcess/CMakeLists.txt
MYSQL_ADD_EXECUTABLE includes INSTALL
sql-bench/CMakeLists.txt
list files explicitly. don't install garbage, don't process 'foo'
and 'foo.sh' separately, it's only one file to install, not two.
2017-08-14 19:45:58 +02:00
Sergei Golubchik
c9db190fed
cmake: update submodules automatically during the build
2017-08-14 19:45:58 +02:00
Sergei Golubchik
bfa9990e33
cleanup: simplify the assignment
2017-08-14 19:45:58 +02:00
Vladislav Vaintroub
0188819229
MDEV-13514 fix compilation for aws_key_management plugin
2017-08-14 17:22:18 +00:00
Sergei Golubchik
7581fb23e2
compilation fix for SLES 11 SP4
...
also fix innodb
2017-08-14 18:37:53 +02:00
Teemu Ollakka
b5323054af
MW-383 Bumped wsrep patch version
2017-08-14 14:41:50 +03:00
Teemu Ollakka
dd72d66c45
MW-373 Wait for wsrep_ready at startup when provider is loaded
...
Conflicts:
mysql-test/include/kill_and_restart_mysqld.inc
2017-08-14 14:41:12 +03:00
sjaakola
224ae5770f
Refs: MW-363 * enabling binlog file copying even for binlog files with basename "0" * mtr suite uses binlog files with names: 0.000001, 0.000002.. and so on
2017-08-14 14:41:05 +03:00
sjaakola
7ee47ef456
MW-378 enabling build with WITH_WSREP=OFF only one fix here, enables build of mysqld however, building embedded server fails in linking phase
2017-08-14 14:40:25 +03:00
sjaakola
318af3f3b8
MW-369 FK fixes
...
Skipping wsrep extra FK checking for applier and replayer threads
2017-08-14 14:35:44 +03:00
Sergei Petrunia
cfa18cb5cf
MyRocks: Fix merge typo in server stderr message
2017-08-14 14:30:22 +03:00
sjaakola
f3c5928cff
MW-369 FK fixes
...
Skipping wsrep extra FK checking for applier and replayer threads
2017-08-14 13:48:25 +03:00
Teemu Ollakka
d43a12bf2f
MW-369 Removing obsoleted tests
2017-08-14 13:48:14 +03:00
sjaakola
7a1a5e473e
Refs: MW-369 * fixed sync point usage in MW-369.inc, which made it impossible to run this test with --repeat option * moved all MW-369*.test tests into MW-369.test file, each as one separate test phase * added two more test phases, in MW-369.test file * tests MW-369A, MW-369B and MW-369C are obsolete after this commit
2017-08-14 13:45:45 +03:00
Teemu Ollakka
0d5c605b60
MW-369 Fixed test MW-369D, recorded MW-369C, MW-369D
2017-08-14 13:41:29 +03:00
sjaakola
396770fb67
Refs: MW-369 * changed parent row key type to S(hared), when FK child table is being updated or deleted
2017-08-14 13:40:37 +03:00
Teemu Ollakka
7c07f456a1
MW-369 MTR tests for foreign key conflicts
...
Tests MW-369C, MW-369D haven't been recorded yet since the
outcome from the tests is not what is desired.
2017-08-14 13:15:58 +03:00
sjaakola
41fac0a54c
Refs: MW-369 * changed insert for a FK child table to take exclusive lock on FK parent table
2017-08-14 13:15:46 +03:00
sjaakola
cc3bee92b6
Refs: MW-369 * changed insert for a FK child table to take exclusive lock on FK parent table
2017-08-14 13:09:16 +03:00
sjaakola
20c21152db
Refs: MW-369 * added MTR test, which causes a crash in slave applying, due to FK constraint violation * mtr test is not deterministic, but can surface the crash, at least in my laptop
2017-08-14 13:09:03 +03:00
Philip Stoev
7f66fcc3fc
Galera MTR Tests: Fortify galera_ist_restart_joiner.test - remove DDLs, fix sync point handling
2017-08-14 13:00:57 +03:00
Philip Stoev
ea197c0f7d
Galera MTR Tests: Stability fixes
2017-08-14 12:42:00 +03:00
Philip Stoev
a7f010a343
Galera MTR Tests: Test case for GAL-501 Improved URI parsing for IPv6 addresses
2017-08-14 12:00:28 +03:00
Daniele Sciascia
f81d9ef108
MW-86 Removed unnecessary wsrep_sync_wait before processing SQLCOM_REPLACE
...
Sync waiting before processing SQLCOM_REPLACE was not necessary given that
this case falls through to processing of SQLCOM_INSERT. In case of
SQLCOM_REPLACE, wsrep_sync_wait would be called twice.
2017-08-14 12:00:09 +03:00
Philip Stoev
df5b90e18b
Galera MTR Tests: Extend test for MW-86 with additional SHOW commands (part #2 )
2017-08-14 12:00:05 +03:00
Philip Stoev
fae7d85600
Galera MTR Tests: Extend test for MW-86 with additional SHOW commands
2017-08-14 12:00:00 +03:00
Daniele Sciascia
62cd7553d9
MW-86 Additional wsrep_sync_wait coverage
...
The following commands are now subject to wsrep_sync_wait
with bitmask value 8:
SHOW BINARY LOGS
SHOW BINLOG EVENTS
SHOW GRANTS
2017-08-14 11:59:52 +03:00
Philip Stoev
e2ccbe1aea
Galera MTR Tests: Tests for MW-360 DROP TABLE containing temporary tables results in binlog divergence
2017-08-14 11:44:27 +03:00
sjaakola
795713405b
Refs: MW-360 * fix for regression with galera_toi_ddl_nonconflicting test
2017-08-14 11:44:22 +03:00
Daniele Sciascia
3d4708554c
MW-86 MTR test: check that SHOW commands no longer obey wsrep_sync_wait = 1
2017-08-14 11:42:38 +03:00
Daniele Sciascia
f20b21a29a
MW-86 Adjust MTR tests for changes to wsrep_sync_wait
2017-08-14 11:42:13 +03:00