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
27db30f3
Commit
27db30f3
authored
11 years ago
by
Konstantin Osipov
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/stable'
Conflicts: client/tarantool/tc_cli.c
parents
b0e9a91f
3a6ff3c2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
client/tarantool/tc.c
+3
-2
3 additions, 2 deletions
client/tarantool/tc.c
client/tarantool/tc_cli.c
+2
-2
2 additions, 2 deletions
client/tarantool/tc_cli.c
debian/control
+1
-1
1 addition, 1 deletion
debian/control
src/box/box_lua.cc
+1
-0
1 addition, 0 deletions
src/box/box_lua.cc
with
7 additions
and
5 deletions
client/tarantool/tc.c
+
3
−
2
View file @
27db30f3
...
...
@@ -119,9 +119,10 @@ static int get_admin_port(void)
}
struct tnt_tuple *tu = TNT_ILIST_TUPLE(&it);
tnt_iter(&ifl, tu);
if (!tnt_next(&ifl)) { goto end; }
if (!tnt_next(&ifl)) {
tc_error("Can't get admin port from primary port");
}
int port = *((uint32_t* )TNT_IFIELD_DATA(&ifl));
end:
tnt_iter_free(&ifl);
tnt_iter_free(&it);
tnt_iter_free(&i);
...
...
This diff is collapsed.
Click to expand it.
client/tarantool/tc_cli.c
+
2
−
2
View file @
27db30f3
...
...
@@ -491,10 +491,10 @@ int tc_cli(void)
if
(
isatty
(
STDIN_FILENO
))
/* Enable history on readline use only */
add_history
(
cmd
.
data
);
tc_buf_cmdfy
(
&
cmd
,
tc
.
opt
.
delim_len
);
/* Create admin cmd from STR */
enum
tc_cli_cmd_ret
ret
;
if
(
delim_exists
&&
tc_buf_str_isempty
(
&
cmd
))
goto
next
;
enum
tc_cli_cmd_ret
ret
=
tc_cli_cmd
(
cmd
.
data
,
cmd
.
used
-
1
);
ret
=
tc_cli_cmd
(
cmd
.
data
,
cmd
.
used
-
1
);
next:
tc_buf_clear
(
&
cmd
);
if
(
ret
==
TC_CLI_EXIT
||
feof
(
stdin
))
{
...
...
This diff is collapsed.
Click to expand it.
debian/control
+
1
−
1
View file @
27db30f3
...
...
@@ -8,7 +8,7 @@ Build-Depends: cdbs, debhelper (>= 8),
python-daemon,
python-pexpect,
libncurses5-dev,
binutils-dev,
binutils-dev
| libiberty-dev
,
libmysqlclient-dev,
libpq-dev
Section: database
...
...
This diff is collapsed.
Click to expand it.
src/box/box_lua.cc
+
1
−
0
View file @
27db30f3
...
...
@@ -426,6 +426,7 @@ static int
lbox_tuple_unpack
(
struct
lua_State
*
L
)
{
int
argc
=
lua_gettop
(
L
);
(
void
)
argc
;
struct
tuple
*
tuple
=
lua_checktuple
(
L
,
1
);
struct
tuple_iterator
it
;
...
...
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