Bug #39525 | Proxy: SVN version doesn't compile without LUA | ||
---|---|---|---|
Submitted: | 18 Sep 2008 18:48 | Modified: | 28 May 2009 14:49 |
Reporter: | Olle Johansson | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Proxy: Core | Severity: | S3 (Non-critical) |
Version: | svn | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[18 Sep 2008 18:48]
Olle Johansson
[18 Sep 2008 18:49]
Olle Johansson
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql -I/usr/local/include -I/usr/local/lib/glib-2.0/include/ -I/usr/local/include/glib-2.0/ -L/usr/local/lib -I/usr/local/include -I/usr/local/include/glib-2.0/ -I/usr/local/lib/glib-2.0/include/ -L/usr/local/lib -g -O2 -MT libmysql_proxy_la-query-handling.lo -MD -MP -MF .deps/libmysql_proxy_la-query-handling.Tpo -c query-handling.c -fPIC -DPIC -o .libs/libmysql_proxy_la-query-handling.o query-handling.c:34: error: expected ')' before '*' token query-handling.c:85: error: expected ')' before '*' token query-handling.c:90: error: expected ')' before '*' token query-handling.c:105: error: expected ')' before '*' token (after tried to fix query-handling.h) [root@build src]# svn diff Index: query-handling.h =================================================================== --- query-handling.h (revision 511) +++ query-handling.h (working copy) @@ -86,8 +86,10 @@ NETWORK_API injection *injection_init(int id, GString *query); NETWORK_API void injection_free(injection *i); +#ifdef HAVE_LUA_H NETWORK_API void proxy_getqueuemetatable(lua_State *L); NETWORK_API void proxy_getinjectionmetatable(lua_State *L); NETWORK_API void proxy_getmetatable(lua_State *L, const luaL_reg *methods); +#endif #endif /* _QUERY_HANDLING_H_ */
[18 Sep 2008 18:57]
Sveta Smirnova
Thank you for the report. Verified as described.
[28 May 2009 14:49]
Jan Kneschke
0.7.0 and later require Lua.