Sergei Golubchik
f5722f5851
cleanup: normalize LEX_USER to get rid of different representation of the same thing
...
username IDENTIFIED BY PASSWORD xxx
username IDENTIFIED VIA mysql_native_password USING xxx
etc
also check for valid strlen(xxx)
2014-12-04 10:41:53 +01:00
Sergei Golubchik
c1204da1c7
cleanup: bool_variable= -1; -> bool_variable= true;
2014-12-04 10:41:53 +01:00
Sergei Golubchik
7f856f0a82
remove unsupported service file
2014-12-04 10:41:53 +01:00
Sergei Golubchik
4027e3b885
don't load plugin of unsupported types
2014-12-04 10:41:53 +01:00
Sergei Golubchik
77e3cb7dc1
cleanup: sql_plugin.cc
...
* test for opt->name being non-NULL *before* dereferencing it
* remove unused argument in cleanup_variables()
* simplify
2014-12-04 10:41:53 +01:00
Sergei Golubchik
bdb222bcc4
update 32-bit rdiff's
2014-12-04 10:41:53 +01:00
Sergei Golubchik
23fa0a367b
fix a comment
2014-12-04 10:41:53 +01:00
Sergei Golubchik
fc40f81eda
a case of uninitialized variable
2014-12-04 10:41:53 +01:00
Sergei Golubchik
e4f973930c
MDEV-6999 Remove or deprecate unused variables
2014-12-04 10:41:52 +01:00
Sergei Golubchik
6a2fbdf948
MDEV-6979 simplify trigger rules for RBR triggers
...
Rows_log_event::write_row - don't optimize DELETE+INSERT
into UPDATE if RBR triggers are used
2014-12-04 10:41:52 +01:00
Sergei Golubchik
1bd1c29ea0
MDEV-6895 switch to dynamic libjemalloc.so
2014-12-04 10:41:52 +01:00
Sergei Golubchik
0438f12540
MDEV-6980 OUT parameters in PREPARE
...
revert the patch for "out parameters in prepare"
2014-12-04 10:41:52 +01:00
Sergei Golubchik
717a264ef4
MDEV-6894 Enable SEQUENCE engine by default
2014-12-04 10:41:52 +01:00
Sergei Golubchik
69d700ace3
MDEV-5871 support assisted discovery in oqgraph v3
2014-12-04 10:41:52 +01:00
Sergei Golubchik
2ef0312cd9
oqgraph cleanup: remove casts
2014-12-04 10:41:52 +01:00
Sergei Golubchik
2ae7541bcf
cleanup: s/const CHARSET_INFO/CHARSET_INFO/
...
as CHARSET_INFO is already const, using const on it
is redundant and results in compiler warnings (on Windows)
2014-12-04 10:41:51 +01:00
Sergei Golubchik
0d30423900
cleanup: reuse MY_CHECK_AND_SET_COMPILER_FLAG in sphinx/CMakeLists.txt
2014-12-04 10:41:51 +01:00
Sergei Golubchik
d2a78def63
cleanup: ptr_cmp
...
1. don't cast size_t* to int*
2. remove long obsolete register specifier
2014-12-04 10:41:51 +01:00
Sergei Golubchik
20c3b2ff80
MDEV-6311 Add errors on CREATE SERVER
...
fail CREATE SERVER foreign data wrapper is "mysql"
and neither HOST nor SOCKET are specified.
Also default PORT to 3306 (again, only for foreign
data wrapper "mysql")
2014-12-04 10:41:51 +01:00
Sergei Golubchik
97a913e31c
cleanup: freshen up CREATE SERVER code
...
* pass LEX_STRING's from the parser, don't ignore the length only to strlen later
* init LEX::server_options only for SERVER commands, not for every statement
* don't put temporary values into a global persistent memroot
but really it's just scratching a surface
2014-12-04 10:41:51 +01:00
Nirbhay Choubey
a50ddebb5c
MDEV-6593 : domain_id based replication filters
...
Implementation for domain ID based filtering of replication events.
2014-12-03 22:30:48 -05:00
Sergei Golubchik
7bf4f9f7f6
followup for MDEV-6996, update tests and results
2014-12-03 21:36:23 +01:00
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