19 lines
814 B
Plaintext
19 lines
814 B
Plaintext
$NetBSD: patch-storage_example_CMakeLists.txt,v 1.1 2016/09/16 06:49:11 adam Exp $
|
|
|
|
Build with newer DTrace.
|
|
|
|
--- storage/example/CMakeLists.txt.orig 2016-03-28 18:06:12.000000000 +0000
|
|
+++ storage/example/CMakeLists.txt
|
|
@@ -16,7 +16,9 @@
|
|
SET(EXAMPLE_PLUGIN_DYNAMIC "ha_example")
|
|
SET(EXAMPLE_SOURCES ha_example.cc)
|
|
IF(WITH_EXAMPLE_STORAGE_ENGINE AND NOT WITHOUT_EXAMPLE_STORAGE_ENGINE)
|
|
- MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE DEFAULT)
|
|
+ MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE DEFAULT
|
|
+ DTRACE_INSTRUMENTED)
|
|
ELSEIF(NOT WITHOUT_EXAMPLE_STORAGE_ENGINE)
|
|
- MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE MODULE_ONLY)
|
|
+ MYSQL_ADD_PLUGIN(example ${EXAMPLE_SOURCES} STORAGE_ENGINE
|
|
+ MODULE_ONLY DTRACE_INSTRUMENTED)
|
|
ENDIF()
|