Jan Lindström
24a6b41348
Move page initialization to better place.
2014-12-03 13:53:11 +02:00
Sergei Golubchik
316d8c7fc8
compiler warning
2014-12-03 11:58:33 +01:00
Sergei Golubchik
ec4137c62b
Merge branch '10.1' into bb-10.1-merge
2014-12-03 11:37:26 +01:00
Jan Lindström
bafe529af7
Fix Windows compiler error.
2014-12-03 11:41:48 +02:00
Jan Lindström
d4aef382fd
Fix compiler failure on fallocate function and used flags.
2014-12-03 10:41:52 +02:00
Sergei Golubchik
1caee39307
disable mroonga temporarily: see MDEV-7246
2014-12-02 22:25:53 +01:00
Sergei Golubchik
853077ad7e
Merge branch '10.0' into bb-10.1-merge
...
Conflicts:
.bzrignore
VERSION
cmake/plugin.cmake
debian/dist/Debian/control
debian/dist/Ubuntu/control
mysql-test/r/join_outer.result
mysql-test/r/join_outer_jcl6.result
mysql-test/r/null.result
mysql-test/r/old-mode.result
mysql-test/r/union.result
mysql-test/t/join_outer.test
mysql-test/t/null.test
mysql-test/t/old-mode.test
mysql-test/t/union.test
packaging/rpm-oel/mysql.spec.in
scripts/mysql_config.sh
sql/ha_ndbcluster.cc
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_cond.cc
sql/item_cmpfunc.h
sql/lock.cc
sql/sql_select.cc
sql/sql_show.cc
sql/sql_update.cc
sql/sql_yacc.yy
storage/innobase/buf/buf0flu.cc
storage/innobase/fil/fil0fil.cc
storage/innobase/include/srv0srv.h
storage/innobase/lock/lock0lock.cc
storage/tokudb/CMakeLists.txt
storage/xtradb/buf/buf0flu.cc
storage/xtradb/fil/fil0fil.cc
storage/xtradb/include/srv0srv.h
storage/xtradb/lock/lock0lock.cc
support-files/mysql.spec.sh
2014-12-02 22:25:16 +01:00
Sergei Golubchik
2b5db1d5bc
put at least some output-generating statement in the test
...
otherwise mysqltest complains "No queries executed but non-empty result file found!"
2014-12-02 20:35:45 +01:00
Sergei Golubchik
b3aed01ae9
fix include/not_embedded.inc to be independent from the environment
...
in particular, not fail with --vertical_results
2014-12-02 19:15:16 +01:00
Jan Lindström
01590005ba
Fix buildbot valgrind errors on test innodb.innodb-page_compression_tables
...
Problem was that temporal buffers allocated for page compression
are not initialized and rest of the page that is actually writen
was als not initialized after previous usage.
2014-12-02 19:25:58 +02:00
Kristian Nielsen
5fc2814698
MDEV-7251: Test failure in rpl.rpl_parallel
...
There was a race. The test case was expecting the slave to start processing a
particular DELETE statement, then the test would stop the slave at this
point. But there was missing something to wait until the slave would actually
reach this point; thus depending on timing it was possible that the slave
would be stopped too early, causing .result file difference.
Fixed by adding an appropriate wait to the test case.
2014-12-02 18:11:05 +01:00
Kristian Nielsen
1eed274848
Fix wording in error log message, to be consistent with other messages ("IO thread" -> "I/O thread").
2014-12-02 12:11:07 +01:00
Kristian Nielsen
0450623f73
MDEV-7236: rpl.rpl_gtid_basic failed in buildbot with wait_condition timeout
...
Fix rare failures in test case rpl.rpl_gtid_basic:
- Add another possible error code when a connection is killed.
- Make sure that the IO thread has had time to complete its stop after START
SLAVE UNTIL. Otherwise, START SLAVE might run before IO thread stop,
leaving the test case with a stopped IO thread that eventually causes a
wait timeout.
2014-12-02 12:10:21 +01:00
Oleksandr Byelkin
3502d74121
MDEV-7015: SET STATEMENT old_passwords has no effect
...
Decision about algorihtm moved on prepare phase.
Made possible to add mpore password algorithms.
2014-12-02 10:59:44 +01:00
Oleksandr Byelkin
53ff66fe31
MDEV-6996: SET STATEMENT default_week_format = .. has no effect
...
Change constant with a system variable.
2014-12-02 09:29:53 +01:00
Kristian Nielsen
50b42441a6
MDEV-7241: rpl.rpl_parallel2 fails sporadically in buildbot
...
There was a race, a small window between updating slave position and updating
Seconds_Behind_Master, during which the test case could see the wrong value.
Fix by waiting for the expected status to appear.
2014-12-02 09:27:22 +01:00
Sergei Petrunia
d6e8816435
Make analyze_format_json.test work on case-insensitive FS.
2014-12-02 10:35:28 +03:00
Sergei Petrunia
b3d930b39c
Merge branch '10.1' of github.com:MariaDB/server into 10.1
2014-12-02 02:26:55 +03:00
Sergei Petrunia
149e8a7b28
Update test results after fix for MDEV-7245
2014-12-02 02:26:25 +03:00
Sergei Petrunia
8722b6de4d
Code cleanup
2014-12-02 02:14:17 +03:00
Sergei Petrunia
fc2871acbe
Update test results.
2014-12-02 01:58:22 +03:00
Sergei Golubchik
433b28cede
add a proper cleanup to innodb.innodb-mdev7046 test
2014-12-01 23:56:36 +01:00
Sergei Petrunia
0000695025
EXPLAIN FORMAT=JSON
...
Add support for semi-join strategies: FirstMatch, DuplicateWeedout,
LooseScan.
2014-12-02 01:40:10 +03:00
Sergei Petrunia
a35b05399e
EXPLAIN FORMAT=JSON: Do set usable_key_parts for key in the temp. table
...
If we didn't do it, SJ-Materialization table would appear to
EXPLAIN JSON code as having different keyparts than it actually
has. This caused unpredictable content in "used_key_parts"
2014-12-02 01:22:16 +03:00
Sergei Petrunia
5c5a8b1cc8
Merge ../10.1 into bb-10.1-explain-json
2014-12-02 00:32:31 +03:00
Sergei Golubchik
ba076763ec
remove ssl debugging report_errors() function that was sometimes destroying the state
2014-12-01 22:24:58 +01:00
Sergei Petrunia
54392f0a22
MDEV-7245: Incorrect display of subquery cache in union.result
...
- Do set nest_level and nest_level_base for fake_select_lex objects.
2014-12-02 00:18:57 +03:00
Sergei Petrunia
753718c201
EXPLAIN FORMAT=JSON: support SJ-Materialization
...
- Switch Explain data structure from "flat" representation of
SJ-Materialization into nested one.
- Update functions that print tabular output to operate on the
nested structure.
- Add function to generate JSON output.
2014-12-01 21:35:31 +03:00
Sergei Golubchik
bf3b4a23f7
fix mysqld_safe to work
...
local function variable was overwriting the global one.
also remove unused variable expansion.
2014-12-01 16:43:09 +01:00
Sergei Golubchik
4e9e04b28b
tests that require server restart cannot be run with --embedded
2014-12-01 15:35:01 +01:00
Sergei Golubchik
dbbe831096
don't skip wsrep position recovery silently
...
control scripts (mysqld_safe for example) want to know
whether a recovery was successful or not.
total silence is too suspicious to be trusted.
2014-12-01 15:25:07 +01:00
Sergei Golubchik
230132dc41
bump the version
2014-12-01 14:38:41 +01:00
Sergei Golubchik
a4baf9b3ea
test failure: make list_files more selective to prevent db.opt from showing up
2014-12-01 13:52:49 +01:00
Sergei Golubchik
aa4ad1c6b0
update result files
2014-12-01 13:43:17 +01:00
Sergei Golubchik
bb070f9367
MDEV-7188 main.signal_demo3 and sys_vars.max_sp_recursion_depth_func fail in biuldbot on labrador with Thread stack overrun
...
reduce stack requirememnts for CALL by just a little bit
2014-12-01 10:31:57 +01:00
Nirbhay Choubey
2b40a389a5
MDEV-4412 : SLOW QUERY LOG - add affected rows (UPDATE / DELETE) in slow query log
...
Added Rows_affected to slow query log & mysql.slow_log table.
2014-11-30 21:13:41 -05:00
Sergei Golubchik
b16b072186
Make test results stable.
...
(just like in the test below)
2014-11-30 21:01:55 +01:00
Sergei Golubchik
2e728c7069
rdiff not needed anymore
2014-11-30 21:01:55 +01:00
Nirbhay Choubey
3e792e6cbc
MDEV-4018 : Feature Request: microseconds in GET_LOCK()
...
Updated MDL_context's lock methods to accept double precision
lock_wait_timeout.
2014-11-30 01:05:34 -05:00
Nirbhay Choubey
5298e21c32
MDEV-6961: mysqld should terminate when started with --wsrep-recover
...
Fixed the condition to make sure mysqld process terminates when
started with wsrep-recover.
2014-11-30 00:12:45 -05:00
Sergei Golubchik
f7708d6830
fixes for --embedded
2014-11-29 22:29:03 +01:00
Sergei Petrunia
c46eadb2b3
EXPLAIN FORMAT=JSON: support EXPLAIN FORMAT=JSON INSERT ...
2014-11-29 03:28:46 +03:00
Sergei Petrunia
e235bb864d
ANALYZE FORMAT=JSON: better output and tests
...
- Print r_loops
- Always print r_* members. Print NULL values if no scans took place
- Added testcases.
2014-11-29 03:07:24 +03:00
Sergei Petrunia
0b5d989c89
EXPLAIN FORMAT=JSON: Add support for non-merged semi-joins
2014-11-29 01:08:18 +03:00
Sergei Petrunia
2ac3b39e68
EXPLAIN FORMAT=JSON: support derived tables
2014-11-28 22:23:29 +03:00
Sergei Petrunia
3a5e080d4d
Make explain_json.test pass on case-insensitive FS.
2014-11-28 16:46:05 +03:00
Sergei Petrunia
d5fbfb9a93
EXPLAIN FORMAT=JSON: Add support for single-table UPDATE/DELETE.
2014-11-28 02:36:31 +03:00
Alexey Botchkov
d0d6284cab
MDEV-4045 Missing OGC Spatial functions.
...
Missing GIS functions added:
IsRing()
PointOnSurface
PointOnSurface
Relate
Distance
Intersection
ConvexHull
Other old OpenGis standard inconsistencies fixed.
2014-11-28 00:29:37 +04:00
Sergei Petrunia
461dbd80d2
EXPLAIN FORMAT=JSON: support join buffering
...
- Basic support for JOIN buffering
- The output is not polished but catches the main point:
tab->select_cond and tab->cache_select->cond are printed separately.
- Hash join support is poor still.
- Also fixed identation in JOIN_TAB::save_explain_data
2014-11-27 23:10:44 +03:00
Jan Lindström
7b55b67de5
MDEV-7228: innodb.innodb-page_compression_tables, innodb.innodb-page_compression_zip, innodb.innodb_stats_create_on_corrupted fail with embedded server
...
Problem is that tests restart the server and "shutdown_server" looks
for pid file # which is not there with embedded mode.
Fix tests so that they are not run with embedded mode.
2014-11-27 20:11:14 +02:00