summaryrefslogtreecommitdiff
path: root/sql/handlerton-win.cc
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2005-11-26 05:35:37 +0100
committerunknown <kent@mysql.com>2005-11-26 05:35:37 +0100
commita59351e562f3aa093386c5c9c835f992b118d388 (patch)
tree0623461ae2b9c35497584718ad9d89c818459252 /sql/handlerton-win.cc
parent8280d2040edd172d106d51acaf50857029690040 (diff)
downloadmariadb-git-a59351e562f3aa093386c5c9c835f992b118d388.tar.gz
Makefile.am:
Distribute "handlerton-win.cc" mysqld.cc: Corrected word lenght for some innobase configuration variables Makefile.am: Added Visual Studio 7 project file to EXTRA_DIST ha_partition.cc, sql_partition.cc: Changed include to use "..." for Windows handlerton-win.cc: Handle engine include/exclude with defines for Windows new file sql/handlerton-win.cc: Handle engine include/exclude with defines for Windows sql/sql_partition.cc: Changed include to use "..." for Windows sql/ha_partition.cc: Changed include to use "..." for Windows extra/yassl/Makefile.am: Added Visual Studio 7 project file to EXTRA_DIST extra/yassl/taocrypt/Makefile.am: Added Visual Studio 7 project file to EXTRA_DIST sql/mysqld.cc: Corrected word lenght for some innobase configuration variables sql/Makefile.am: Distribute "handlerton-win.cc"
Diffstat (limited to 'sql/handlerton-win.cc')
-rw-r--r--sql/handlerton-win.cc72
1 files changed, 72 insertions, 0 deletions
diff --git a/sql/handlerton-win.cc b/sql/handlerton-win.cc
new file mode 100644
index 00000000000..9ce4eab2444
--- /dev/null
+++ b/sql/handlerton-win.cc
@@ -0,0 +1,72 @@
+#include "mysql_priv.h"
+
+extern handlerton heap_hton;
+extern handlerton myisam_hton;
+extern handlerton myisammrg_hton;
+extern handlerton binlog_hton;
+#ifdef WITH_INNOBASE_STORAGE_ENGINE
+extern handlerton innobase_hton;
+#endif
+#ifdef WITH_BERKELEY_STORAGE_ENGINE
+extern handlerton berkeley_hton;
+#endif
+#ifdef WITH_EXAMPLE_STORAGE_ENGINE
+extern handlerton example_hton;
+#endif
+#ifdef WITH_ARCHIVE_STORAGE_ENGINE
+extern handlerton archive_hton;
+#endif
+#ifdef WITH_CSV_STORAGE_ENGINE
+extern handlerton tina_hton;
+#endif
+#ifdef WITH_BLACKHOLE_STORAGE_ENGINE
+extern handlerton blackhole_hton;
+#endif
+#ifdef WITH_FEDERATED_STORAGE_ENGINE
+extern handlerton federated_hton;
+#endif
+#ifdef WITH_NDBCLUSTER_STORAGE_ENGINE
+extern handlerton ndbcluster_hton;
+#endif
+#ifdef WITH_PARTITION_STORAGE_ENGINE
+extern handlerton partition_hton;
+#endif
+
+/*
+ This array is used for processing compiled in engines.
+*/
+handlerton *sys_table_types[]=
+{
+ &heap_hton,
+ &myisam_hton,
+#ifdef WITH_INNOBASE_STORAGE_ENGINE
+ &innobase_hton,
+#endif
+#ifdef WITH_BERKELEY_STORAGE_ENGINE
+ &berkeley_hton,
+#endif
+#ifdef WITH_EXAMPLE_STORAGE_ENGINE
+ &example_hton,
+#endif
+#ifdef WITH_ARCHIVE_STORAGE_ENGINE
+ &archive_hton,
+#endif
+#ifdef WITH_CSV_STORAGE_ENGINE
+ &tina_hton,
+#endif
+#ifdef WITH_BLACKHOLE_STORAGE_ENGINE
+ &blackhole_hton,
+#endif
+#ifdef WITH_FEDERATED_STORAGE_ENGINE
+ &federated_hton,
+#endif
+#ifdef WITH_NDBCLUSTER_STORAGE_ENGINE
+ &ndbcluster_hton,
+#endif
+#ifdef WITH_PARTITION_STORAGE_ENGINE
+ &partition_hton,
+#endif
+ &myisammrg_hton,
+ &binlog_hton,
+ NULL
+};