提交 947a3f75 编写于 作者: W Wu Jian Ping

cleanup

上级 4313a76f
......@@ -38,6 +38,9 @@ http {
# set xdb file path
ip2region_db ip2region.xdb;
# ip2region_db ip2region.xdb vectorIndex;
# ip2region_db ip2region.xdb file;
# ip2region_db ip2region.xdb content;
server {
listen 80;
......
......@@ -13,7 +13,7 @@
#include "xdb_searcher.h"
// internal function prototype define
static inline int read(xdb_searcher_t *, long offset, char *, size_t length);
static int read(xdb_searcher_t *, long offset, char *, size_t length);
static inline int xdb_new_base(xdb_searcher_t *xdb, const char *db_path, const xdb_vector_index_t *v_index, const xdb_content_t *c_buffer) {
memset(xdb, 0x00, sizeof(xdb_searcher_t));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册