Alexander Barkov
2bbee0e1ec
MDEV-16861 Split Item::update_null_value() into a new virtual method in Type_handler
2018-07-31 10:09:53 +04:00
Oleksandr Byelkin
083279f783
Merge commit '6b8802e8dd5467556a024d807a1df23940b00895' into bb-10.3-fix_len_dec
2018-06-19 14:51:50 +02:00
Oleksandr Byelkin
6b8802e8dd
MDEV-11071: Assertion `thd->transaction.stmt.is_empty()' failed in Locked_tables_list::unlock_locked_table
...
fix_length_and_dec now return result (error/OK)
2018-06-15 10:31:30 +02:00
Sergei Golubchik
28dbdf3d79
MDEV-14551 Can't find record in table on multi-table update with ORDER BY
...
preserve positions if the multi-update join is using tmp table:
* store positions in the tmp table if needed
JOIN::add_fields_for_current_rowid()
* take positions from the tmp table, not from file->position():
multi_update::prepare2()
2018-05-17 15:13:47 +02:00
Sergei Golubchik
e17e798599
cleanup: simplify multi-update's juggling with positions
...
introduce Item_temptable_rowid() that is used to store
table->file->position() in the temporary table record
2018-05-17 15:13:47 +02:00
Marko Mäkelä
7396dfcca7
Merge 10.2 into 10.3
2018-04-24 20:59:57 +03:00
Marko Mäkelä
4cd7979c56
Merge 10.1 into 10.2
2018-04-24 09:39:45 +03:00
Marko Mäkelä
9c34a4124d
Merge 10.0 into 10.1
2018-04-24 09:26:40 +03:00
Sergei Golubchik
587568b72a
Merge branch '5.5' into 10.0
2018-04-20 14:33:24 +02:00
Vicențiu Ciorbaru
65eefcdc60
Merge remote-tracking branch '10.2' into 10.3
2018-04-12 12:41:19 +03:00
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
Alexander Barkov
6beb08c7b6
MDEV-15624 Changing the default character set to utf8mb4 changes query evaluation in a very surprising way
2018-04-04 09:12:44 +04: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
halfspawn
94ecd2314d
MDEV-15739 sql_mode=ORACLE: Make LPAD and RPAD return NULL instead of empty string
2018-04-03 14:00:19 +04:00
halfspawn
209375fdd0
MDEV-15664 : sql_mode=ORACLE: Make TRIM return NULL instead of empty string
2018-03-29 14:27:57 +04:00
Alexander Barkov
068450a382
MDEV-15689 Fix Item_func_set_collation to pass the collation using CHARSET_INFO instead of Item
...
Main changes:
- Changing the constructor to accept a CHARSET_INFO pointer, instead of an Item pointer
- Updating the bison grammar accordingly
Additional cleanups:
- Simplifying Item_func_set_collation::eq() by reusing Item_func::eq()
- Removing unused binary_keyword
2018-03-27 15:45:09 +04:00
Alexander Barkov
6aff5fa27a
MDEV-15619 using CONVERT() inside AES_ENCRYPT() in an UPDATE corrupts data
2018-03-26 10:33:58 +04:00
Alexander Barkov
d509981498
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3
2018-03-15 13:39:26 +04:00
halfspawn
3e6893e29a
MDEV-10574 / SUBSTR - sql_mode=Oracle: return null instead of empty string
2018-03-13 10:34:28 +01:00
Marko Mäkelä
b006d2ead4
Merge bb-10.2-ext into 10.3
2018-02-15 10:22:03 +02:00
Alexander Barkov
95d075a0e5
MDEV-15293 CAST(AS TIME) returns bad results for LAST_VALUE(),NAME_CONST(),SP variable
2018-02-13 20:37:31 +04:00
Alexander Barkov
3cad31f2a7
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
2018-02-08 19:06:25 +04:00
Sergei Golubchik
4771ae4b22
Merge branch 'github/10.1' into 10.2
2018-02-06 14:50:50 +01:00
Sergei Golubchik
d4df7bc9b1
Merge branch 'github/10.0' into 10.1
2018-02-02 10:09:44 +01:00
Alexander Barkov
c4a908cb56
MDEV-13790 UNHEX() of a somewhat complicated CONCAT() returns NULL
2018-01-30 11:35:27 +04:00
Marko Mäkelä
866ccc8890
Merge bb-10.2-ext into 10.3
2017-12-14 11:34:30 +02:00
Marko Mäkelä
1b5f0cbd46
Merge 10.2 into bb-10.2-ext
2017-12-14 09:53:19 +02:00
Marko Mäkelä
ece9c54e10
Merge 10.1 into 10.2
2017-12-14 08:40:01 +02:00
Marko Mäkelä
ce07d09fd3
Merge 10.0 into 10.1
2017-12-12 19:28:26 +02:00
Michael Widenius
166056f744
Remove not used mem_root argument from build_clone(), get_copy() and get_item_copy()
...
TODO:
- Make get_thd_memroot() inline
- To do this, we need to reduce dependence of include files, especially
so that sql_class.h is not depending in item.h
2017-11-23 09:49:45 +02:00
Alexander Barkov
02e35ef5f2
MDEV-12681 Wrong VIEW results for CHAR(0xDF USING latin1)
2017-11-15 15:52:03 +04:00
Oleksandr Byelkin
2913f615f0
MDEV-8949: COLUMN_CREATE unicode name breakage
...
Use utf-mb4 if it is possible.
2017-11-14 10:49:46 +01:00
Monty
0bb0d52221
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
...
Conflicts:
mysql-test/r/cte_recursive.result
mysql-test/r/derived_cond_pushdown.result
mysql-test/t/cte_recursive.test
mysql-test/t/derived_cond_pushdown.test
sql/datadict.cc
sql/handler.cc
2017-11-09 23:21:41 +02:00
Igor Babaev
343bcb152f
Fixed mdev-14237 Server crash on query with regexp_substr
...
It's better to prohibit pushdown of conditions that involve
regexp_substr() and regexp_replace() into materialized derived
tables / views until proper implementations of the get_copy()
virtual method are provided for those functions.
2017-11-05 22:52:41 -08:00
halfspawn
34f36a335b
MDEV-14012 - sql_mode=Oracle: substr(): treat position 0 as position 1
2017-10-06 09:23:06 +02:00
Alexander Barkov
6857cb57fe
MDEV-13967 Parameter data type control for Item_long_func
...
- Implementing stricter data type control for Item_long_func descendants
- Cleanup: renaming Type_handler::can_return_str_ascii() to can_return_text()
(a better name).
2017-10-01 00:30:58 +04:00
Vladislav Vaintroub
7354dc6773
MDEV-13384 - misc Windows warnings fixed
2017-09-28 17:20:46 +00:00
Sergei Golubchik
80b9ce3593
MDEV-11553 Can't restore a PERSISTENT column that uses DATE_FORMAT()
...
3-argument form of DATE_FORMAT
2017-09-23 20:22:46 +02:00
Alexander Barkov
840f1310cb
Fixing a few -Wconversion warnings
2017-09-23 15:48:47 +04:00
Marko Mäkelä
fc3b1a7d2f
Merge 10.2 into bb-10.2-ext
2017-09-20 17:47:49 +03:00
Sergei Golubchik
8b1f145c82
cleanup
...
Item_func_format::print() was redundant
and other changes
2017-09-18 10:12:23 +02:00
Sergei Golubchik
27412877db
Merge branch '10.2' into bb-10.2-ext
2017-08-25 10:25:48 +02:00
Sergei Golubchik
cb1e76e4de
Merge branch '10.1' into 10.2
2017-08-17 11:38:34 +02:00
halfspawn
c9981fbee2
MDEV-13003 - Oracle compatibility : Replace function
2017-08-11 14:47:36 +04:00
Sergei Golubchik
8e8d42ddf0
Merge branch '10.0' into 10.1
2017-08-08 10:18:43 +02:00
Sergei Golubchik
2fcd8c1252
MDEV-13173 An RLIKE that previously worked on 10.0 now returns "Got error 'pcre_exec: recursion limit of 100 exceeded' from regexp"
...
1. use Regexp_processor_pcre::set_recursion_limit() to set the
recursion limit depending on the current available stack size
2. make pcre stack frame to be estimated no less than 500 bytes.
sometimes pcre estimates it too low, even though the manual
says 500+16 bytes (it was estimated only 188 for me, actual
frame size was 512).
3. do it for embedded too
2017-07-20 20:13:28 +02:00
Alexander Barkov
8b2c7c9444
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
2017-07-07 12:43:10 +04:00
Sergei Golubchik
f6633bf058
Merge branch '10.1' into 10.2
2017-07-05 19:08:55 +02:00