[MDEV-4878] LOCK TABLE is not working with ConnectSE Created: 2013-08-09 Updated: 2013-08-12 Resolved: 2013-08-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.3 |
| Fix Version/s: | 10.0.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | erkan yanar | Assignee: | Olivier Bertrand |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | connect-engine | ||
| Environment: |
Ubuntu/Precise/LXContainer |
||
| Description |
|
You can't lock a Connect Table.
It should work like with federated SE. |
| Comments |
| Comment by Olivier Bertrand [ 2013-08-09 ] |
|
CONNECT is not transactional and does not support table locking. |
| Comment by erkan yanar [ 2013-08-09 ] |
|
I see no link between LOCK TABLE and a transactional table. |
| Comment by Sergei Golubchik [ 2013-08-09 ] |
|
LOCK TABLE is not related to being transactional, it's mainly handled on the server level. For example, MyISAM and Federated engines support it just fine. The following patch add simple support for LOCK TABLE ... READ: === modified file 'storage/connect/ha_connect.cc' if (newmode == MODE_ANY) {
but making Connect engine to work with LOCK TABLE ... WRITE is a bit more complex. |
| Comment by Olivier Bertrand [ 2013-08-10 ] |
|
I reopened the issue and will study it. |
| Comment by Olivier Bertrand [ 2013-08-12 ] |
|
Fixed by revno 3784. This is a major update. More test are welcome. |