OSDN Git Service

追加
authorMyun2 <myun2@nwhite.info>
Wed, 18 Apr 2012 23:35:26 +0000 (08:35 +0900)
committerMyun2 <myun2@nwhite.info>
Wed, 18 Apr 2012 23:35:26 +0000 (08:35 +0900)
roast/include/roast/db/sql/index.hpp
roast/include/roast/db/sql/sql.hpp

index b5df2b2..183b59f 100644 (file)
@@ -6,28 +6,14 @@
 #ifndef __SFJP_ROAST__db__sql__index_HPP__
 #define __SFJP_ROAST__db__sql__index_HPP__
 
+#include "roast/db/sql/sql_common.hpp"
+
 namespace roast
 {
        namespace sql
        {
                ///////////////////////////////////////////////////////////////////////////////////
                
-               namespace _char
-               {
-                       typedef chars::space space;
-               }
-               
-               namespace _op_names
-               {
-                       ROAST_LEXICAL_FIXSTR(create,"CREATE");
-                       ROAST_LEXICAL_FIXSTR(drop,"DROP");
-                       
-                       ROAST_LEXICAL_FIXSTR(index,"INDEX");
-                       ROAST_LEXICAL_FIXSTR(on,"ON");
-               }
-               
-               ///////////////////////////////////////////////////////////////////////////////////
-               
                //      CREATE INDEX
                template <typename TABLE_NAME, typename INDEX_NAME, typename INDEX_COLUMN_NAMES>
                class create_index : public seq<
index 85dffe4..ac9d80d 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "roast/db/sql/table.hpp"
 #include "roast/db/sql/select.hpp"
+#include "roast/db/sql/join.hpp"
 #include "roast/db/sql/insert_update.hpp"
 #include "roast/db/sql/delete.hpp"
 #include "roast/db/sql/functions.hpp"