Alexey Botchkov
c4cb15e87b
MDEV-60 Support for Spatial Reference systems for the GIS data.
...
The GEOMETRY field metadata is stored in the FRM file.
SRID for a spatial column now can be stored, it was added to the CREATE TABLE syntax,
so the AddGeometryData() stored procedure is now possible. Script adding the required Add/DropGeometryColumn sp-s added.
2014-12-04 16:09:34 +01:00
Sergei Golubchik
227510e039
parser cleanup: don't store field properties in LEX, use Create_field directly
...
length/dec/charset are still in LEX, because they're also used
for CAST and dynamic columns.
also
1. fix "MDEV-7041 COLLATION(CAST('a' AS CHAR BINARY)) returns a wrong result"
2. allow BINARY modifier in stored function RETURN clause
3. allow "COLLATION without CHARSET" in SP/SF (parameters, RETURN, DECLARE)
4. print correct variable name in error messages for stored routine parameters
2014-12-04 16:09:34 +01:00
Sergei Golubchik
d1522af72d
update 32-bit rdiff's
2014-12-04 13:06:57 +01:00
Jan Lindström
0fe39b6856
MDEV-7262: innodb.innodb-mdev7046 and innodb-page_compression* fail on BuildBot
...
If persistent trim is not used some OS require that we write full page.
2014-12-04 12:40:19 +02:00
Sergei Golubchik
0c7d773fca
test for two password validation plugins
...
when many plugins are active, all must approve the password
2014-12-04 10:41:55 +01:00
Sergei Golubchik
78cb6e34ad
cracklib_password_check plugin
2014-12-04 10:41:55 +01:00
Sergei Golubchik
7516a3c7f4
strict_password_validation
2014-12-04 10:41:55 +01:00
Sergei Golubchik
b814046719
validate SET PASSWORD
2014-12-04 10:41:55 +01:00
Sergei Golubchik
8934794a70
password validation function in sql_acl.cc
2014-12-04 10:41:54 +01:00
Sergei Golubchik
c98b2b393d
password validation plugin type and a simple plugin
2014-12-04 10:41:54 +01:00
Sergei Golubchik
91ad0cd580
sql_acl.cc: better recognize the context to tell the role from a user
...
REQUIRE and MAX_QUERIES_PER_HOUR can not possibly apply to a role
2014-12-04 10:41:54 +01:00
Sergei Golubchik
bc603c604d
bugfix: IDENTIFIED BY clause was lost in some GRANT variants
2014-12-04 10:41:54 +01:00
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
bdb222bcc4
update 32-bit rdiff's
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
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
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
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
Sergei Golubchik
ec4137c62b
Merge branch '10.1' into bb-10.1-merge
2014-12-03 11:37:26 +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
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
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
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
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
4e9e04b28b
tests that require server restart cannot be run with --embedded
2014-12-01 15:35:01 +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
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
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