Skip to content
This repository has been archived by the owner on Oct 11, 2018. It is now read-only.

Commit

Permalink
Updates to build with community features enabled for community builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
MySQL Build Team committed May 20, 2009
1 parent 4c775c8 commit ea60304
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DFORCE_INIT_OF_VARS")

# Note that some engines are always compiled in, MyISAM, MyISAMMRG, HEAP

IF(WITH_COMMUNITY_FEATURES)
ADD_DEFINITIONS(-DENABLED_PROFILING -DCOMMUNITY_SERVER)
ENDIF(WITH_COMMUNITY_FEATURES)

IF(WITH_ARCHIVE_STORAGE_ENGINE)
ADD_DEFINITIONS(-DHAVE_ARCHIVE_DB)
ENDIF(WITH_ARCHIVE_STORAGE_ENGINE)
Expand Down
3 changes: 0 additions & 3 deletions include/config-win.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,6 @@ typedef uint rf_SetTimer;
/* If LOAD DATA LOCAL INFILE should be enabled by default */
#define ENABLED_LOCAL_INFILE 1

/* If query profiling should be enabled by default */
#define ENABLED_PROFILING 1

/* Convert some simple functions to Posix */

#define my_sigset(A,B) signal((A),(B))
Expand Down
2 changes: 2 additions & 0 deletions support-files/mysql.spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--includedir=%{_includedir} \
--mandir=%{_mandir} \
--enable-thread-safe-client \
--enable-community-features \
--enable-profiling \
--with-readline ; \
# Add this for more debugging support
# --with-debug
Expand Down
1 change: 1 addition & 0 deletions win/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ try
var parts = args.Item(i).split('=');
switch (parts[0])
{
case "WITH_COMMUNITY_FEATURES":
case "WITH_ARCHIVE_STORAGE_ENGINE":
case "WITH_BERKELEY_STORAGE_ENGINE":
case "WITH_BLACKHOLE_STORAGE_ENGINE":
Expand Down

0 comments on commit ea60304

Please sign in to comment.