Skip to content

Commit 3f1b611

Browse files
author
magnus.blaudd@oracle.com
committed
ndb
- fix typo in new cmake include file, should use CACHE INTERNAL as two words instead of CACHE INTERNAL - add missing "not" to message saying that file was "not found"
1 parent 32fd76b commit 3f1b611

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

storage/ndb/cmake/ndb_check_mysql_include_file.cmake

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ MACRO(NDB_CHECK_MYSQL_INCLUDE_FILE INCLUDE VARIABLE)
1717
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
1818
SET(_msg "Looking for MySQL include file ${INCLUDE}")
1919
MESSAGE(STATUS "${_msg}")
20-
IF(EXISTS ${CMAKE_SOURCE_DIR}/include/${INCLUDE})
20+
IF(EXISTS "${CMAKE_SOURCE_DIR}/include/${INCLUDE}")
2121
MESSAGE(STATUS "${_msg} - found")
22-
SET(${VARIABLE} 1 CACHE_INTERNAL "Have MySQL include ${INCLUDE}")
22+
SET(${VARIABLE} 1 CACHE INTERNAL "Have MySQL include ${INCLUDE}")
2323
ELSE()
24-
MESSAGE(STATUS "${_msg} - found")
25-
SET(${VARIABLE} "" CACHE_INTERNAL "Have MySQL include ${INCLUDE}")
24+
MESSAGE(STATUS "${_msg} - not found")
25+
SET(${VARIABLE} "" CACHE INTERNAL "Have MySQL include ${INCLUDE}")
2626
ENDIF()
2727
ENDIF()
2828
ENDMACRO()

storage/ndb/include/ndb_config.h.in

+1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,5 @@
4646
#cmakedefine HAVE_PTHREAD_MUTEXATTR_INIT 1
4747
#cmakedefine HAVE_PTHREAD_MUTEXATTR_SETTYPE 1
4848
#cmakedefine HAVE_PTHREAD_SETSCHEDPARAM 1
49+
#cmakedefine HAVE_MY_DEFAULT_H 1
4950

0 commit comments

Comments
 (0)