- 13 Apr, 2015 5 commits
-
-
Daniel Black authored
-
Daniel Black authored
Mainly so that mysql_upgrade.c can use --skip-fix-tables Correct mysql_upgrade_view test output based on phases and previous error message changes.
-
Daniel Black authored
> + if (lex->no_write_to_binlog && lex->only_view) > + { > + my_parse_error(ER(ER_SYNTAX_ERROR)); > + MYSQL_YYABORT; Why? REPAIR NO_WRITE_TO_BINLOG VIEW makes perfect sense to me, why did you want to disallow it?
-
Daniel Black authored
-
Oleksandr Byelkin authored
-
- 12 Apr, 2015 9 commits
-
-
Daniel Black authored
-
Daniel Black authored
Allow tables and views to be repaired in same command. Make error messages represent if it is a REPAIR TABLE or REPAIR VIEW Honor write_binlog even for REPAIR VIEW .. FROM MYSQL opt_all_in_1 does a list of REPAIR TABLE and a list of REPAIR VIEW If a table list is passes this is corrected with the right command
-
Daniel Black authored
when doing the --fix-view-algorithm method to upgrade from MySQL.
-
Oleksandr Byelkin authored
from: r4407
-
Daniel Black authored
-
Daniel Black authored
Add static vars on phases to make merging consistent. client/mysql_upgrade --verbose -S /tmp/s.sock Looking for 'mysql' as: client/mysql Looking for 'mysqlcheck' as: client/mysqlcheck Phase 1/4: Fixing views - skipped - not required Phase 2/4: Fixing table and database names Processing databases information_schema mysql performance_schema test Phase 3/4: Checking and upgrading tables Processing databases information_schema mysql mysql.columns_priv OK mysql.db OK mysql.event OK mysql.func OK mysql.help_category OK mysql.help_keyword OK mysql.help_relation OK mysql.help_topic OK mysql.host OK mysql.ndb_binlog_index OK mysql.plugin OK mysql.proc OK mysql.procs_priv OK mysql.proxies_priv OK mysql.servers OK mysql.tables_priv OK mysql.time_zone OK mysql.time_zone_leap_second OK mysql.time_zone_name OK mysql.time_zone_transition OK mysql.time_zone_transition_type OK mysql.user OK performance_schema test Phase 4/4: Running 'mysql_fix_privilege_tables'... OK
-
Daniel Black authored
-
Daniel Black authored
requested by Sergei Golubchik in review 9 Feb 2015 17:28:08 +0100
-
Oleksandr Byelkin authored
mysql_upgrade upgrades views` from r4408: missing files from mysql-test/std_data/mysql_upgrade/*
-
- 31 Mar, 2015 1 commit
-
-
Alexey Botchkov authored
The serve_audit_query_log_limit variable implemented. Also QUERY_DCL filter added.
-
- 29 Mar, 2015 1 commit
-
-
Sergei Petrunia authored
Update test results after the patch for MDEV-7474.
-
- 23 Mar, 2015 1 commit
-
-
Jan Lindström authored
when using function. Merged upstream fix to Bug#16221433 MYSQL REJECTS QUERY DUE TO BAD RESOLUTION OF NAMES IN HAVING; VIEW UNREADABLE authored by Guilhem Bichot <guilhem.bichot@oracle.com>.
-
- 20 Mar, 2015 1 commit
-
-
Vicențiu Ciorbaru authored
If the spatial key is used within an equality comparison, the comparison does not produce relevant results generally as identical geometry can be stored differently. Still, we want to support the operation. In order to allow a hash join plan, we must define a key_length for Field_geom.
-
- 19 Mar, 2015 1 commit
-
-
Alexey Botchkov authored
plugin_variable_update() can get NULL as a value for a string parameter. Needs to be checked and handled properly.
-
- 17 Mar, 2015 1 commit
-
-
Sergei Petrunia authored
JOIN::cur_dups_producing_tables was not maintained correctly in the cases of greedy optimization (search_depth < n_tables). Moved it to POSITION structure where it will be maintained automatically. Removed POSITION::prefix_dups_producing_tables since its value can now be calculated.
-
- 12 Mar, 2015 1 commit
-
-
Elena Stepanova authored
MDEV-7692 MariaDB - mysql-test - SUITE:percona - percona.innodb_sys_index 'xtradb' fails - @@version_comment The test checked version_comment which is not helpful, and it would cause the mismatch on any build apart from default source builds. Fixed by removing the check
-
- 09 Mar, 2015 1 commit
-
-
Elena Stepanova authored
1) fix 5.5.42 vs 5.5.41 problem, nested links; 2) fix older MariaDB vs MySQL problem, var_auto_** dirs were not removed from the tmpfs location. Both problems were caused by vardir being expanded to real path too early, in two different places in the script code
-
- 06 Mar, 2015 4 commits
-
-
Sergei Golubchik authored
otherwise innodb plugin might invoke xtradb function with the same name, and that might crash (./mtr --emb innodb.strict_mode)
-
Sergei Golubchik authored
update test results after the fix
-
Sergei Golubchik authored
safe_process puts its children (mysqld, in this case) into a separate process group, to be able to kill it all at once. buildslave kills mtr's process group when it loses connection to the master. result? buildslave kills mtr and safe_process, but leaves stale mysqld processes in their own process groups. fix: put safe_process itself into a separate process group, then buildslave won't kill it and safe_process will kill mysqld'd and itself when it will notice that the parent mtr no longer exists.
-
Jan Lindström authored
Analysis: after a red-black-tree lookup we use node withouth checking did lookup succeed or not. This lead to situation where NULL-pointer was used. Fix: Add additional check that found node from red-back-tree is valid.
-
- 05 Mar, 2015 1 commit
-
-
Jan Lindström authored
Analysis: On master when executing (single/multi) row INSERTs/REPLACEs InnoDB fallback to old style autoinc locks (table locks) only if another transaction has already acquired the AUTOINC lock. Instead on slave as we are executing log_events and sql_command is not correctly set, InnoDB does not use new style autoinc locks when it could. Fix: Use new style autoinc locks also when thd_sql_command(user_thd) == SQLCOM_END i.e. this is RBR event.
-
- 28 Feb, 2015 1 commit
-
-
Vicențiu Ciorbaru authored
This bug manifests due to wrong computation and evaluation of keyinfo->key_length. The issues were: * Using table->file->max_key_length() as an absolute value that must not be reached for a key, while it represents the maximum number of bytes possible for a table key. * Incorrectly computing the keyinfo->key_length size during KEY_PART_INFO creation. The metadata information regarding the key such the field length (for strings) was added twice.
-
- 27 Feb, 2015 1 commit
-
-
Sergei Golubchik authored
-
- 23 Feb, 2015 1 commit
-
-
Kristian Nielsen authored
When the binlog was rotated due to @@max_binlog_size, the values of the binlog_shapshot_file and binlog_snapshot_position were inconsistent in case of non-transactional DML. The position was refering to the old file, while the filename was of the new file after rotation. This patch makes them consistent by making sure the position is also refering to the new file.
-
- 13 Feb, 2015 1 commit
-
-
Sergei Golubchik authored
Start the client API for low-level protocol access: * unsigned long mysql_net_read_packet(MYSQL *mysql); * unsigned long mysql_net_field_length(unsigned char **packet);
-
- 12 Feb, 2015 1 commit
-
-
Sergei Golubchik authored
-
- 11 Feb, 2015 5 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 10 Feb, 2015 2 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 09 Feb, 2015 1 commit
-
-
Sergei Golubchik authored
* fix /etc/init.d/mysql to use log-basename for pid-filename * fix mysqld_safe not to force logging-to-file when log-basename is specified
-