mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #03527
[Bug 1120939] Re: compound unique/index is causing an Bad index error
** Changed in: mudlet
Milestone: None => 3.0
--
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1120939
Title:
compound unique/index is causing an Bad index error
Status in Mudlet the MUD client:
Fix Committed
Bug description:
this is against Mudlet 2.1 on OSX (Mt Lion)
local mydb = db:create("dartmud",
{
people = {
name = "",
faction = "",
notes = "",
enemy = 0,
_unique = { "name" }
},
improves = {
skill = "",
count = 0,
notes = "",
who = "",
_index = { { "skill", "who" } },
_unique = { { "skill", "who" } }
}
})
causes "Bad index skill" -- the goal is to create improves that ensure
that values are unique based on skill and who
To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1120939/+subscriptions
References