- 07 Apr, 2016 1 commit
-
-
Alexander Barkov authored
export with SELECT INTO OUTFILE followed by import with LOAD DATA INFILE, with various command line --default-character-set=xxx and "CHARACTER SET xxx" clause combinations.
-
- 06 Apr, 2016 4 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Alexander Barkov authored
- Moving the new my_charlen()-based code handling multi-byte characters from READ_INFO::field_field() to a new method READ_INFO::read_mbtail() - Reusing read_mbtail() in READ_INFO::read_value(), instead of the old my_mbcharlen()-based code which did not catch broken byte sequences
-
Alexander Barkov authored
-
- 05 Apr, 2016 5 commits
-
-
Vladislav Vaintroub authored
-
Monty authored
-
Monty authored
- Removed some QQ markers - Removed some rows not compatible with valgrind 3.9.0 - Made mysql_install_db.sh more silent by default. --verbose now gives more information - Added assert that auto-increment doesn't generate 0 (safety) - Removed thd->set_time() in some places as it's set in init_for_queries() - Fixed some --big tests in tokudb - Fixed a bug in mysql_client_test.cc where sql_mode was not properly reset
-
Monty authored
This is done by splitting variables.errmsg and locale.errmsg to variables.errmsg_extra and locale.errmsg_extra The ER() macros in unireg.h now looks more complex than before, but this isn't critical as most usage of them are with constants and the compiler will remove most of the test code.
-
Alexander Barkov authored
-
- 04 Apr, 2016 1 commit
-
-
Alexander Barkov authored
The new class is used for: - FIELDS TERMINATED BY 'string' - LINES STARTING BY 'string' - LINES TERMINATED BY 'string' The implementation of "FIELDS ENCLOSED BY 'char'" and "FIELDS ESCAPED BY 'char'" should eventually also switch to this class to support multi-byte characters. Currently multi-byte ENCLOSED and ESCAPED characters are rejected at parse time.
-
- 01 Apr, 2016 2 commits
-
-
Alexander Barkov authored
buff, buff_length, end_of_buff. This unifies "LOAD DATA" and "LOAD XML", so they now both use String for a temporary value storage. This change will make further work for MDEV-6353 easier.
-
Alexander Barkov authored
-
- 31 Mar, 2016 3 commits
-
-
Alexander Barkov authored
MDEV-9824 LOAD DATA does not work with multi-byte strings in LINES TERMINATED BY when IGNORE is specified
-
Alexander Barkov authored
- Removing the "diff_if_only_endspace_difference" argument from MY_COLLATION_HANDLER::strnncollsp(), my_strnncollsp_simple(), as well as in the function template MY_FUNCTION_NAME(strnncollsp) in strcoll.ic - Removing the "diff_if_only_space_different" from ha_compare_text(), hp_rec_key_cmp(). - Adding a new function my_strnncollsp_padspace_bin() and reusing it instead of duplicate code pieces in my_strnncollsp_8bit_bin(), my_strnncollsp_latin1_de(), my_strnncollsp_tis620(), my_strnncollsp_utf8_cs(). - Adding more tests for better coverage of the trailing space handling. - Removing the unused definition of HA_END_SPACE_ARE_EQUAL
-
Sergey Vojtovich authored
-
- 29 Mar, 2016 1 commit
-
-
Elena Stepanova authored
-
- 28 Mar, 2016 2 commits
-
-
Elena Stepanova authored
-
Sergey Vojtovich authored
man page updates: mysqlbinlog options, mysqlcheck clarification and 10.2 updates
-
- 25 Mar, 2016 3 commits
-
-
Alexander Barkov authored
as it can return negative values. The typo was introduced in the patch for MDEV-9665 in 10.2.0.
-
Oleksandr Byelkin authored
-
Alexander Barkov authored
as they are not used any more. We now use function templates from strcoll.ic instead.
-
- 24 Mar, 2016 5 commits
-
-
Oleksandr Byelkin authored
-
Sergei Golubchik authored
-
Oleksandr Byelkin authored
-
Oleksandr Byelkin authored
Fixed calculating pointer to memory allocated for names in numeric format in unpacking procedure.
-
Alexey Botchkov authored
-
- 23 Mar, 2016 12 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
this fixes 40 failures in mysql-test
-
Monty authored
Added --thread_cache_size=0 to some tests that was depending on not having a thread cache.
-
Monty authored
Added --thread_cache_size=0 to slow_launch_time_func.test as otherwise the new thread would start too fast to be counted as a slow_launch_thread.
-
Alexander Barkov authored
between gbk_chinese_ci and big5_chinese_ci.
-
Alexander Barkov authored
-
Alexander Barkov authored
> commit e0929951 > Author: Alexander Barkov <bar@mariadb.org> > Date: Wed Mar 16 10:55:12 2016 +0400 > > MDEV-9665 Remove cs->cset->ismbchar() > Using a more powerfull cs->cset->charlen() instead.
-
Oleksandr Byelkin authored
-
Alexey Botchkov authored
The cause of the issue is when DROP DATABASE takes metadata lock and is in progress through it's execution, a concurrently running CREATE FUNCTION checks for the existence of database which it succeeds and then it waits on the metadata lock. Once DROP DATABASE writes to BINLOG and finally releases the metadata lock on schema object, the CREATE FUNCTION waiting on metadata lock gets in it's code path and succeeds and writes to binlog.
-
Alexander Barkov authored
1. Fixing Field_time::get_equal_const_item() to pass TIME_FUZZY_DATES and TIME_INVALID_DATES to get_time_with_conversion(). This is needed to make the recursively called Item::get_date() return non-NULL values on garbage input. This makes Field_time::get_equal_const_item() work consistently with how Item::val_time_packed() works. 2. Fixing Item::get_date() to return TIME'00:00:00' rather than DATE'0000-00-00' on empty or garbage input when: - TIME_FUZZY_DATES is enabled - The caller requested a TIME value (by passing TIME_TIME_ONLY). This is needed to avoid conversion of DATE'0000-00-00' to TIME in get_time_with_conversion(), which would erroneously try to subtract CURRENT_DATE from DATE'0000-00-00' and return TIME'-838:59:59' rather than the desired zero value TIME'00:00:00'. #1 and #2 fix these type of scripts to return one row with both MyISAM and InnoDB, with and without an index on t1.b: CREATE TABLE t1 (a ENUM('a'), b TIME, c INT, KEY(b)); INSERT INTO t1 VALUES ('','00:00:00',0); SELECT * FROM t1 WHERE b=''; SELECT * FROM t1 WHERE a=b; SELECT * FROM t1 IGNORE INDEX(b) WHERE b=''; SELECT * FROM t1 IGNORE INDEX(b) WHERE a=b; Additionally, #1 and #2 fix the originally reported in MDEV-9604 crash in Item::save_in_field(), because now execution goes through a different path, so save_in_field() is called for a Item_time_literal instance (which is non-NULL) rather than a Item_cache_str instance (which could return NULL without setting null_value). 3. Fixing Field_temporal::get_equal_const_item_datetime() to enable equal field propagation for DATETIME and TIMESTAMP in case of comparison (e.g. when ANY_SUBST), for symmetry with Field_newdate::get_equal_const_item(). This fixes a number of problems with empty set returned on comparison to empty/garbage input. Now all SELECT queries in this script return one row for MyISAM and InnoDB, with and without an index on t1.b: CREATE TABLE t1 (a ENUM('a'), b DATETIME, c INT, KEY(b)); INSERT INTO t1 VALUES ('','0000-00-00 00:00:00',0); SELECT * FROM t1 WHERE b=''; SELECT * FROM t1 WHERE a=b; SELECT * FROM t1 IGNORE INDEX(b) WHERE b=''; SELECT * FROM t1 IGNORE INDEX(b) WHERE a=b;
-
Elena Stepanova authored
-
- 22 Mar, 2016 1 commit
-
-
Monty authored
Added 5 minute timeout before automaticlally removing threads from thread cache. This solves a problem with jemalloc, which is slow with a small thread cache and also makes thread_cache big enough that most users doesn't have to touch it
-