1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Disabled archive db for Netware.

This commit is contained in:
jani@a193-229-222-105.elisa-laajakaista.fi
2005-12-14 02:08:48 +02:00
parent 3069276592
commit b7c52afb57
2 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ handlerton example_hton = { "EXAMPLE", SHOW_OPTION_NO,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
HTON_NO_FLAGS }; HTON_NO_FLAGS };
#endif #endif
#ifdef HAVE_ARCHIVE_DB #if defined(HAVE_ARCHIVE_DB) && !defined(__NETWARE__)
#include "ha_archive.h" #include "ha_archive.h"
extern handlerton archive_hton; extern handlerton archive_hton;
#else #else
@ -314,7 +314,7 @@ handler *get_new_handler(TABLE *table, MEM_ROOT *alloc, enum db_type db_type)
case DB_TYPE_EXAMPLE_DB: case DB_TYPE_EXAMPLE_DB:
return new (alloc) ha_example(table); return new (alloc) ha_example(table);
#endif #endif
#ifdef HAVE_ARCHIVE_DB #if defined(HAVE_ARCHIVE_DB) && !defined(__NETWARE__)
case DB_TYPE_ARCHIVE_DB: case DB_TYPE_ARCHIVE_DB:
return new (alloc) ha_archive(table); return new (alloc) ha_archive(table);
#endif #endif
@ -513,7 +513,7 @@ int ha_panic(enum ha_panic_function flag)
if (have_federated_db == SHOW_OPTION_YES) if (have_federated_db == SHOW_OPTION_YES)
error|= federated_db_end(); error|= federated_db_end();
#endif #endif
#ifdef HAVE_ARCHIVE_DB #if defined(HAVE_ARCHIVE_DB) && !defined(__NETWARE__)
if (have_archive_db == SHOW_OPTION_YES) if (have_archive_db == SHOW_OPTION_YES)
error|= archive_db_end(); error|= archive_db_end();
#endif #endif

View File

@ -6323,7 +6323,7 @@ static void mysql_init_variables(void)
#else #else
have_example_db= SHOW_OPTION_NO; have_example_db= SHOW_OPTION_NO;
#endif #endif
#ifdef HAVE_ARCHIVE_DB #if defined(HAVE_ARCHIVE_DB) && !defined(__NETWARE__)
have_archive_db= SHOW_OPTION_YES; have_archive_db= SHOW_OPTION_YES;
#else #else
have_archive_db= SHOW_OPTION_NO; have_archive_db= SHOW_OPTION_NO;