LevelDB storage engine (MDEV-3841)

[MDEV-4055] LevelDB: UPDATE/DELETE by a multi-part PK does not work (fails with "Table storage engine doesn't have this option") Created: 2013-01-16  Updated: 2013-01-23  Resolved: 2013-01-23

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Technical task Priority: Major
Reporter: Elena Stepanova Assignee: Sergei Petrunia
Resolution: Fixed Votes: 0
Labels: leveldb

Issue Links:
Relates

 Description   

After the last changes SELECT by a multi-part key works, but UPDATE doesn't.

Test output:

create table t1 (i int, j int, k int, primary key(i,j,k), a varchar(8)) engine=LevelDB;
insert into t1 values (1,10,100,''),(2,20,200,'');
select * from t1 where i = 1 and j = 10 and k = 100;
i       j       k       a
1       10      100
update t1 set a = 'updated' where i = 1 and j = 10 and k = 100;
ERROR HY000: Table storage engine for 't1' doesn't have this option

Test case:

create table t1 (i int, j int, k int, primary key(i,j,k), a varchar(8)) engine=LevelDB;
insert into t1 values (1,10,100,''),(2,20,200,'');
select * from t1 where i = 1 and j = 10 and k = 100;
update t1 set a = 'updated' where i = 1 and j = 10 and k = 100;

revision-id: psergey@askmonty.org-20130115181447-1jfr200qcuqzp1sr
revno: 4495
branch-nick: mysql-5.6-leveldb



 Comments   
Comment by Sergei Petrunia [ 2013-01-23 ]

Fixed with the latest changes.

Generated at Thu Feb 08 06:53:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.