- 09 Dec, 2016 2 commits
-
-
Jan Lindström authored
MDEV-11075: changing to algorithm innodb from crc32
-
Daniel Black authored
With innodb compressed pages formerly as crc32 changing to the innodb checksum, optimize for speed by only calcuating the big endian variant of crc32 after checking that the little endian doesn't validate the page. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
- 08 Dec, 2016 3 commits
-
-
Marko Mäkelä authored
MDEV-11422 rpl.rpl_parallel_optimistic_nobinlog failed in buildbot with "InnoDB: Killing connection failed Deadlock" innobase_kill_query(): Remove the bogus warning message (for the valid outcome err==DB_DEADLOCK) that was added in commit fec844ac Author: Jan Lindström <jan.lindstrom@mariadb.com> Date: Tue Sep 6 09:43:16 2016 +0300 Merge InnoDB 5.7 from mysql-5.7.14. Also, remove some redundant variables and add a debug assertion for enforcing the proper outcome of lock_trx_handle_wait().
-
Vladislav Vaintroub authored
buffer pool size The reason for the exception is previous overflow in multiplication of two 32bit integers (product was 0 rather than expected 8GB, due to truncation)
-
Alexey Botchkov authored
When the json was just a scalar value, json_extract tried to parse after the value ended.
-
- 07 Dec, 2016 2 commits
-
-
Jan Lindström authored
-
-
- 05 Dec, 2016 15 commits
-
-
Alexey Botchkov authored
Test case added.
-
Alexey Botchkov authored
Test case added.
-
Alexey Botchkov authored
Item_func_json_merge fixed.
-
Alexey Botchkov authored
'JSON' made possible identifier.
-
Alexey Botchkov authored
Now return the argument's value when error.
-
Jan Lindström authored
Merge pull request #268 from grooverdan/10.2-MDEV-10651-enable-test-sys_vars.innodb_buffer_pool_dump_pct_basic MDEV-10651: enable test sys_vars.innodb_buffer_pool_dump_pct_basic
-
Marko Mäkelä authored
MDEV-11451: isinf || isnan -> !isfinite
-
Marko Mäkelä authored
crashes server This bug is the result of merging the Oracle MySQL follow-up fix BUG#22963169 MYSQL CRASHES ON CREATE FULLTEXT INDEX without merging the base bug fix: Bug#79475 Insert a token of 84 4-bytes chars into fts index causes server crash. Unlike the above mentioned fixes in MySQL, our fix will not change the storage format of fulltext indexes in InnoDB or XtraDB when a character encoding with mbmaxlen=2 or mbmaxlen=3 and the length of a word is between 128 and 84*mbmaxlen bytes. The Oracle fix would allocate 2 length bytes for these cases. Compatibility with other MySQL and MariaDB releases is ensured by persisting the used maximum length in the SYS_COLUMNS table in the InnoDB data dictionary. This fix also removes some unnecessary strcmp() calls when checking for the legacy default collation my_charset_latin1 (my_charset_latin1.name=="latin1_swedish_ci"). fts_create_one_index_table(): Store the actual length in bytes. This metadata will be written to the SYS_COLUMNS table. fts_zip_initialize(): Initialize only the first byte of the buffer. Actually the code should not even care about this first byte, because the length is set as 0. FTX_MAX_WORD_LEN: Define as HA_FT_MAXCHARLEN * 4 aka 336 bytes, not as 254 bytes. row_merge_create_fts_sort_index(): Set the actual maximum length of the column in bytes, similar to fts_create_one_index_table(). row_merge_fts_doc_tokenize(): Remove the redundant parameter word_dtype. Use the actual maximum length of the column. Calculate the extra_size in the same way as row_merge_buf_encode() does.
-
Alexey Botchkov authored
Item_func_json_extract::val_str fixed.
-
Alexey Botchkov authored
Item_func_json_length::val_int fixed.
-
Alexey Botchkov authored
Test case added.
-
Alexey Botchkov authored
Item_func_json_array_append::val_str fixed.
-
Alexey Botchkov authored
Item_func_json_array_insert::val_str fixed.
-
Alexey Botchkov authored
Item_func_json_remove::val_str fixed.
-
Alexey Botchkov authored
Item_func_json_depth::val_int fixed.
-
- 04 Dec, 2016 8 commits
-
-
Daniel Black authored
Since 10.2 (2e814d47) this test changed and the race condition of MDEV-10651 no longer forms part of this test. As such re-enable this test. Also include save/restore of the default values of this variable. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Daniel Black authored
There are only 3 logical states for a number. The isfinite is a single function call rather than multiple leaving scope for compiler /architecture optimization. Changed the logic as follows in a few files. my_isinf(square) || my_isnan(square) -> !isfinite(square) Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
Alexey Botchkov authored
Integer/Double recognition added.
-
Alexey Botchkov authored
Create_func_json_contains::create_native fixed.
-
Alexey Botchkov authored
Create_func_json_merge::create_native fixed.
-
Alexey Botchkov authored
json_quote fixed.
-
Alexey Botchkov authored
fix_length_and_dec() didn't calculate the length of the result properly.
-
Alexey Botchkov authored
MDEV-11438 Assertion `null_value' failed in Item::send(Protocol*, String*) upon casting NULL as JSON. test added.
-
- 03 Dec, 2016 8 commits
-
-
Alexey Botchkov authored
Depth of nested objects should be controlled.
-
Alexey Botchkov authored
The depth of nested arrays should be controlled, as it's limited.
-
Alexey Botchkov authored
Item_func_json_search::val_str didn't set the null_value properly. So that affected the next record in the resultset.
-
Alexey Botchkov authored
JSON_ARRAY didn't expect 0 arguments.
-
Alexey Botchkov authored
CAST AS JSON didn't set the null_value mark properly.
-
Alexey Botchkov authored
Some JSON functions didn't expect NULL as a path.
-
Alexey Botchkov authored
MDEV-11442 Server crashes in String::length / parse_one_or_all /Item_func_json_contains_path::val_int Didn't expect 'one_or_all' parameter to be NULL.
-
Alexey Botchkov authored
Wrong 'value_lengh' taken
-
- 02 Dec, 2016 2 commits
-
-
Jan Lindström authored
MDEV-11168: InnoDB: Failing assertion: !other_lock || wsrep_thd_is_BF(lock->trx->mysql_thd, FALSE) || wsrep_thd_is_BF(other_lock->trx->mysql_thd, FALSE) Merge fix from 10.1.
-
Marko Mäkelä authored
trx_state_eq(): Add the parameter bool relaxed=false, to allow trx->state==TRX_STATE_NOT_STARTED where a different state is expected, if an error has been reported. trx_release_savepoint_for_mysql(): Pass relaxed=true to trx_state_eq(). That is, allow the transaction to be idle when ROLLBACK TO SAVEPOINT is attempted after an error has been reported to the client.
-