- 30 Jun, 2015 16 commits
-
-
Jan Lindström authored
File block size might be 0 and used on modulo operator. Make sure that file block size is initialized to 512.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
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.
-
Vicențiu Ciorbaru authored
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.
-
Vicențiu Ciorbaru authored
Update_rows_log_event must make use of the after image bitmap when detecting which columns to update.
-
Vicențiu Ciorbaru authored
The bitmap is now deduced from the table's read and write set.
-
Vicențiu Ciorbaru authored
The logging function now writes to the binlog according to the bitmap columns implied by the binlog_row_image variable.
-
Vicențiu Ciorbaru authored
The row events no longer require columns arguments.
-
Vicențiu Ciorbaru authored
When deciding which binlog events are pending, make use of the bitmap compare function instead.
-
Vicențiu Ciorbaru authored
The function compares bitmaps according to the binlog_row_image variable setting.
-
Vicențiu Ciorbaru authored
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.
-
Vicențiu Ciorbaru authored
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.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
The system variable is present but it does not do anything yet.
-
Alexander Barkov authored
-
- 29 Jun, 2015 8 commits
-
-
Nirbhay Choubey authored
of wsrep_provider_options' value. Also increase the max value length for SYSTEM_VARIABLES schema table.
-
Jan Lindström authored
-
Jan Lindström authored
Crypt data was used when it was already freed. Delete crypt data more thorougly when freed.
-
Jan Lindström authored
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.
-
Sergey Vojtovich authored
Time column of SHOW PROCESSLIST was returned in microseconds after rev. 8f603bcb. Revert original timescale (seconds).
-
Sergey Vojtovich authored
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.
-
Sergey Vojtovich authored
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.
-
Jan Lindström authored
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.
-
- 28 Jun, 2015 6 commits
-
-
Sergei Golubchik authored
-
Alexander Barkov authored
It's now needed outside of Item_bool_func2 any more.
-
Sergei Golubchik authored
-
Alexander Barkov authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
fix two #if MYSQL_VERSION_ID > 100105
-
- 27 Jun, 2015 10 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
SEQ_READ_APPEND is for two threads (reader and writer) simultaneously accessing the IO_CACHE
-
Sergei Golubchik authored
Pretend that CREATE TABLE and CREATE TEMPORARY TABLE are two different commands internally. The user doesn't need to know that they both are SQLCOM_CREATE_TABLE. Same for DROP [TEMPORARY] TABLE
-
Sergei Golubchik authored
* keep all com_xxx constants together in struct system_status_var * fix an outdated comment in sql_cmd.h * fix an off-by-one bug in mysqld.cc
-
Sergei Golubchik authored
-
Sergei Golubchik authored
as a bonus that makes CREATE TEMPORARY TEMPORARY TABLE illegal
-
Sergei Golubchik authored
Old code worked because plugin locking guaranteed that encryption plugin is deinitialized last. But compiled-in plugins are never locked. This fixes encryption failures on fulltest builder
-