Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
5f7dacba
Commit
5f7dacba
authored
10 years ago
by
Dmitry E. Oboukhov
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of github.com:tarantool/tarantool
parents
fc3761c4
832f2019
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
test/big/iterator.result
+4
-8
4 additions, 8 deletions
test/big/iterator.result
test/big/iterator.test.lua
+3
-3
3 additions, 3 deletions
test/big/iterator.test.lua
test/box/msgpack.result
+1
-1
1 addition, 1 deletion
test/box/msgpack.result
with
8 additions
and
12 deletions
test/big/iterator.result
+
4
−
8
View file @
5f7dacba
...
...
@@ -891,7 +891,7 @@ space.index['primary']:pairs({}, {iterator = -666 })
-- Test cases for #123: box.index.count does not check arguments properly
space.index['primary']:pairs(function() end, { iterator = box.index.EQ })
---
- error: 'builtin/msgpackffi.lua:25
8
: can not encode Lua type: ''function'''
- error: 'builtin/msgpackffi.lua:25
9
: can not encode Lua type: ''function'''
...
-- Check that iterators successfully invalidated when index deleted
gen, param, state = space.index['i1']:pairs(nil, { iterator = box.index.GE })
...
...
@@ -941,18 +941,14 @@ gen, param, state = space.index.t1:pairs({}, {iterator = box.index.ALL})
print(gen(param, state))
---
...
id = s.index.t1.id
id = s
pace
.index.t1.id
---
- error: '[string "id = s.index.t1.id "]:1: attempt to index field ''t1'' (a nil value)'
...
box.schema.index.drop(s.id, id)
box.schema.index.drop(s
pace
.id, id)
---
- error: Illegal parameters, index_id should be a number
...
box.schema.index.alter(s.id, s.index.t2.id, {id = id})
box.schema.index.alter(s
pace
.id, s
pace
.index.t2.id, {id = id})
---
- error: '[string "return box.schema.index.alter(s.id, s.index.t..."]:1: attempt to
index field ''t2'' (a nil value)'
...
print(gen(param, state))
---
...
...
This diff is collapsed.
Click to expand it.
test/big/iterator.test.lua
+
3
−
3
View file @
5f7dacba
...
...
@@ -186,9 +186,9 @@ box.space.test:insert{1}
gen
,
param
,
state
=
space
.
index
.
t1
:
pairs
({},
{
iterator
=
box
.
index
.
ALL
})
print
(
gen
(
param
,
state
))
id
=
s
.
index
.
t1
.
id
box
.
schema
.
index
.
drop
(
s
.
id
,
id
)
box
.
schema
.
index
.
alter
(
s
.
id
,
s
.
index
.
t2
.
id
,
{
id
=
id
})
id
=
s
pace
.
index
.
t1
.
id
box
.
schema
.
index
.
drop
(
s
pace
.
id
,
id
)
box
.
schema
.
index
.
alter
(
s
pace
.
id
,
s
pace
.
index
.
t2
.
id
,
{
id
=
id
})
print
(
gen
(
param
,
state
))
...
...
This diff is collapsed.
Click to expand it.
test/box/msgpack.result
+
1
−
1
View file @
5f7dacba
...
...
@@ -672,5 +672,5 @@ offset
...
a, offset = msgpackffi.decode_unchecked(dump, offset)
---
- error: 'builtin/msgpackffi.lua:45
7
: offset = 9 is out of bounds [1..8]'
- error: 'builtin/msgpackffi.lua:45
8
: offset = 9 is out of bounds [1..8]'
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment