Skip to content
Snippets Groups Projects
Commit f6495271 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

gh-411: post-merge fixes.

parent ce449c8d
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ local socket = require('socket')
local log = require('log')
local errno = require('errno')
local urilib = require('uri')
local ffi = require('ffi')
-- admin formatter must be able to encode any Lua variable
local formatter = require('yaml').new()
......@@ -288,7 +289,7 @@ local function client_handler(client, peer)
print = client_print;
client = client;
}, repl_mt)
local version = rawget(box, 'info') and box.info.version or ''
local version = ffi.string(ffi.C.tarantool_version())
state:print(string.format("%-63s\n%-63s\n",
"Tarantool ".. version.." (Lua console)",
"type 'help' for interactive help"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment