Vicențiu Ciorbaru
45e6d0aebf
Merge branch '10.1' into 10.2
2018-04-10 17:43:18 +03:00
Vicențiu Ciorbaru
4c89cff558
Merge branch '10.0' into 10.1
2018-04-07 17:11:22 +03:00
Vicențiu Ciorbaru
6a72b9096a
Merge branch '5.5' into 10.0
2018-04-03 18:08:30 +03:00
Alexander Barkov
606e21867c
MDEV-15630 uuid() function evaluates at wrong time in query
2018-04-03 16:28:52 +04:00
Oleksandr Byelkin
eb14042383
MDEV-14613: Assertion `fixed == 0' failed in Item_func::fix_fields
...
fix_fields calls fixed.
2017-12-20 16:52:02 +01:00
Alexander Barkov
62333983e4
Merge remote-tracking branch 'origin/10.1' into 10.2
2017-11-09 15:41:26 +04:00
Alexander Barkov
0fdb0bdf27
Merge remote-tracking branch 'origin/10.0' into 10.1
2017-11-09 14:05:53 +04:00
Alexander Barkov
ca695888e0
MDEV-14116 INET6_NTOA output is set as null to varchar(39) variable
2017-11-07 21:57:42 +04:00
Vicențiu Ciorbaru
22c322c649
Merge branch '10.1' into 10.2
2017-09-19 12:43:02 +03:00
Vicențiu Ciorbaru
ec6042bda0
Merge branch '10.0' into 10.1
2017-09-19 12:06:50 +03:00
Alexander Barkov
434e283507
MDEV-13685 Can not replay binary log due to Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation 'concat'
2017-09-15 12:25:06 +04:00
Nirbhay Choubey
8b2e642aa2
MDEV-7635: Update tests to adapt to the new default sql_mode
2017-02-10 06:30:42 -05:00
Sergei Golubchik
180065ebb0
Item::print(): remove redundant parentheses
...
by introducing new Item::precedence() method and using it
to decide whether parentheses are required
2016-12-12 20:44:41 +01:00
Sergei Golubchik
a411d7f4f6
store/show vcols as item->print()
...
otherwise we'd need to store sql_mode *per vcol*
(consider CREATE INDEX...) and how SHOW CREATE TABLE would
support that?
Additionally, get rid of vcol::expr_str, just to make sure
the string is always generated and never leaked in the
original form.
2016-12-12 20:35:41 +01:00
Sergei Golubchik
06b7fce9f2
Merge branch '10.1' into 10.2
2016-09-09 08:33:08 +02:00
Sergei Golubchik
6b1863b830
Merge branch '10.0' into 10.1
2016-08-25 12:40:09 +02:00
Sergei Golubchik
309c08c17c
Merge branch '5.5' into 10.0
2016-08-10 19:19:05 +02:00
Sergei Golubchik
a350e53b61
Merge branch 'mysql/5.5' into 5.5
...
without a fix for Bug#12818255 (MDEV-6581)
2016-08-03 20:38:25 +02:00
Alexander Barkov
4dcbb775ae
parentheses in default
...
- Adding SHOW CREATE TABLE into all DEFAULT tests,
to cover need_parentheses_in_default() for all items
- Fixing a few items not to print parentheses in DEFAULT:
spatial function-alike predicates, IS_IPV4 and IS_IPV6 functions,
COLUMN_CHECK() and COLUMN_EXISTS().
2016-06-30 11:43:02 +02:00
Alexander Barkov
5ba196c428
More test for MDEV-10134 Add full support for DEFAULT
...
INET4/INET6 functions
2016-06-30 11:43:02 +02:00
Sreeharsha Ramanavarapu
115f08284d
Bug #23279858 : MYSQLD GOT SIGNAL 11 ON SIMPLE SELECT
...
NAME_CONST QUERY
ISSUE:
------
Using NAME_CONST with a non-constant negated expression as
value can result in incorrect behavior.
SOLUTION:
---------
The problem can be avoided by checking whether the argument
is a constant value.
The fix is a backport of Bug#12735545.
2016-05-24 07:44:21 +05:30
Sergey Vojtovich
282497dd6d
MDEV-6720 - enable connection log in mysqltest by default
2016-03-31 10:11:16 +04:00
Sergei Golubchik
dfb74dea30
Merge branch '10.0' into 10.1
2015-10-12 00:37:58 +02:00
Sergei Golubchik
cfeedbfd3e
Merge branch '5.5' into 10.0
2015-10-09 17:12:26 +02:00
Oleksandr Byelkin
02a38fd27e
MDEV-8624: MariaDB hangs on query with many logical condition
...
Made no_rows_in_result()/restore_to_before_no_rows_in_result() not looking
annecessary deep with walk() method.
2015-09-28 11:56:33 +02:00
Alexander Barkov
30711c6650
MDEV-8806 Numeric CAST produce different warnings for strings literals vs functions
2015-09-25 21:33:50 +04:00
Oleksandr Byelkin
e3982cead2
MDEV-6066: Merge new defaults from 5.6 and 5.7 (defaults changed, QC can be stopped with no-zero size)
2015-09-04 10:33:56 +02:00
Sergei Golubchik
530a6e7481
Merge branch '10.0' into 10.1
...
referenced_by_foreign_key2(), needed for InnoDB to compile,
was taken from 10.0-galera
2015-09-03 12:58:41 +02:00
Monty
6b20342651
Ensure that fields declared with NOT NULL doesn't have DEFAULT values if not specified and if not timestamp or auto_increment
...
In original code, sometimes one got an automatic DEFAULT value in some cases, in other cases not.
For example:
create table t1 (a int primary key) - No default
create table t2 (a int, primary key(a)) - DEFAULT 0
create table t1 SELECT .... - Default for all fields, even if they where defined as NOT NULL
ALTER TABLE ... MODIFY could sometimes add an unexpected DEFAULT value.
The patch is quite big because we had some many test cases that used
CREATE ... SELECT or CREATE ... (...PRIMARY KEY(xxx)) which doesn't have an automatic DEFAULT anymore.
Other things:
- Removed warnings from InnoDB when waiting from semaphore (got this when testing things with --big)
2015-08-18 11:18:57 +03:00
Sergei Golubchik
006ffca56e
after-merge fixes
2015-08-04 23:40:25 +02:00
Jan Lindström
9a5787db51
Merge commit '96badb16afcf' into 10.0
...
Conflicts:
client/mysql_upgrade.c
mysql-test/r/func_misc.result
mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result
mysql-test/suite/innodb/r/innodb-fk.result
mysql-test/t/subselect_sj_mat.test
sql/item.cc
sql/item_func.cc
sql/log.cc
sql/log_event.cc
sql/rpl_utility.cc
sql/slave.cc
sql/sql_class.cc
sql/sql_class.h
sql/sql_select.cc
storage/innobase/dict/dict0crea.c
storage/innobase/dict/dict0dict.c
storage/innobase/handler/ha_innodb.cc
storage/xtradb/dict/dict0crea.c
storage/xtradb/dict/dict0dict.c
storage/xtradb/handler/ha_innodb.cc
vio/viosslfactories.c
2015-08-03 23:09:43 +03:00
Sergey Vojtovich
392df76bc3
MDEV-4017 - GET_LOCK() with negative timeouts has strange behavior
...
GET_LOCK() silently accepted negative values and NULL for timeout.
Fixed GET_LOCK() to issue a warning and return NULL in such cases.
2015-07-29 15:59:56 +04: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
Alexander Barkov
4211b1cd48
MDEV-4051 INET6_ATON() and INET6_NTOA()
...
Backporting functions from MySQL-5.6:
- INET6_ATON()
- INET6_NTOA()
- IS_IPV4()
- IS_IPV4_COMPAT()
- IS_IPV4_MAPPED()
- IS_IPV6()
2014-05-30 16:19:00 +04:00
Sergei Golubchik
10740939eb
5.5 merge
2014-03-26 22:25:38 +01:00
Sergei Golubchik
5d8c15228e
5.3-merge
2014-03-16 19:21:37 +01:00
unknown
5c8ed7dd54
MDEV-5446: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' fails on EXPLAIN EXTENDED with VALUES function
...
field_index should be set correctly for null field created by Item_insert_value::fix_fields().
2014-03-14 11:38:17 +02:00
Sergei Golubchik
0b9a0a3517
5.5 merge
2014-02-25 16:04:35 +01:00
Sergei Golubchik
fb27ce22f7
5.3 merge
2014-02-14 14:09:29 +01:00
Sergei Golubchik
52f038c5c3
MDEV-5655 Server crashes on NAME_CONST containing AND/OR expressions
...
fix the NAME_CONST check to only allow literals, negated literals, and literals with
the explicit collation.
2014-02-12 21:17:28 +01:00
Alexey Botchkov
1a600125ff
MDEV-3917 multiple use locks (GET_LOCK) in one connection.
...
The patch contributed by Konstantin Osipov applied.
Native comments:
Implement multiple user-level locks per connection.
GET_LOCK() function in MySQL allows a connection to hold at most
one user level lock. Taking a new lock automatically releases the
old lock, if any.
The limit of one lock per session existed since early versions
of MySQL didn't have a deadlock detector for SQL locks.
MDL patches in MySQL 5.5 added a deadlock detector,
so starting from 5.5 it became possible to take multiple locks
in any order -- a deadlock, should it occur, would be detected
and an error returned to the client which closed the wait chain.
This is exactly what is done in this patch: ULLs are moved
to use MDL subsystem.
2013-04-12 18:06:51 +05:00
unknown
82e39cb1e1
Fixed typo in the function name.
...
test suite added.
2013-01-22 13:29:59 +02:00
Sergei Golubchik
9809f05199
5.5-merge
2011-07-02 22:08:51 +02:00
Georgi Kodinov
74e2520cd9
merge mysql-5.5->mysql-5.5-bugteam
2010-12-16 18:44:17 +02:00
Georgi Kodinov
c6b904abf8
merge mysql-5.5->mysql-5.5-bugteam
2010-12-16 18:44:17 +02:00
Georgi Kodinov
6fe1b33f20
merge
2010-11-26 16:32:51 +02:00
Georgi Kodinov
96d45ed2f6
merge
2010-11-26 16:32:51 +02:00
Sergei Golubchik
65ca700def
merge.
...
checkpoint.
does not compile.
2010-11-25 18:17:28 +01:00
Ramil Kalimullin
bd557f04f6
Manual merge from mysql-5.5-bugteam.
2010-11-22 14:47:28 +03:00
Ramil Kalimullin
cc5263b223
Manual merge from mysql-5.5-bugteam.
2010-11-22 14:47:28 +03:00