Navigation Menu

Skip to content

Commit

Permalink
fix --with-debug=no doesn't applied.
Browse files Browse the repository at this point in the history
mrn_table.cc also uses config.h.
Reported by @supistar. Thanks!!!
  • Loading branch information
kou committed Jun 27, 2011
1 parent 7c49b9f commit 3221b75
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/ja/source/news.rst
Expand Up @@ -16,10 +16,16 @@
* 安定してきたので、groongaのデフォルトログレベルをDUMPからNOTICEに変更。
* Mac OS Xでのビルドをサポート。(@issmさんが報告)

修正
++++

* 常にデバッグモードでビルドされる問題を修正。(@supistarさんが報告)

感謝
++++

* @issmさん
* @supistarさん

.. _release-0-6:

Expand Down
12 changes: 12 additions & 0 deletions mrn_table.cc
Expand Up @@ -17,6 +17,18 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#ifdef HAVE_CONFIG_H
# include "config.h"
/* We need to undefine them because my_config.h defines them. :< */
# undef VERSION
# undef PACKAGE
# undef PACKAGE_BUGREPORT
# undef PACKAGE_NAME
# undef PACKAGE_STRING
# undef PACKAGE_TARNAME
# undef PACKAGE_VERSION
#endif

#define MYSQL_SERVER 1
#include "mysql_version.h"
#if MYSQL_VERSION_ID < 50500
Expand Down

0 comments on commit 3221b75

Please sign in to comment.