memgraph/query_modules
Matej Ferencevic 5632852890 Reduce number of errors in production log
Summary:
Currently, when starting Memgraph with the production package (DEB/RPM),
Memgraph always outputs an error for not being able to replace an existing
query module (`example.so` with `example.c`). This diff introduces a precheck
so that the error message is correct - so that Memgraph doesn't try to replace
an `.so` file with a `.c` file before verifying that the `.c` file is a valid
query module (which it obviously isn't). Also, I have moved the source of the
example into a subdirectory so that it isn't even considered while loading
modules.

Reviewers: teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D2724
2020-03-17 13:34:11 +01:00
..
connectivity Strip query modules in release build 2019-12-11 13:52:48 +01:00
louvain Fix modularity calculation bug in Louvain query module 2019-12-18 15:36:43 +01:00
CMakeLists.txt Reduce number of errors in production log 2020-03-17 13:34:11 +01:00
example.c Rework CallProcedure to validate result sets 2019-11-28 14:58:43 +01:00
example.py Update the example.py to use more API 2020-03-12 14:04:40 +01:00