Skip to content
Snippets Groups Projects
Commit e0c9b652 authored by Alexander Turenko's avatar Alexander Turenko Committed by Alexander Turenko
Browse files

connpool: move source code file

The source files for built-in Lua modules are generally placed on the
same level: in `src/lua` or in `src/box/lua`, disregarding whether
they're public or internal.

The recently introduced `experimental.connpool` built-in module is
placed in the `experimental` subdirectory.

This commit moves `src/box/lua/experimental/connpool.lua` to
`src/box/lua/connpool.lua` to follow the existing file structure.
Public, internal and experimental modules are all on the same level now.

The `connpool` module is still experimental and
`require('experimental.connpool')` is needed to use it.

This commit doesn't change the code of the module.

NO_DOC=no code changes
NO_CHANGELOG=see NO_DOC
NO_TEST=see NO_DOC
parent 05d03a1c
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ if (ENABLE_CONFIG_EXTRAS) ...@@ -76,7 +76,7 @@ if (ENABLE_CONFIG_EXTRAS)
endif() endif()
# }}} config # }}} config
lua_source(lua_sources lua/experimental/connpool.lua experimental_connpool_lua) lua_source(lua_sources lua/connpool.lua connpool_lua)
if (ENABLE_FAILOVER) if (ENABLE_FAILOVER)
lua_multi_source(lua_sources ${FAILOVER_LUA_SOURCES}) lua_multi_source(lua_sources ${FAILOVER_LUA_SOURCES})
......
File moved
...@@ -179,7 +179,7 @@ extern char session_lua[], ...@@ -179,7 +179,7 @@ extern char session_lua[],
#endif #endif
/* }}} config */ /* }}} config */
experimental_connpool_lua[]; connpool_lua[];
/** /**
* List of box's built-in modules written using Lua. * List of box's built-in modules written using Lua.
...@@ -455,9 +455,9 @@ static const char *lua_sources[] = { ...@@ -455,9 +455,9 @@ static const char *lua_sources[] = {
/* }}} config */ /* }}} config */
"experimental/connpool", "connpool",
"experimental.connpool", "experimental.connpool",
experimental_connpool_lua, connpool_lua,
FAILOVER_LUA_MODULES FAILOVER_LUA_MODULES
......
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