[MDEV-5259] Can not restore SphinxSE table using binlog_format row or mixed Created: 2013-11-08 Updated: 2014-05-04 Resolved: 2013-11-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.2.14, 5.3.12, 5.5.33a |
| Fix Version/s: | 10.0.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | VAROQUI Stephane | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sphinx | ||
| Environment: |
Centos OS 5.6 |
||
| Issue Links: |
|
||||||||
| Description |
|
Restoring a dump for a SphinxSE failed with error message 822 – Dumping data for table `iv3article` ERROR 1661 (HY000) at line 9825: Cannot execute statement: impossible to write to binary log since both row-incapable engines and statement-incapable engines are involve
|
| Comments |
| Comment by VAROQUI Stephane [ 2013-11-08 ] |
|
Can not reproduce when the dump is done on a 5.5.33a. The dump triggering the error was produce on a 5.2.8. So may be this is already fixed and just documentation required |
| Comment by Elena Stepanova [ 2013-11-11 ] |
|
I don't think it has anything to do with the dump format, the problem is reproducible on 5.x with plain SQL, LOCK TABLE causes the error. The MTR test case is below. However, it seems to have been fixed in 10.0. Stephane, Do you need it to be fixed in 5.5, or is it okay to have it in 10.0 only? ------------------- MTR test case (to be placed in suite/sphinx, although the issue is equally reproducible if sphinx is not running, creating a Sphinx SE table is enough). --source include/have_log_bin.inc eval create table ts ( id bigint unsigned not null, w int not null, q varchar(255) not null, index(q) ) engine=sphinx connection="sphinx://127.0.0.1:$SPHINXSEARCH_PORT/*"; |
| Comment by VAROQUI Stephane [ 2013-11-11 ] |
|
It does not look critical for the client as he is planning a move in 10.0 very soon. For now --force is doing the rest . Stéphane |
| Comment by Elena Stepanova [ 2013-11-11 ] |
|
As discussed in the previous comments, closing since it's fixed in 10.0 (specifically in 10.0.4). The problem remains in 5.5 versions. |