summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <reggie@big_geek.>2006-05-11 11:06:35 -0500
committerunknown <reggie@big_geek.>2006-05-11 11:06:35 -0500
commita04f6024b058070389a16a34ba5ecff1d609914e (patch)
treea5baad26267f4e6c27c1e4e16a199af704d69a6c
parentca42197d951663a585c20dbd033b7bcb482085c1 (diff)
downloadmariadb-git-a04f6024b058070389a16a34ba5ecff1d609914e.tar.gz
bringing handlerton-win.cc back after incorrectly deleteing it. It is not needed for 5.1 or later but is used by 5.0
sql/handlerton-win.cc: Rename: BitKeeper/deleted/.del-handlerton-win.cc~322a7e59507976df -> 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
+};