Alexander Barkov
b08c4201fa
Removing unused String declaration in Create_field::Create_field
2015-07-07 15:59:21 +04:00
Alexander Barkov
e4f8cea356
MDEV-8419 utf32: compare broken bytes as "greater than any non-broken character"
2015-07-07 09:15:58 +04:00
Nirbhay Choubey
a5f4412bd4
Fix embedded result to reflect increased system variable's max value length.
2015-07-06 11:40:56 -04:00
Alexander Barkov
3a606ba210
Fixing a bug in MDEV-8418 (utf16, utf16le) and MDEV-8417 (utf8mb4).
...
Fixing non-BMP characters to have the same weight, as it was before
MDEV-8418 and MDEV-8417.
2015-07-06 18:59:33 +04:00
Alexander Barkov
b2e324a21f
MDEV-8416 ucs2: compare broken bytes as "greater than any non-broken character"
...
MDEV-8418 utf16: compare broken bytes as "greater than any non-broken character"
2015-07-06 15:50:56 +04:00
Alexander Barkov
35d8ac350d
MDEV-8417 utf8mb4: compare broken bytes as "greater than any non-broken character"
2015-07-06 10:47:39 +04:00
Alexander Barkov
7ab7f5327a
Fixing a typo in the previous commit.
2015-07-03 19:08:18 +04:00
Alexander Barkov
fff30e26c3
Adding UTF8 related macros to reduce duplicate code.
2015-07-03 18:40:04 +04:00
Alexander Barkov
aeb8d713f4
Removing unused code in ctype-utf8.c
2015-07-03 17:30:15 +04:00
Alexander Barkov
9ad8ff666c
MDEV-8415 utf8: compare broken bytes as "greater than any non-broken character"
2015-07-03 17:24:16 +04:00
Alexander Barkov
95d07ee408
MDEV-8215 Asian MB3 charsets: compare broken bytes as "greater than any non-broken character"
2015-07-03 10:33:17 +04:00
Sergei Petrunia
302bf7c466
Tabular ANALYZE must get its data from execution tracker
2015-07-02 13:40:03 +03:00
Jan Lindström
28a8ba089f
Fix test failure seen on P7/P8 innodb-encrypt-tables update/validate
...
function used incorrect type.
2015-07-02 12:02:27 +03:00
Sergei Petrunia
64424f9886
Update test results
2015-07-02 10:24:02 +03:00
Nirbhay Choubey
f0ce8482c1
Adjust result files to reflect increased system variable's max value length.
2015-07-01 22:52:59 -04:00
Sergei Petrunia
0319304893
Merge branch '10.1' of github.com:MariaDB/server into 10.1
2015-07-01 20:11:43 +03:00
Sergei Petrunia
9d2aa2b309
MDEV-7811: EXPLAIN/ANALYZE FORMAT=JSON should show subquery cache
...
Fixes over the original patch:
- Fix variable/class/other names
- Fix the JSON output to be in line with the output of other JSON
constructs we produce
2015-07-01 20:03:29 +03:00
Jan Lindström
447416d1f3
MDEV-8406: Test failure on encryption.innodb-page_encryption_log_encryption in P7/P8
...
Used wrong type for encryption_key_id and page_compression_level in
table options. Make explicit casts for calls also.
2015-07-01 16:24:29 +03:00
Vicențiu Ciorbaru
93198fefe0
[MDEV-6877] Update test results to accound for binlog_row_image variable.
...
mysqld--help was not updated for binlog row image.
2015-07-01 16:22:41 +03:00
Alexander Barkov
f35386d6f3
Checking in range_mrr_icp.result forgotten in the previous patch.
2015-07-01 15:37:52 +04:00
Jan Lindström
92627e74ca
Add show warnings to test to find out the reason for create failure.
2015-07-01 10:21:23 +03:00
Oleksandr Byelkin
c6aee27b73
MDEV-7811: EXPLAIN/ANALYZE FORMAT=JSON should show subquery cache
2015-06-30 23:07:14 +03:00
Vicențiu Ciorbaru
498a264d19
[MDEV-6877] Update test results to accound for binlog_row_image variable.
2015-06-30 19:51:09 +03:00
Jan Lindström
84cefe2455
MDEV-8396: InnoDB: Assertion failure in file fil0crypt.cc line 2052
...
Logic error, NULL pointer was referenced.
2015-06-30 18:49:47 +03:00
Jan Lindström
d1307bde65
MDEV-8395: InnoDB: Assertion failure in file fil0pagecompress.cc line 539 (SIGFPE)
...
File block size might be 0 and used on modulo operator. Make sure that
file block size is initialized to 512.
2015-06-30 18:49:47 +03:00
Vicențiu Ciorbaru
1a3321b649
[MDEV-6877] Added basic tests for binlog_row_image using minimal and noblob values
2015-06-30 14:44:33 +03:00
Vicențiu Ciorbaru
4d856e362e
[MDEV-6877] Added tests for binlog_row_image using noblobs switch
2015-06-30 14:30:38 +03:00
Vicențiu Ciorbaru
d817267ae6
[MDEV-6877] Change replication event loop to account for empty events
...
When writing rows with a minimal row image, it is possible to receive
empty events. In that case m_curr_row and m_rows_end are the same,
however the event implies an insert into the table with the default
values associated for that table.
2015-06-30 13:17:09 +03:00
Vicențiu Ciorbaru
50955075bb
[MDEV-6877] Fixed Assertion Error, when receiving an empty event
...
Due to how events are created with a minimal binlog_row_image, it is
possible to receive empty write events because all the columns
in the table have a default value. (For example an auto-increment)
Make sure we account for that.
2015-06-30 13:17:09 +03:00
Vicențiu Ciorbaru
ca276729bc
[MDEV-6877] Fixed Update_rows_log_event to correctly apply update log events
...
Update_rows_log_event must make use of the after image bitmap when
detecting which columns to update.
2015-06-30 13:17:09 +03:00
Vicențiu Ciorbaru
8a1b7c9c65
[MDEV-6877] Removed unnecesary bitmap in binlog_write_row
...
The bitmap is now deduced from the table's read and write set.
2015-06-30 13:17:09 +03:00
Vicențiu Ciorbaru
8bd5301a1e
[MDEV-6877] Add binlog writing according to columns
...
The logging function now writes to the binlog according
to the bitmap columns implied by the binlog_row_image variable.
2015-06-30 13:17:09 +03:00
Vicențiu Ciorbaru
edff3f3fa9
[MDEV-6877] Update Update, Delete and Write row log event
...
The row events no longer require columns arguments.
2015-06-30 13:17:09 +03:00
Vicențiu Ciorbaru
724d5ae5f1
[MDEV-6877] Update binlog_prepare_pending_rows_events to use comparison function
...
When deciding which binlog events are pending, make use of the bitmap
compare function instead.
2015-06-30 13:17:09 +03:00
Vicențiu Ciorbaru
a7d181a023
[MDEV-6877] Added a bitmap compare function for binlog_row_image
...
The function compares bitmaps according to the binlog_row_image variable
setting.
2015-06-30 13:17:09 +03:00
Vicențiu Ciorbaru
c096caee71
[MDEV-6877] Removed unneded code from rpl_injector
...
The rpl_injector code is now considered dead code.
This patch only removes the minimum number of function calls
to allow implementing binlog_row_image. The other functions are to be
removed in a subsequent patch.
2015-06-30 13:17:09 +03:00
Vicențiu Ciorbaru
e53ad95b73
[MDEV-6877] Added mark_columns_per_bitmap_row_image
...
Depending on which binlog_row_image we are using, we must
mark columns which to update differently both in the before image
as well as the after image.
2015-06-30 13:17:09 +03:00
Vicențiu Ciorbaru
b9d1d348dd
[MDEV-6877] Added test suite for binlog_row_image sys var
2015-06-30 13:17:08 +03:00
Vicențiu Ciorbaru
3ed519ff05
[MDEV-6877] Added binlog_row_image system variable
...
The system variable is present but it does not do anything yet.
2015-06-30 13:17:08 +03:00
Alexander Barkov
768620ee5c
MDEV-8189 field<>const and const<>field are not symmetric
2015-06-30 12:56:31 +04:00
Nirbhay Choubey
1b2f9126b8
Increase field value max length to 2048 to avoid truncation
...
of wsrep_provider_options' value. Also increase the max value
length for SYSTEM_VARIABLES schema table.
2015-06-29 17:28:50 -04:00
Jan Lindström
7923c0cff2
Fix test failure where the environment was not fully restored.
2015-06-29 20:03:57 +03:00
Jan Lindström
79af0b3823
MDEV-8393: InnoDB: Assertion failure in file fil0crypt.cc line 2109
...
Crypt data was used when it was already freed. Delete crypt data
more thorougly when freed.
2015-06-29 14:10:37 +03:00
Jan Lindström
4fac626917
MDEV-8390: innodb.innodb-flush-changed-page-bitmaps crashes
...
Analysis: Flush changed page bitmaps calls log_online_follow_redo_log
that later calls log_group_read_log_seg with release_mutex = true
and that causes the log_sys mutex being released before
log_decrypt_after_read function that later required log_sys mutex.
Fix: Enter log_sys mutex before log_decrypt_after_read if mutex
is released and release the mutex after the function if we
acquired it before function call.
2015-06-29 12:48:42 +03:00
Sergey Vojtovich
08fa60e5f3
MDEV-8382 - Processlist returns random numbers in Time column
...
Time column of SHOW PROCESSLIST was returned in microseconds after rev. 8f603bc
.
Revert original timescale (seconds).
2015-06-29 12:06:00 +04:00
Sergey Vojtovich
a0f5f407eb
MDEV-8339 - Server crash during table cache eviction
...
TDC_element::free_tables_back() had pre-lfhash leftover code, which referenced
TDC_element::free_tables via TDC_element::share. This is not correct as share
may be NULL (newly inserted or to be removed), instead access free_tables
directly.
2015-06-29 11:07:23 +04:00
Sergey Vojtovich
0865e3deab
MDEV-7792 - SQL Parsing Error - UNION AND ORDER BY WITH JOIN
...
ORDER BY against union may confuse name resolution context, causing valid
SQL statements to fail.
The purpose of context change was presumably intended for the duration of
gathering field list for ORDER BY. However it isn't actually required (name
resolution context is never accessed by the latter).
See also alternative solution (in MySQL 5.7): 92145b95.
2015-06-29 11:04:55 +04:00
Jan Lindström
ad9b3263d3
MDEV-8391: encryption.innodb-page_encryption_compression fails
...
Test create_or_replace should make sure that background decrypt
operation is finished and flush all dirty pages using restart
to clean up the database before ending.
2015-06-29 08:49:58 +03:00
Sergei Golubchik
7567b9fa10
update tests to pass
2015-06-28 18:51:40 +02:00
Alexander Barkov
4d4f2ed2e1
Moving Item_bool_func::add_key_fields_optimize_op() to Item_bool_func2.
...
It's now needed outside of Item_bool_func2 any more.
2015-06-28 18:23:15 +04:00