Public bug reported:
localhost> box.space[0].index[0]
---
- unique: true
idx: index 0
n: 0
type: HASH
key_field:
0:
type: NUM
fieldno: 0
name: pk
id: 0
...
localhost> box.space[0].index[0].alter({name="pk"}) <!-- period " . " before
alter
---
...
localhost> box.space[0].index[0]
---
- unique: true
idx: index 0
n: 0
type: HASH
key_field:
0:
type: NUM
fieldno: 0
name: pk
id: 0
...
localhost> box.space[0].index[0]:alter({name="pkxxx"}) <!-- colon " : " before
alter
---
...
localhost> box.space[0].index[0]
---
- unique: true
idx: index 0
n: 0
type: HASH
key_field:
0:
type: NUM
fieldno: 0
name: pkxxx
id: 0
...
** Affects: tarantool
Importance: Undecided
Assignee: Kostja Osipov (kostja)
Status: New
--
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1229714
Title:
box.space[x].index[x].alter can be called without a colon
Status in Tarantool - an efficient in-memory data store:
New
Bug description:
localhost> box.space[0].index[0]
---
- unique: true
idx: index 0
n: 0
type: HASH
key_field:
0:
type: NUM
fieldno: 0
name: pk
id: 0
...
localhost> box.space[0].index[0].alter({name="pk"}) <!-- period " . " before
alter
---
...
localhost> box.space[0].index[0]
---
- unique: true
idx: index 0
n: 0
type: HASH
key_field:
0:
type: NUM
fieldno: 0
name: pk
id: 0
...
localhost> box.space[0].index[0]:alter({name="pkxxx"}) <!-- colon " : "
before alter
---
...
localhost> box.space[0].index[0]
---
- unique: true
idx: index 0
n: 0
type: HASH
key_field:
0:
type: NUM
fieldno: 0
name: pkxxx
id: 0
...
To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1229714/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp