mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
First commit to mysql-5.0 tree to include MySQL Federated Storage Handler. This includes both the source and header files, test (results, test, require), and modifications to server and handler base files, and autoconf modifications to properly build federated handler.
This commit is contained in:

parent
7d1b9541fc
commit
301c493252
@ -47,6 +47,9 @@
|
||||
#ifdef HAVE_NDBCLUSTER_DB
|
||||
#include "ha_ndbcluster.h"
|
||||
#endif
|
||||
#ifdef HAVE_FEDERATED_DB
|
||||
#include "ha_federated.h"
|
||||
#endif
|
||||
#include <myisampack.h>
|
||||
#include <errno.h>
|
||||
|
||||
@ -92,6 +95,8 @@ struct show_table_type_st sys_table_types[]=
|
||||
"Archive storage engine", DB_TYPE_ARCHIVE_DB},
|
||||
{"CSV",&have_csv_db,
|
||||
"CSV storage engine", DB_TYPE_CSV_DB},
|
||||
{"FEDERATED",&have_federated_db,
|
||||
"Federated MySQL storage engine", DB_TYPE_FEDERATED_DB},
|
||||
{NullS, NULL, NullS, DB_TYPE_UNKNOWN}
|
||||
};
|
||||
|
||||
@ -200,6 +205,10 @@ handler *get_new_handler(TABLE *table, enum db_type db_type)
|
||||
case DB_TYPE_ARCHIVE_DB:
|
||||
return new ha_archive(table);
|
||||
#endif
|
||||
#ifdef HAVE_FEDERATED_DB
|
||||
case DB_TYPE_FEDERATED_DB:
|
||||
return new ha_federated(table);
|
||||
#endif
|
||||
#ifdef HAVE_CSV_DB
|
||||
case DB_TYPE_CSV_DB:
|
||||
return new ha_tina(table);
|
||||
|
Reference in New Issue
Block a user