Sergei Golubchik
2db62f686e
Merge branch '10.0' into 10.1
2015-03-07 13:21:02 +01:00
Alexander Barkov
2d01907c1d
MDEV-7281 EVENT: CREATE OR REPLACE
2015-02-27 13:34:18 +04:00
Sergei Golubchik
0ba168020e
MDEV-6769 DROP TRIGGER IF NOT EXIST binlogged on master but not on slave
...
don't return from DROP TRIGGER IF NOT EXISTS on the slave side
early when the trigger couldn't be read
2015-02-22 12:54:52 +01:00
Sergei Golubchik
8e7649867f
Merge 10.0-galera into 10.1
2015-02-06 16:14:23 +01:00
Sergei Golubchik
4b21cd21fe
Merge branch '10.0' into merge-wip
2015-01-31 21:48:47 +01:00
Nirbhay Choubey
7cda4bee0e
maria-10.0.16 merge
...
bzr merge -r4588 maria/10.0
2015-01-26 22:54:27 -05:00
Nirbhay Choubey
0105bf349a
MDEV-7476: Allow SELECT to succeed even when node is not ready
...
Added a SESSION-only system variable "wsrep_dirty_reads" to allow SELECT
queries to pass even when the node is not prepared to accept queries
(wsrep_ready=OFF). Added a test case.
2015-01-22 18:00:37 -05:00
Sergei Golubchik
d9c01e4b4a
5.5 merge
2015-01-21 12:03:02 +01:00
Sergei Golubchik
56c323c10f
MDEV-6728 KILL QUERY executed on an idle connection can interrupt the next query
...
reset KILL_QUERY when a new query execution is just about to be started
2015-01-19 14:07:41 +01:00
Sergei Golubchik
e695db0f2d
MDEV-7437 remove suport for "atomics" with rwlocks
2015-01-13 10:15:21 +01:00
Alexander Barkov
1f0ad6c6b3
MDEV-7288 USER/ROLE: CREATE OR REPLACE, CREATE IF NOT EXISTS, DROP IF EXISTS
2015-01-13 11:50:33 +04:00
Nirbhay Choubey
25aaa652c4
MDEV-6832: ER_LOCK_WAIT_TIMEOUT on SHOW STATUS
...
Synchronous read view should not be needed for
SHOW commands.
2014-12-31 19:46:48 -05:00
Sergei Golubchik
a978bdda1e
mysql-5.5.41 merge
2014-12-19 11:35:44 +01:00
Alexander Barkov
2dbd26932d
MDEV-7283 UDF: CREATE OR REPLACE, CREATE IF NOT EXISTS, DROP IF EXISTS
...
MDEV-7282 SP: CREATE OR REPLACE, CREATE IF NOT EXISTS
2014-12-15 17:41:15 +04:00
Michael Widenius
80ee57a30a
MDEV-6896 kill user command cause MariaDB crash
...
mysql-test/r/kill-2.result:
test case for MDEV-6896
mysql-test/t/kill-2-master.opt:
test case for MDEV-6896
mysql-test/t/kill-2.test:
test case for MDEV-6896
sql/sql_parse.cc:
Use host_or_ip instead of host as host may be 0
2014-12-15 13:01:11 +02:00
Alexander Barkov
0b936cda07
Using Schema_specification_st instead of HA_CREATE_INFO in a few places
...
where the former is enough.
2014-12-10 16:46:21 +04:00
Alexander Barkov
822eb6ca3d
MDEV-7285 SERVER: CREATE OR REPLACE and CREATE IF NOT EXISTS
2014-12-10 13:41:14 +04:00
Alexander Barkov
92a523e5d5
MDEV-7280 DATABASE: CREATE OR REPLACE
...
A clean-up: require CREATE+DROP privileges for "CREATE OR REPLACE DATABASE",
instead of just CREATE privilege.
2014-12-10 10:40:35 +04:00
Alexander Barkov
dd270e43bf
MDEV-7280 DATABASE: CREATE OR REPLACE
2014-12-10 08:13:08 +04:00
Alexander Barkov
c6d3f8058d
MDEV-7112 Split HA_CREATE_INFO
2014-12-08 10:56:08 +04:00
Kristian Nielsen
db21fddc37
MDEV-6676: Optimistic parallel replication
...
Implement a new mode for parallel replication. In this mode, all transactions
are optimistically attempted applied in parallel. In case of conflicts, the
offending transaction is rolled back and retried later non-parallel.
This is an early-release patch to facilitate testing, more changes to user
interface / options will be expected. The new mode is not enabled by default.
2014-12-06 08:49:50 +01:00
Nirbhay Choubey
3bb02f3e6d
bzr merge -rtag:mariadb-10.0.15 maria/10.0
2014-12-05 12:33:02 -05: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
7bd9eb1f41
parser: store the password hash in LEX_USER::auth, not in ::password
...
* indeed, "username IDENTIFIED BY PASSWORD hash" is the same
as "username IDENTIFIED VIA mysql_native_password USING hash"
* LEX_USER::password can now be used for plain-text passwords
2014-12-04 10:41:54 +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
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 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
3d5f97fd70
Merge ../10.1-explain-json-r4 into 10.1
2014-11-27 00:51:54 +03:00
Oleksandr Byelkin
1827d9e6d1
MDEV-5231: Per query variables from Percona Server (rewritten)
2014-11-11 11:48:50 +01:00
Sergei Golubchik
2160646c1d
5.5 merge
2014-11-03 17:47:37 +01:00
Sergei Petrunia
47ced65566
MDEV-6388: ANALYZE $stmt output in the slow query log
...
Make log_slow_verbosity=explain actually print ANALYZE (that
is, EXPLAIN otuput with two extra columns).
2014-10-17 22:47:06 +04:00
Kristian Nielsen
64af1ecc20
Fix two races in test main.processlist that could cause random failures (seen in Buildbot)
...
1. Do not use NULL `info' field in processlist to select the thread of
interest. This can fail if the read of processlist ends up happening after
REAP succeeds, but before the `info' field is reset. Instead, select on the
CONNECTION_ID(), making sure we still scan the whole list to trigger the same
code as in the original test case.
2. Wait for the query to really complete before reading it in the
processlist. When REAP returns, it only means that ack has been sent to
client, the reset of query stage happens a bit later in the code.
2014-10-22 13:51:33 +02:00
Sergei Petrunia
d3bdc142b4
Merge branch '10.1' of github.com:MariaDB/server into 10.1
2014-10-17 14:21:40 +04:00
Sergei Petrunia
d44dd54bc8
MDEV-6400: "ANALYZE SELECT ... INTO @var" doesn't set @var
...
Make ANALYZE work for
- ANALYZE SELECT ... INTO @var
- ANALYZE INSERT SELECT ...;
- ANALYZE SELECT .. INTO OUTFILE
2014-10-17 14:18:10 +04:00
Sergei Golubchik
1e79138459
Merge branch 'bb-10.1-merge' into 10.1
2014-10-16 00:30:29 +02:00
Sergei Petrunia
be1c17669c
Merge ../10.1 into bb-10.1-explain-json
2014-10-15 17:21:59 +04:00
Sergei Golubchik
f62c12b405
Merge 10.0.14 into 10.1
2014-10-15 12:59:13 +02:00
Igor Babaev
3c4bb0e872
MDEV-334: Backport of UNION ALL optimization from mysql-5.7.
...
Although the original code of mysql-5.7 was adjusted
to the current MariaDB code the main ideas of the optimization
were preserved.
2014-10-14 09:36:50 -07:00
Sergei Golubchik
3182938d22
move userstat tables to a plugin
2014-10-11 18:53:05 +02:00
Sergei Golubchik
db8af31831
SHOW and FLUSH for I_S tables.
...
Extend existing plugins to support
* SHOW QUERY_RESPONSE_TIME
* FLUSH QUERY_RESPONSE_TIME
* SHOW LOCALE
move userstat tables to use the new API instead of
hand-coded syntax
2014-10-11 18:53:04 +02:00
Sergei Golubchik
8f15bf9d0c
cleanup: remove hidden I_S.VARIABLES and I_S.STATUS tables
...
their only purpose was to distinguish between
SHOW and SELECT and there are cleaner ways of doing it.
2014-10-10 22:27:40 +02:00
Sergei Golubchik
d7c1e0ebbd
MDEV-5317 Compound statement / anonymous blocks
...
originally based on the patch by Antony T Curtis
2014-10-10 22:27:39 +02:00
Sergei Golubchik
278f7fdd7e
cleanup: get rid of (Item_splocal*)item downcast
2014-10-10 22:27:39 +02:00
Sergei Golubchik
e8fb24664e
cleanup: use null_lex_str where appropriate
2014-10-10 22:27:37 +02:00
Sergei Golubchik
6e05aabb9b
cleanup: case SQLCOM_CALL
...
move SP invocation code out of the huge switch in mysql_execute_command
2014-10-10 22:27:36 +02:00
Sergei Golubchik
03ec3511a8
cleanup: galera misc cleanups
...
also disable galera-specific output in mysql_tzinfo_to_sql,
it'll be enabled later.
2014-10-10 22:27:36 +02:00
Sergei Golubchik
8596b70f96
cleanup: simplify the usage of WSREP_FORMAT macro
2014-10-10 22:27:36 +02:00
Monty
4af97bc0e3
Removed files that had been accidentally committed
...
Removed compiler warnings
2014-10-07 11:39:42 +03:00