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
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
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
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 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 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
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
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
Sergei Petrunia
37c444e1a0
EXPLAIN FORMAT=JSON: further development
...
Writing JSON:
- Fix a bug in Single_line_formatting_helper
- Add Json_writer_nesting_guard - safety class
EXPLAIN JSON support
- Add basic subquery support
- Add tests for UNION/UNION ALL.
2014-11-27 19:32:48 +03:00
Sergei Petrunia
3d5f97fd70
Merge ../10.1-explain-json-r4 into 10.1
2014-11-27 00:51:54 +03:00
Alexander Barkov
55e99b2933
MDEV-7162 main.mysqld--help fails in buildbot on Windows:
2014-11-26 13:28:46 +04:00
Jan Lindström
98a78c460f
MDEV-7181: innodb.innodb_defrag_concurrent fails in buildbot
...
Problem was that test tried to calculate number of pages on
buffer pool and operations done to them. This is not realible
way on buildbot.
2014-11-25 09:11:48 +02:00
Jan Lindström
afe6d88d78
MDEV-7167: innodb.innodb_bug12902967 fails in buildbot on Windows
...
Problem is that there is additional error message from function
that is not really needed now.
2014-11-24 21:29:12 +02:00
Jan Lindström
96b031b563
MDEV-7169: innodb.innodb_bug14147491 fails in buildbot on Windows
...
Problem is that test could open Microsoft C++ Client Debugger
windows with abort exceptin. Lets not try to test this on
windows.
2014-11-24 20:28:02 +02:00
Jan Lindström
8ba3585b47
MDEV-7168: Tests innodb.innodb_stats_create_table
...
innodb.innodb_stats_drop_locked fail and
innodb.innodb_stats_fetch_nonexistent fails in buildbot on Windows
Analysis: Problem is that innodb_stats_create_on_corrupted
test renames mysql.innodb.index_stats and all the rest
are dependend on this table.
Fix: After rename back to original, restart mysqld to
make sure that table is correct.
2014-11-24 19:42:39 +02:00
Jan Lindström
1ac12df0cb
MDEV-7164: innodb.innodb-alter-table-disk-full fails in buildbot on Windows
...
Analysis: Test case uses Linux specific error codes.
Fix: Can't run test case with Windows currently because requires
to inject error to system.
2014-11-24 15:23:13 +02:00
Alexey Botchkov
c0a00a2dcf
MDEV-7171 funcs_1.is_tables_is and main.information_schema-big fail in buildbot.
...
test results updated with the new GIS-related IS tables.
2014-11-24 12:25:56 +04:00
Jan Lindström
1a05bb4010
MDEV-7166: innodb.innodb-page_compression_zip fails in buildbot
...
Analysis: If innodb_use_trim is not enabled or system does not
support fallocate to make persistent trim, we should always
write full page not only partial pages.
2014-11-24 12:00:42 +02:00
Nirbhay Choubey
deffb95bc2
MDEV-7161: Build failure in buildbot on work-amd64-valgrind
...
Fix for embedded build failure.
Also added wsrep_info plugin library to server debian package.
2014-11-23 09:55:57 -05:00
Nirbhay Choubey
369c02674c
MDEV-7053: WSREP_STATUS & WSREP_MEMBERSHIP I_S tables
...
wsrep_info INFORMATION_SCHEMA plugin to provide WSREP_STATUS
and WSREP_MEMBERSHIP tables.
2014-11-22 14:33:51 -05:00
Sergei Petrunia
3c5ce8a0a3
Make testsuite to pass
...
- Drop all tables in explain_json.test
- Tabular form should print ref='' when type='fulltext' (another peculiarity
of the traditional EXPLAIN format)
- String_list::append_str should allocate memory for \0, too
- Some temporary code for EXPLAIN JSON and join buffering.
2014-11-21 21:44:06 +03:00
Sergei Petrunia
305dd8e5fb
Better comments
2014-11-21 20:45:18 +03:00
Sergei Petrunia
1f3724a583
Better comments
2014-11-20 21:09:57 +03:00
Alexander Barkov
cbc318fcf3
Removing some duplicate code: deriving Item_func_opt_neg from Item_bool_func.
2014-11-20 21:29:11 +04:00