-
Notifications
You must be signed in to change notification settings - Fork 15
Raise error for select
with space without indexes
#257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
code health
Improve code readability, simplify maintenance and so on
Comments
AnaNek
added a commit
that referenced
this issue
Feb 9, 2022
When `select()` is called for space with no indexes `select` fails with error `attempt to index local 'index' (a nil value)`. This fix checks if space contains indexes and if there are no indexes in space `select` returns error `Space has no indexes,space should have primary and bucket_id indexes`. Closes #257
AnaNek
added a commit
that referenced
this issue
Feb 15, 2022
When `select()` is called for space with no indexes `select` fails with error `attempt to index local 'index' (a nil value)`. This fix checks if space contains indexes and if there are no indexes in space `select` returns error `Space has no indexes,space should have primary and bucket_id indexes`. Closes #257
AnaNek
added a commit
that referenced
this issue
Feb 15, 2022
When `select()` is called for space with no indexes `select` fails with error `attempt to index local 'index' (a nil value)`. This fix checks if space contains indexes and if there are no indexes in space `select` returns error `Space has no indexes,space should have primary and bucket_id indexes`. Closes #257
AnaNek
added a commit
that referenced
this issue
Feb 16, 2022
When `select()` is called for space with no indexes `select` fails with error `attempt to index local 'index' (a nil value)`. This fix checks if space contains indexes and if there are no indexes in space `select` returns error `NoIndexesError:new('Space %q has no indexes, space should have primary index', space_name)`. Closes #257
Totktonada
pushed a commit
that referenced
this issue
Feb 17, 2022
When `select()` is called for space with no indexes `select` fails with error `attempt to index local 'index' (a nil value)`. This fix checks if space contains indexes and if there are no indexes in space `select` returns error `NoIndexesError:new('Space %q has no indexes, space should have primary index', space_name)`. Closes #257
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When
select()
is called for space with no indexesselect
fails with error
crud/crud/select/plan.lua:22: attempt to index local 'index' (a nil value)
The text was updated successfully, but these errors were encountered: