- 25 Jan, 2016 14 commits
-
-
Sergei Golubchik authored
Debian tests are run in 2017, update the test to use 2027 as a "future".
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Don't compare "field == table->next_number_field" because the field can be special nullable field copy created by the trigger. Compare field_index values instead.
-
Sergei Golubchik authored
Cannot do password validation in fix_lex_user(), we don't know there what "GRANT ... TO user" means - creating a new user with an empty password (need validation) or granting privileges to an existing user (no validation needed). Move validation down into replace_user_table(). And copy into check_change_password().
-
Sergei Golubchik authored
-
Sergei Golubchik authored
increase the thread stack a bit for main.signal_demo3 and sys_vars.max_sp_recursion_depth_func to stop failing
-
Sergei Golubchik authored
Was: * LEX_USER::password was storing sometimes plaintext password and sometimes password hash * LEX_USER::auth was storing sometimes password hash and sometimes plugin authentication string Now: * LEX_USER::pwtext stores the password in plain-text * LEX_USER::pwhash stores the password hash * LEX_USER::auth stores the plugin authentication string
-
Sergei Golubchik authored
as this is used quite often
-
Sergei Golubchik authored
add /usr/share/pkgconfig to the rpm ignored list
-
Sergei Golubchik authored
allow more characters in a valid user/group name: * POSIX allows dashes '-' and dots '.' * also the name may end with a dollar sign '$' for our purposes it's enough to allow [-.$] anywhere in the name
-
Sergei Golubchik authored
different fix. remove old ones, wait for THD to be fully initialized before continuing with the server startup process. This reverts commits db2e21bf, 13615c5e, 3f515a09, 70113ee1.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Alexey Botchkov authored
Now both are generated by the cmake from the scripts/maria_add_gis_sp.sql.in
-
- 24 Jan, 2016 1 commit
-
-
Sergei Petrunia authored
Undo the change in test_if_skip_sort_order() that set ref_key=-1 when a variant of index_merge is used (was made in fix for MDEV-9021). It turned out that test_if_cheaper_ordering() call below assumes that ref_key=-1 means "no index is used", that is, "an inefficient full table scan is done". This is not the same as index_merge, index_merge can actually be quite efficient. So, ref_key=MAX_KEY denotes the fact that some index is used, not any given index.
-
- 22 Jan, 2016 1 commit
-
-
Oleksandr Byelkin authored
Do not include BLOB fields by default.
-
- 20 Jan, 2016 3 commits
-
-
Vladislav Vaintroub authored
Fix spelling of my name
-
Robbie Harwood authored
-
Vladislav Vaintroub authored
-
- 19 Jan, 2016 3 commits
-
-
Vladislav Vaintroub authored
-
Jan Lindström authored
innodbchecksum: add fclose and handle errors
-
Daniel Black authored
-
- 17 Jan, 2016 7 commits
-
-
Vicențiu Ciorbaru authored
This reverts commit 727f92fe.
-
Vicențiu Ciorbaru authored
This reverts commit df32495c.
-
Vicențiu Ciorbaru authored
ISO C90 does not allow mixed declarations and code.
-
Vicențiu Ciorbaru authored
Changed code to comply to C90 standard.
-
Vicențiu Ciorbaru authored
In order to get all the input from addr2line we must read in a loop, until the response is complete. Also, in case that the response is malformed, we must not end up reading invalid memory.
-
Vicențiu Ciorbaru authored
Due to a hack that has propagated to the maria storage engine, undefined behaviour would result by bypassing the initialization code of variables after my_thread_init(). By refactoring the nested logic into a separate function, this problem is resolved.
-
Vicențiu Ciorbaru authored
Setting read and write methods for the SORT_PARAM struct based on variable length key is done within a single function.
-
- 15 Jan, 2016 3 commits
-
-
Kristian Nielsen authored
-
Kristian Nielsen authored
Conflicts: sql/slave.cc
-
Kristian Nielsen authored
This occurs when replication stops with an error, domain-based parallel replication is used, and the GTID position contains more than one domain. Furthermore, it relates to the case where the SQL thread is restarted without first stopping the IO thread. In this case, the file/offset relay-log position does not correctly represent the slave's multi-dimensional position, because other domains may be far ahead of, or behind, the domain with the failing event. So the code reverts the relay log position back to the start of a relay log file that is known to be before all active domains. There was a bug that when the SQL thread was restarted, the rli->relay_log_state was incorrectly initialised from @@gtid_slave_pos. This position will likely be too far ahead, due to reverting the relay log position. Thus, if the replication fails again after the SQL thread restart, the rli->restart_gtid_pos might be updated incorrectly. This in turn would cause a second SQL thread restart to replicate from the wrong position, if the IO thread was still left running. The fix is to initialise rli->relay_log_state from @@gtid_slave_pos only when we actually purge and re-fetch relay logs from the master, not at every SQL thread start. A related problem is the use of sql_slave_skip_counter to resolve replication failures in this kind of scenario. Since the slave position is multi-dimensional, sql_slave_skip_counter can not work properly - it is indeterminate exactly which event is to be skipped, and is unlikely to work as expected for the user. So make this an error in the case where domain-based parallel replication is used with multiple domains, suggesting instead the user to set @@gtid_slave_pos to reliably skip the desired event.
-
- 14 Jan, 2016 1 commit
-
-
Vladislav Vaintroub authored
-
- 05 Jan, 2016 1 commit
-
-
Jan Lindström authored
MDEV-9359: encryption.create_or_replace fails sporadically in buildbot: failing assertion: mutex->magic_n == MUTEX_MAGIC_N Make sure that encryption threads mutex is initialized before starting encryption threads.
-
- 30 Dec, 2015 3 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
Fix process handle leak in buildbot. GenerateConsoleCtrlEvent sent to non-existing process will add a process handle to this non-existing process to console host process conhost.exe
-
- 29 Dec, 2015 3 commits
-
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
as it's needed for Cassandra in 10.0.
-