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
31d5da8c
Commit
31d5da8c
authored
10 years ago
by
Dmitry Simonenko
Browse files
Options
Downloads
Patches
Plain Diff
sophia-gh-678: update to use CWD scheme
parent
f1ab1cc4
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
src/box/lua/load_cfg.lua
+1
-1
1 addition, 1 deletion
src/box/lua/load_cfg.lua
test/sophia/box.lua
+6
-1
6 additions, 1 deletion
test/sophia/box.lua
third_party/sophia
+1
-1
1 addition, 1 deletion
third_party/sophia
with
8 additions
and
3 deletions
src/box/lua/load_cfg.lua
+
1
−
1
View file @
31d5da8c
...
...
@@ -40,7 +40,7 @@ local default_cfg = {
work_dir
=
nil
,
snap_dir
=
"."
,
wal_dir
=
"."
,
sophia_dir
=
'.
/sophia
'
,
sophia_dir
=
'.'
,
sophia
=
default_sophia_cfg
,
logger
=
nil
,
logger_nonblock
=
true
,
...
...
This diff is collapsed.
Click to expand it.
test/sophia/box.lua
+
6
−
1
View file @
31d5da8c
...
...
@@ -8,6 +8,10 @@ function sophia_printdir()
return
ls
end
function
sophia_mkdir
(
dir
)
os.execute
(
"mkdir sophia_test"
)
end
function
sophia_rmdir
(
dir
)
os.execute
(
"rm -rf sophia_test"
)
end
...
...
@@ -24,6 +28,7 @@ end
if
not
file_exists
(
"lock"
)
then
sophia_rmdir
()
sophia_mkdir
()
end
local
sophia
=
{
...
...
@@ -38,7 +43,7 @@ box.cfg {
slab_alloc_arena
=
0
.
1
,
pid_file
=
"tarantool.pid"
,
rows_per_wal
=
50
,
sophia_dir
=
"sophia_test"
,
sophia_dir
=
"
./
sophia_test"
,
sophia
=
sophia
}
...
...
This diff is collapsed.
Click to expand it.
sophia
@
173534ae
Compare
4a9b77cb
...
173534ae
Subproject commit
4a9b77cbad39976ec40efaa0cb2e66bdaf810d4
1
Subproject commit
173534aea02a6ef14e4fc7f517d0123da3be630
1
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