- 08 Oct, 2013 1 commit
-
-
unknown authored
-
- 18 Oct, 2013 1 commit
-
-
Sergey Petrunya authored
- Make mysql_select() return error when the query was killed.
-
- 17 Oct, 2013 6 commits
-
-
Sergey Petrunya authored
-
unknown authored
-
unknown authored
-
Sergey Petrunya authored
-
Jan Lindström authored
MDEV-5141: Failing assertion: ib_table->stat_initialized in file ha_innodb.cc line 11042 on concurrent ALTER and SELECT from I_S Analysis: After ALTER TABLE the table statistics needs to be rebuilt and therefore stat_initialized is set false. It will be rebuilt when the table is loaded again and table is closed when alter table is completed. However, during alter table table could be used by concurrent SELECT from I_S. Therefore, we need to rebuild transient table statistics meanwhile until table can be reloaded.
-
Sergey Petrunya authored
-
- 16 Oct, 2013 15 commits
-
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
Local variable table_name_buffer went out of scope while its content was still being used by a String instance. Moved the variable to the function scope.
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
unknown authored
fix for SP & PS
-
Sergey Petrunya authored
-
Sergey Petrunya authored
-
Sergey Petrunya authored
- It turns out, there are statements that will call lex_start(thd->lex) after parsing has been finished. lex_start() will set lex->explain=NULL, which will lose the pointer to already allocated Explain_plan object. - To get rid of this, switch to lazy creation of lex->explain. Now, it is created only when we get a part ot query plan.
-
- 15 Oct, 2013 11 commits
-
-
Sergey Petrunya authored
-
Sergey Petrunya authored
- MYSQL_MULTI_DELETE_DONE probe compile failure - show_explain_non_select.test
-
Alexander Barkov authored
The reasons for failures to initialize a user collation defined in Index.xml are now correctly reported (in SHOW WARNINGS and in the server error log) if the COLLATE clause is used with an expression, e.g.: SELECT <exrp> COLLATE <collation name> FROM t1; Previously, the failure reasons were reported only by COLLATE clauses in SET NAMES and in DDL statements, e.g.: SET NAMES utf8 COLLATE utf8_xxx_ci; CREATE TABLE t1 (a VARCHAR(1) CHARACTER SET utf8 COLLATE utf8_xxx_ci);
-
Sergey Petrunya authored
- When showing EXPLAIN output in the slow query log, format it so that one could use grep or other tool to get the output.
-
Sergey Petrunya authored
- Save the query plan after the statement was executed so that its gets into the slow query log.
-
Sergey Petrunya authored
- Merge with 10.0-base
-
Sergey Petrunya authored
- Port grant_explain_non_select.{test,result} from mysql-5.6 - Per Sanja's hint, fix mysql_make_view() to take into account that EXPLAIN now is not necessarily EXPLAIN SELECT.
-
Sergey Petrunya authored
-
Sergey Petrunya authored
- Fix a problem with EXPLAIN multi_table UPDATE: = Do use multi_update object, because multi_update::prepare() does various setup, e.g. it disables index-only for the tables to be updated. = Protect multi_update::prepare() from being invoked multiple times. If the query has subqueries, they may try to invoke it, for some reason.
-
Alexander Barkov authored
-
Sergey Petrunya authored
- eliminate join_save_qpf() function.
-
- 14 Oct, 2013 6 commits
-
-
Igor Babaev authored
-
Sergey Petrunya authored
-
Igor Babaev authored
-
Igor Babaev authored
-
Igor Babaev authored
The patch for bug mdev-5105 incorrectly counted conditions in nested joins.
-
Alexey Botchkov authored
The emb_free_embedded_thd() has the thread-unsafe code so should be 'mutexed' also.
-