Tor Didriksen
5443b7a4a0
Bug#18786138 SHA/MD5 HASHING FUNCTIONS DIE WITH "FILENAME" CHARACTER SET
...
For charsets with no binary collation: use my_charset_bin.
2014-06-06 16:49:25 +02:00
Sergei Golubchik
e27c338634
5.5.38 merge
2014-06-06 00:07:27 +02:00
Alexander Barkov
284479c085
Merge 5.3->5.5
2014-06-04 21:53:15 +04:00
Alexander Barkov
661daf16f1
MDEV-4858 Wrong results for a huge unsigned value inserted into a TIME column
...
MDEV-6099 Bad results for DATE_ADD(.., INTERVAL 2000000000000000000.0 SECOND)
MDEV-6097 Inconsistent results for CAST(int,decimal,double AS DATETIME)
MDEV-6100 No warning on CAST(9000000 AS TIME)
2014-06-04 20:32:57 +04:00
Alexander Barkov
1449d1d54f
Moving implementation of INET_ATON() INET_NTOA() into
...
separate files item_inetfunc.h and item_inetfunc.cc.
2014-05-30 15:24:25 +04:00
Tor Didriksen
ab8bd02b9b
Bug#18315770 BUG#12368495 FIX IS INCOMPLETE
...
Item_func_ltrim::val_str did not handle multibyte charsets.
Fix: factor out common code for Item_func_trim and Item_func_ltrim.
2014-05-16 10:18:43 +02:00
Tor Didriksen
9ffebd765a
Bug#18315770 BUG#12368495 FIX IS INCOMPLETE
...
Item_func_ltrim::val_str did not handle multibyte charsets.
Fix: factor out common code for Item_func_trim and Item_func_ltrim.
2014-05-16 10:18:43 +02:00
Sergei Golubchik
d3e2e1243b
5.5 merge
2014-05-09 12:35:11 +02:00
Alexander Barkov
213f10363e
MDEV-6045 MySQL Bug#11829861 - SUBSTRING_INDEX() RESULTS "OMIT" CHARACTER WHEN USED INSIDE LOWER()
2014-04-21 13:19:32 +04:00
Alexander Barkov
cfa4548ba5
MDEV-6134 SUBSTRING_INDEX returns wrong result for 8bit character sets when delimiter is not found
2014-04-21 10:13:38 +04:00
Sergey Petrunya
68015a99cd
Change the order of parameters in DECODE_HISTOGRAM to match the order of fields in
...
mysql.column_stats.
2014-03-28 23:18:33 +04:00
Sergei Golubchik
a91c59c2af
MDEV-5920 MySQL Bug#16765410 FTS: STACK AROUND THE VARIABLE 'MYSTR' WAS CORRUPTED IN INNOBASE_STRNXFRM
2014-03-26 09:43:02 +01:00
Sergei Golubchik
5d0c01608c
5.2 merge
2014-03-16 21:03:01 +01:00
Sergei Golubchik
e772cbd7b7
5.1 merge
2014-03-16 13:59:44 +01:00
Sergei Golubchik
d7304375e5
mysql-5.1.73 merge
2014-03-15 18:24:15 +01:00
unknown
70c08df4dc
MDEV-5840: group_concat( column_json(dynamic_column )) return empty result
...
Fixed max_length of dynamic columns json/create/add functions.
2014-03-13 10:38:41 +02:00
Alexander Barkov
31c82360e4
Merge from 5.3
2014-04-21 14:22:18 +04:00
Alexander Barkov
f5b73fe3f1
Merge from 5.3.
2014-04-21 12:19:47 +04:00
Sergei Golubchik
0dc23679c8
10.0-base merge
2014-02-26 15:28:07 +01:00
Sergei Golubchik
0b9a0a3517
5.5 merge
2014-02-25 16:04:35 +01:00
Sergey Vojtovich
d12c7adf71
MDEV-5314 - Compiling fails on OSX using clang
...
This is port of fix for MySQL BUG#17647863.
revno: 5572
revision-id: jon.hauglid@oracle.com-20131030232243-b0pw98oy72uka2sj
committer: Jon Olav Hauglid <jon.hauglid@oracle.com >
timestamp: Thu 2013-10-31 00:22:43 +0100
message:
Bug#17647863: MYSQL DOES NOT COMPILE ON OSX 10.9 GM
Rename test() macro to MY_TEST() to avoid conflict with libc++.
2014-02-19 14:05:15 +04:00
Sergei Golubchik
84651126c0
MySQL-5.5.36 merge
...
(without few incorrect bugfixes and with 1250 files where only a copyright year was changed)
2014-02-17 11:00:51 +01:00
Sergei Golubchik
72c20282db
10.0-base merge
2014-02-03 15:22:39 +01:00
Sergei Golubchik
59d9d08e2b
5.5 merge
2014-02-01 00:54:03 +01:00
Alexander Barkov
f189ed5009
MDEV-5506 safe_mutex: Trying to lock unitialized mutex at safemalloc.c
...
on server shutdown after SELECT with CONVERT_TZ
It's wrong to return my_empty_string from val_str().
Removing my_empty_string. Using make_empty_result() instead.
2014-01-28 12:25:29 +04:00
Alexander Barkov
94868914b8
merge 5.3 -> 5.5
2014-01-28 13:00:50 +04:00
Sergei Golubchik
37d240ecf9
MySQL-5.5.35 merge
2014-01-22 15:29:36 +01:00
Sergei Golubchik
bec1d903d9
Do the partial merge of WL#5602 correctly:
...
Remove unused code (that should not have been merged)
Add protocol extension (that should have been merged)
Fix bugs (see pack.c)
2013-12-09 12:38:02 +01:00
Tor Didriksen
7ad0e1c527
Bug#12368495 CRASH AND/OR VALGRIND ERRORS WITH REVERSE FUNCTION AND CHARSET CONVERTS
...
Item_func_trim::val_str: we were using the non-mb algorithm for skipping leading spaces
in a multibyte-charset string.
2013-11-05 10:02:57 +01:00
Tor Didriksen
175085e7d2
Bug#12368495 CRASH AND/OR VALGRIND ERRORS WITH REVERSE FUNCTION AND CHARSET CONVERTS
...
Item_func_trim::val_str: we were using the non-mb algorithm for skipping leading spaces
in a multibyte-charset string.
2013-11-05 10:02:57 +01:00
Sergei Golubchik
a30e87414c
merge 10.0-base into 10.0
2013-11-04 08:43:56 +01:00
Sergei Golubchik
5c9d2c6c9f
MDEV-4332 Increase username length from 16 characters
...
10.0 part of the task, fix system tables
2013-11-03 16:31:52 +01:00
Sergei Golubchik
0fdb3bcfdb
10.0-base merge (roles)
2013-10-29 15:08:44 +01:00
Alexander Barkov
71f8ca654e
MDEV-5180 Data type for WEIGHT_STRING is too short in some cases
...
(a bug in upstream)
2013-10-25 15:01:03 +04:00
Sergei Golubchik
8993984342
CURRENT_ROLE() should return NULL, not "NONE"
2013-10-18 09:09:08 -07:00
Sergei Golubchik
06e16b8c97
cannot use lex->grant_user= ¤t_user, where LEX_USER current_user is a global constant,
...
because parser might modify the lex->user (e.g. set lex->user-password).
switch to use LEX_STRING current_user string, and also change other similar constants
to be LEX_STRING's for consistency.
2013-10-18 08:17:56 -07:00
Sergei Golubchik
8122996a59
CURRENT_ROLE() function
2013-10-18 06:55:26 -07:00
Alexander Barkov
426d246f5b
MDEV-5163 Merge WEIGHT_STRING function from MySQL-5.6
2013-10-23 20:25:52 +04:00
Alexander Barkov
ce069b1f6b
A follow-up for WL#5624: Collation customization improvements
...
The reasons for failures to initialize a user collation defined
in Index.xml are now correctly reported
(in SHOW WARNINGS and in the server error log) if the COLLATE clause
is used with an expression, e.g.:
SELECT <exrp> COLLATE <collation name> FROM t1;
Previously, the failure reasons were reported only by COLLATE clauses
in SET NAMES and in DDL statements, e.g.:
SET NAMES utf8 COLLATE utf8_xxx_ci;
CREATE TABLE t1 (a VARCHAR(1) CHARACTER SET utf8 COLLATE utf8_xxx_ci);
2013-10-15 13:39:44 +04:00
Alexander Barkov
a9240dce9e
Merge 10.0-base -> 10.0
2013-10-15 10:26:08 +04:00
Alexander Barkov
285e7aa179
MDEV-4425 REGEXP enhancements
2013-09-26 18:02:17 +04:00
unknown
9d83468e78
merge 5.5 -> 10.0-base
2013-09-25 21:07:06 +03:00
unknown
64d6d8334f
merge 5.3 -> 5.5
2013-09-25 17:16:13 +03:00
unknown
ec7da1561e
MDEV-5039: incorrect Item_func_regex::update_used_tables()
...
Other fix of maybe_null problem and revert of revno: 3608 "MDEV-3873 & MDEV-3876 & MDEV-3912 : Wrong result (extra rows) with ALL subquery from a MERGE view."
2013-09-25 15:30:13 +03:00
unknown
e5746665c9
merge 10.0-base -> 10.0
2013-09-26 21:20:15 +03:00
Alexander Barkov
e33582d20d
Merging TO_BASE64() and FROM_BASE64() from MySQL-5.6
2013-09-23 18:58:33 +04:00
unknown
9dbeb9882f
MDEV-4993:Impossible to free a dynamic column
...
Fix of API of dynamic columns (it made uniform and real function used to free the string).
2013-09-17 22:05:15 +03:00
Tor Didriksen
27c6c4e8ac
Bug#17296644 CONV(X, INT_MIN, INT_MIN) SEGFAULTS THE SERVER
...
Do not call abs(INT_MIN) as the result is undefined.
2013-09-09 14:20:50 +02:00
Tor Didriksen
a50170dd0c
Bug#17296644 CONV(X, INT_MIN, INT_MIN) SEGFAULTS THE SERVER
...
Do not call abs(INT_MIN) as the result is undefined.
2013-09-09 14:20:50 +02:00
Alexander Barkov
9adb6e991e
MDEV-4841 Wrong character set of ADDTIME() and DATE_ADD()
2013-08-22 13:59:30 +04:00