diff options
Diffstat (limited to 'epglv')
-rw-r--r-- | epglv/Makefile | 5 | ||||
-rw-r--r-- | epglv/src/epglv.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/epglv/Makefile b/epglv/Makefile index 917fb23..82fa934 100644 --- a/epglv/Makefile +++ b/epglv/Makefile @@ -19,13 +19,14 @@ CPP_FLAGS := $(CPP_FLAGS_$(ARCH)) -Wall \ -L/usr/lib/mysql \ -L/usr/local/lib/mysql \ -I/usr/include/mysql \ - $(shell mysql_config --libs) \ + $(shell $(SQLCFG) --libs) \ + $(shell $(SQLCFG) --include) \ -DMYSQL_DYNAMIC_PLUGIN \ -DDEBUG_MYSQL=0 CC := gcc -MYSQL_PLGDIR := $(shell mysql_config --plugindir) +MYSQL_PLGDIR := $(shell $(SQLCFG) --plugindir) TARGET = mysqlepglv.so OBJS = src/epglvbase.o src/epglv.o diff --git a/epglv/src/epglv.h b/epglv/src/epglv.h index 66dd4cf..8819fd3 100644 --- a/epglv/src/epglv.h +++ b/epglv/src/epglv.h @@ -43,5 +43,5 @@ Copyright (C) 2013 Jörg Wendel my_bool base_epglv_init(UDF_INIT* init, UDF_ARGS* args, char* message); void base_epglv_deinit(UDF_INIT* init); -long long base_epglv(UDF_INIT* init, UDF_ARGS* args, char* is_null, +long long base_epglv(UDF_INIT* init, UDF_ARGS* args, char* is_null, char* error, long long* l1, long long* l2); |