- This topic has 1 reply, 2 voices, and was last updated 6 years, 5 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › kbmMemTable › AddIndex creates bad index if table is not open
Hi,
In older versions (7.18) doing the following worked
CreateTable
AddIndex(…)
Open
But under 7.82 the index is broken, e.g. add a unique index and then add two records with different values and it fails with key violation.
Fortunately I can work around it by changing AddIndex to IndexDefs.Add(…) and then create/open the table (but now just have to try and find all of the places in the code people might have done it the way above…)
Thought you should know as my guess is that the new behavior might be unintended.
Mark
Hi,
I can reproduce the issue. I will have a look at it.
best regards
Kim/C4D