~statik/+junk/skeleton-mysql-engine

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
The following files are changed in order to build a new engine on Windows:

- Update win\configure.js with
case "WITH_SKELETON_STORAGE_ENGINE":
to make sure it will pass WITH_SKELETON_STORAGE_ENGINE in.

- Update CMakeFiles.txt under mysql root:
  IF(WITH_SKELETON_STORAGE_ENGINE)
      ADD_DEFINITIONS(-D WITH_SKELETON_STORAGE_ENGINE)
  SET (mysql_plugin_defs
      "${mysql_plugin_defs},builtin_skeleton_plugin")
  ENDIF(WITH_SKELETON_STORAGE_ENGINE)

  and,

  IF(WITH_SKELETON_STORAGE_ENGINE)
    ADD_SUBDIRECTORY(storage/skeleton/src)
  ENDIF(WITH_SKELETON_STORAGE_ENGINE)

  - Update CMakeFiles.txt under sql:
  IF(WITH_SKELETON_STORAGE_ENGINE)
    TARGET_LINK_LIBRARIES(mysqld skeleton)
  ENDIF(WITH_SKELETON_STORAGE_ENGINE)