Skip to content
Snippets Groups Projects
Commit c44dbfc6 authored by Dmitry E. Oboukhov's avatar Dmitry E. Oboukhov
Browse files

Delete double underscore, fix uncertainty in test.

parent a3767dcc
No related branches found
No related tags found
No related merge requests found
......@@ -49,14 +49,14 @@ struct tarantool_plugin {
struct rlist list;
};
#define DECLARE_PLUGIN(__name, __version, __init, __stat) \
#define DECLARE_PLUGIN(name, version, init, stat) \
extern "C" { \
struct tarantool_plugin plugin_meta = { \
PLUGIN_API_VERSION, \
__version, \
__name, \
__init, \
__stat, \
version, \
name, \
init, \
stat, \
{ NULL, NULL } \
}; \
}
......
......@@ -7,7 +7,6 @@ if (PostgreSQL_FOUND)
add_compile_flags("C;CXX" "-I${PostgreSQL_INCLUDE_DIR}")
add_compile_flags("C;CXX" "-L${PostgreSQL_LIBRARY_DIR}")
add_compile_flags("C;CXX" "-l${PostgreSQL_LIBRARIES}")
add_compile_flags("C;CXX" "-shared")
add_library(pg SHARED pg.cc)
install(TARGETS pg LIBRARY DESTINATION ${PLUGIN_DIR})
......
......@@ -77,12 +77,6 @@ configuration:
space[0].index[0].key_field[0].fieldno: "0"
space[0].index[0].key_field[0].type: "NUM"
...
show plugins
---
plugins:
- { name: "postgresql", version: 1 }
- { name: "mysql", version: 1 }
...
show stat
---
statistics:
......
......@@ -8,7 +8,6 @@ exec admin "exit"
exec admin "show stat"
exec admin "help"
exec admin "show configuration"
exec admin "show plugins"
exec admin "show stat"
exec sql "insert into t0 values (1, 'tuple')"
exec admin "save snapshot"
......
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