From 3d09079e31153f9d4a43a46b2c0429c94bb9d642 Mon Sep 17 00:00:00 2001 From: "brian@zim.(none)" <> Date: Fri, 18 Aug 2006 21:19:19 -0700 Subject: Major changes are plug.in files created for almost all storage engines. A few stray BDB references removed. --- storage/csv/plug.in | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 storage/csv/plug.in (limited to 'storage/csv') diff --git a/storage/csv/plug.in b/storage/csv/plug.in new file mode 100644 index 00000000000..bbc69680fcd --- /dev/null +++ b/storage/csv/plug.in @@ -0,0 +1,5 @@ +MYSQL_STORAGE_ENGINE(csv,, [CSV Storage Engine], + [Stores tables in text CSV format]) +MYSQL_PLUGIN_DIRECTORY(csv, [storage/csv]) +MYSQL_PLUGIN_STATIC(csv, [libcsv.a]) +MYSQL_PLUGIN_MANDATORY(csv) dnl Used for logging -- cgit v1.2.1 From f68ce0ddefb8af0f47de641637a3fece2af72879 Mon Sep 17 00:00:00 2001 From: "brian@zim.(none)" <> Date: Sat, 19 Aug 2006 17:38:42 -0700 Subject: This changeset moves the ha_myisam files to their storage directories. It also includes updates for all engines include patch for windows builds. --- storage/csv/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'storage/csv') diff --git a/storage/csv/CMakeLists.txt b/storage/csv/CMakeLists.txt index 28748527cc3..55e9b50fbfc 100644 --- a/storage/csv/CMakeLists.txt +++ b/storage/csv/CMakeLists.txt @@ -2,5 +2,6 @@ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX") SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX") INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/sql + ${CMAKE_SOURCE_DIR}/regex ${CMAKE_SOURCE_DIR}/extra/yassl/include) ADD_LIBRARY(csv ha_tina.cc ha_tina.h) -- cgit v1.2.1 From baa914e66d326925f4bd3bb52a8c31de530f7c8b Mon Sep 17 00:00:00 2001 From: "brian@zim.(none)" <> Date: Fri, 25 Aug 2006 13:31:15 -0700 Subject: Cleanup of unused variables. Fixed "discover" in the handler API. Fixed problem where handlerton was not zero'ed. I need to look around, I suspect this problem is more widespread. --- storage/csv/ha_tina.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'storage/csv') diff --git a/storage/csv/ha_tina.cc b/storage/csv/ha_tina.cc index bec236becd0..354239005fd 100644 --- a/storage/csv/ha_tina.cc +++ b/storage/csv/ha_tina.cc @@ -157,6 +157,7 @@ static int tina_init_func() VOID(pthread_mutex_init(&tina_mutex,MY_MUTEX_INIT_FAST)); (void) hash_init(&tina_open_tables,system_charset_info,32,0,0, (hash_get_key) tina_get_key,0,0); + bzero(&tina_hton, sizeof(handlerton)); tina_hton.state= SHOW_OPTION_YES; tina_hton.db_type= DB_TYPE_CSV_DB; tina_hton.create= tina_create_handler; -- cgit v1.2.1