Skip to content
Snippets Groups Projects
Commit 13e994c9 authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

lua-plus-dict: fix assert on space to lua export while calling by

dostring() from init.lua, remove space declaration from a configs
parent 6ad74d50
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,6 @@ box_lua_space_new(struct lua_State *L, struct space *space)
lua_rawseti(L, -2, space_id(space));
lua_pop(L, 2); /* box, space */
assert(lua_gettop(L) == 0);
}
/** Delete a given space in Lua */
......@@ -159,6 +158,4 @@ box_lua_space_delete(struct lua_State *L, uint32_t id)
lua_pushnil(L);
lua_rawseti(L, -2, id);
lua_pop(L, 2); /* box, space */
assert(lua_gettop(L) == 0);
}
......@@ -16,10 +16,3 @@ secondary_port = 33014
admin_port = 33015
rows_per_wal = 50
space[0].enabled = 1
space[0].index[0].type = "HASH"
space[0].index[0].unique = 1
space[0].index[0].key_field[0].fieldno = 0
space[0].index[0].key_field[0].type = "NUM"
......@@ -34,12 +34,3 @@ admin_port = 33015
# When the limit is reached, Tarantool closes
# the WAL and starts a new one.
rows_per_wal = 50
# Define a simple space with 1 HASH-based
# primary key.
space[0].enabled = 1
space[0].index[0].type = "HASH"
space[0].index[0].unique = 1
space[0].index[0].key_field[0].fieldno = 0
space[0].index[0].key_field[0].type = "NUM"
......@@ -29,12 +29,3 @@ admin_port = 33015
# When the limit is reached, Tarantool closes
# the WAL and starts a new one.
rows_per_wal = 50
# Define a simple space with 1 HASH-based
# primary key.
space[0].enabled = 1
space[0].index[0].type = "HASH"
space[0].index[0].unique = 1
space[0].index[0].key_field[0].fieldno = 0
space[0].index[0].key_field[0].type = "NUM"
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