5.6 merge
(MDEV-3932)
|
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Technical task | Priority: | Major |
| Reporter: | Oleksandr Byelkin | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
merge 5.6->10.0 |
| Comments |
| Comment by Oleksandr Byelkin [ 2013-06-26 ] |
|
Fix for union with duplicate rows is:
Test suite of the patch which added removed lines passes. Now testing why it works and if it is correct fix. |
| Comment by Oleksandr Byelkin [ 2013-06-26 ] |
|
I was wrong, only part of changed test suit passes. the bug fixed here is present in 5.6 so need to revert everything to our code. |
| Comment by Oleksandr Byelkin [ 2013-06-26 ] |
|
Above problem with unions fixed. |
| Comment by Oleksandr Byelkin [ 2013-06-26 ] |
|
Started crash in query_cache.test in: |
| Comment by Oleksandr Byelkin [ 2013-06-26 ] |
|
It looks like invalidating of TABLE_LIST which refers to TABLE wich was freed already... (drop table t1, t2, t3 command). |
| Comment by Oleksandr Byelkin [ 2013-06-26 ] |
|
Problem is with invalidating temporary table: – source include/have_query_cache.inc |
| Comment by Oleksandr Byelkin [ 2013-06-26 ] |
|
in 5.6 table_list->table is NULL |
| Comment by Oleksandr Byelkin [ 2013-06-26 ] |
|
The problem is that this patch was partially pulled: The problem was that user with CREATE TEMPORARY TABLES The idea of this patch is to allow any relevant operation |
| Comment by Oleksandr Byelkin [ 2013-06-27 ] |
|
This appeared to be partially taken also (code which preopen temporary tables just skipped) but all tags put to the bitmap of commands revno: 2876.430.1
|
| Comment by Oleksandr Byelkin [ 2013-06-27 ] |
|
the revision above merged |
| Comment by Oleksandr Byelkin [ 2013-07-01 ] |
|
I will check failure of ps.test. |
| Comment by Oleksandr Byelkin [ 2013-07-01 ] |
|
the result was correct |
| Comment by Oleksandr Byelkin [ 2013-07-01 ] |
|
I will check crash of sp-dynamic.test |
| Comment by Oleksandr Byelkin [ 2013-07-01 ] |
|
Test suite: create table t1 (id integer primary key auto_increment, prepare update_stmt from "update t1 set status=? where id=?"; |
| Comment by Oleksandr Byelkin [ 2013-07-02 ] |
|
It is error 1295 (This command is not supported in the prepared statement protocol yet). Everything looks OK... |
| Comment by Oleksandr Byelkin [ 2013-07-02 ] |
|
set_error_status called with NULL condition |
| Comment by Oleksandr Byelkin [ 2013-07-02 ] |
|
The problem is that THD::m_internal_handler is not set. |
| Comment by Oleksandr Byelkin [ 2013-07-02 ] |
|
part of following cset is lost: The patch introduces Diagnostics_area::m_error_condition and Diagnostics_area::m_error_condition is intended to store a pointer |
| Comment by Oleksandr Byelkin [ 2013-07-02 ] |
|
above revision checked and fix pushed. |
| Comment by Oleksandr Byelkin [ 2013-07-03 ] |
|
ps_1general it looks like only output changed... |
| Comment by Oleksandr Byelkin [ 2013-07-03 ] |
|
Fixed and pushed trivial issues with ps_tests. |
| Comment by Oleksandr Byelkin [ 2013-07-03 ] |
|
ps_ddl has some problem with temporary table |
| Comment by Oleksandr Byelkin [ 2013-07-03 ] |
|
It does not allow to create temporary table if there is normal one create table t1 (a int); |
| Comment by Oleksandr Byelkin [ 2013-07-04 ] |
|
It looks like main problem in ps*.test is absence of errors, so I take it. |
| Comment by Oleksandr Byelkin [ 2013-07-04 ] |
|
5.6 also does not show errors in the procedures. |
| Comment by Oleksandr Byelkin [ 2013-07-04 ] |
|
Yes. 10.0 show errors but 5.6 and 10.0-monty does not. it looks like a new feature (should be discussed). |
| Comment by Oleksandr Byelkin [ 2013-07-04 ] |
|
I take view.test. |
| Comment by Oleksandr Byelkin [ 2013-07-04 ] |
|
collate should not prevent insertion into the view:
|
| Comment by Oleksandr Byelkin [ 2013-07-04 ] |
|
Only indirect reference via SP do not give the error. CREATE TEMPORARY TABLE t1 (a int); |
| Comment by Oleksandr Byelkin [ 2013-07-04 ] |
|
table t1 in lex->query_tables has no correct view link... |
| Comment by Oleksandr Byelkin [ 2013-07-04 ] |
|
sorry above not view but table (table is not opened) |
| Comment by Oleksandr Byelkin [ 2013-07-05 ] |
|
temporary table opening solved. |
| Comment by Oleksandr Byelkin [ 2013-07-08 ] |
|
changes in hh_* (good/bad) functions is OK. |
| Comment by Oleksandr Byelkin [ 2013-07-08 ] |
|
sqlexception is also OK (exactly the same result in 5.6) |
| Comment by Oleksandr Byelkin [ 2013-07-08 ] |
|
@@ -2628,17 +2588,13 @@ Also the same in 5.6 |
| Comment by Oleksandr Byelkin [ 2013-07-08 ] |
|
I will check ps_ddl. (I thought ir was fixed once) |
| Comment by Oleksandr Byelkin [ 2013-07-09 ] |
|
Com_stmt_reprepare do not indicate repreparation of the statement due to changing metadata. |
| Comment by Oleksandr Byelkin [ 2013-07-09 ] |
|
Dealing with reprepare observer looks like changed a lot... added push/pop which is not present in our code. |
| Comment by Oleksandr Byelkin [ 2013-07-11 ] |
|
in 10.0 reprepare observer has no mark that the query should be reprepared. |
| Comment by Oleksandr Byelkin [ 2013-07-11 ] |
|
thd->m_reprepare_observer is not set (???) so the change in tables is not detected |
| Comment by Oleksandr Byelkin [ 2013-07-11 ] |
|
above was another statement execution. so check_and_update_table_version checks one table and it has correct type and version. |
| Comment by Oleksandr Byelkin [ 2013-07-11 ] |
|
in 5.6 for t2 (gdb) p m_table_ref_type when 10.0 checks t1 and of cocourse (gdb) p m_table_ref_type |
| Comment by Oleksandr Byelkin [ 2013-07-11 ] |
|
the problem is that in 5.6 t2 (temporary table) is opened while in 10.0 it is not. |
| Comment by Oleksandr Byelkin [ 2013-07-11 ] |
|
yet another part of following is lost revno: 2876.430.1
|
| Comment by Oleksandr Byelkin [ 2013-07-11 ] |
|
signal_demo3 mysql 5.6 has different diff on the same test but there is so much skipped reports about signals |
| Comment by Oleksandr Byelkin [ 2013-07-12 ] |
|
checking signal.test |
| Comment by Oleksandr Byelkin [ 2013-07-12 ] |
|
equal to 5.6 |
| Comment by Oleksandr Byelkin [ 2013-07-12 ] |
|
I'll check vcol test suite |
| Comment by Oleksandr Byelkin [ 2013-07-12 ] |
|
it looks like vcol is not recalculated on change of expression during alter table in vcol_non_sorted_columns_myisam |
| Comment by Oleksandr Byelkin [ 2013-07-12 ] |
|
yes, it was doing "inplace" alter table when it should be copy to change stored virtual column values |
| Comment by Oleksandr Byelkin [ 2013-07-12 ] |
|
fixed by serg |
| Comment by Oleksandr Byelkin [ 2013-07-12 ] |
|
I have started with innodb suite |
| Comment by Oleksandr Byelkin [ 2013-07-12 ] |
|
|
| Comment by Oleksandr Byelkin [ 2013-07-12 ] |
|
in both (xtradb/innodb) the patch is present |
| Comment by Oleksandr Byelkin [ 2013-08-01 ] |
|
This part of the task (merge to 10.0-monty tree) is finished |