Skip to contentSkip to conversation

mysql: disable debugging option

PATCH New Marcelo Gutiérrez 1 participant 1 message Feb 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mysql: disable debugging option

When we use --without-server option, there is no debugging log, because will work only when MySQL server is enabled.

MySQL 5.1 Reference Manual:
http://dev.mysql.com/doc/refman/5.1/en/debugging-server.html

ENABLE_DEBUG is a global variable that contains --enable-debug and to configure MySQL with debugging code, we need to use the --with-debug option. But right now we only compile MySQL client, so that option it's not necessary.

---
 package/mysql/mysql.mk |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
package/mysql/mysql.mk +1 -2
index 9b22c2d..53daa3f 100644
@@ -31,8 +31,7 @@ MYSQL_CONF_OPT = \
 	--without-libedit \
 	--without-readline \
 	--with-low-memory \
-	--enable-thread-safe-client \
-	$(ENABLE_DEBUG)
+	--enable-thread-safe-client
 
 define MYSQL_REMOVE_TEST_PROGS
 	rm -rf $(TARGET_DIR)/usr/mysql-test $(TARGET_DIR)/usr/sql-bench
Signature · 1 line
1.7.10.4