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
f2c4b2ba
Commit
f2c4b2ba
authored
13 years ago
by
Konstantin Osipov
Browse files
Options
Downloads
Patches
Plain Diff
Add determinism to box_big/sql.test
parent
5a7f9984
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/box_big/sql.result
+0
-30
0 additions, 30 deletions
test/box_big/sql.result
test/box_big/sql.test
+0
-7
0 additions, 7 deletions
test/box_big/sql.test
with
0 additions
and
37 deletions
test/box_big/sql.result
+
0
−
30
View file @
f2c4b2ba
...
...
@@ -13,12 +13,6 @@ insert into t0 values ('Major', 'Tomas')
Insert OK, 1 row affected
insert into t0 values ('Kytes', 'Tomas')
Insert OK, 1 row affected
insert into t0 values ('Stiles', 'Tomas')
Insert OK, 1 row affected
insert into t0 values ('Wales', 'Tomas')
Insert OK, 1 row affected
insert into t0 values ('Callaghan', 'Tomas')
Insert OK, 1 row affected
select * from t0 where k1='Richard' or k1='Tomas' or k1='Tomas' limit 5
Found 5 tuples:
['Doe', 'Richard']
...
...
@@ -43,12 +37,6 @@ delete from t0 where k0='Major'
Delete OK, 1 row affected
delete from t0 where k0='Kytes'
Delete OK, 1 row affected
delete from t0 where k0='Stiles'
Delete OK, 1 row affected
delete from t0 where k0='Wales'
Delete OK, 1 row affected
delete from t0 where k0='Callaghan'
Delete OK, 1 row affected
#
# A test case for Bug#730593
# "Bad data if incomplete tuple"
...
...
@@ -311,24 +299,6 @@ Found 5 tuples:
[13, 'duplicate three']
[14, 'duplicate three']
[15, 'duplicate three']
lua for k, v in box.space[4]:pairs() do print(v) end
---
10: {'duplicate two'}
13: {'duplicate three'}
4: {'duplicate one'}
14: {'duplicate three'}
3: {'duplicate one'}
8: {'duplicate two'}
1: {'duplicate one'}
15: {'duplicate three'}
2: {'duplicate one'}
9: {'duplicate two'}
11: {'duplicate three'}
7: {'duplicate two'}
6: {'duplicate two'}
5: {'duplicate one'}
12: {'duplicate three'}
...
delete from t4 where k0=1
Delete OK, 1 row affected
delete from t4 where k0=2
...
...
This diff is collapsed.
Click to expand it.
test/box_big/sql.test
+
0
−
7
View file @
f2c4b2ba
...
...
@@ -11,9 +11,6 @@ exec sql "insert into t0 values ('Roe', 'Richard')"
exec
sql
"insert into t0 values ('Woe', 'Richard')"
exec
sql
"insert into t0 values ('Major', 'Tomas')"
exec
sql
"insert into t0 values ('Kytes', 'Tomas')"
exec
sql
"insert into t0 values ('Stiles', 'Tomas')"
exec
sql
"insert into t0 values ('Wales', 'Tomas')"
exec
sql
"insert into t0 values ('Callaghan', 'Tomas')"
sql
.
sort
=
True
exec
sql
"select * from t0 where k1='Richard' or k1='Tomas' or k1='Tomas' limit 5"
sql
.
sort
=
False
...
...
@@ -31,9 +28,6 @@ exec sql "delete from t0 where k0='Roe'"
exec
sql
"delete from t0 where k0='Woe'"
exec
sql
"delete from t0 where k0='Major'"
exec
sql
"delete from t0 where k0='Kytes'"
exec
sql
"delete from t0 where k0='Stiles'"
exec
sql
"delete from t0 where k0='Wales'"
exec
sql
"delete from t0 where k0='Callaghan'"
print
"""#
# A test case for Bug#730593
...
...
@@ -161,7 +155,6 @@ sql.sort = True
exec
sql
"select * from t4 where k1='duplicate one'"
exec
sql
"select * from t4 where k1='duplicate two'"
exec
sql
"select * from t4 where k1='duplicate three'"
exec
admin
"lua for k, v in box.space[4]:pairs() do print(v) end"
sql
.
sort
=
False
exec
sql
"delete from t4 where k0=1"
exec
sql
"delete from t4 where k0=2"
...
...
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