OSDN Git Service

x
authorMyun2 <myun2@nwhite.info>
Wed, 18 Apr 2012 23:38:13 +0000 (08:38 +0900)
committerMyun2 <myun2@nwhite.info>
Wed, 18 Apr 2012 23:38:13 +0000 (08:38 +0900)
roast/include/roast/db/sql/create_table_detail.hpp
roast/include/roast/db/sql/table.hpp

index 9046343..a203b37 100644 (file)
@@ -31,6 +31,11 @@ namespace roast
                {
                };
                
+               class create_table_columns
+               {
+               
+               };
+               
                ///////////////////////////////////
                
                //      TEMPORARY
index c4f1358..f3ee340 100644 (file)
@@ -18,16 +18,17 @@ namespace roast
                
                //      CREATE TABLE
                template <typename TABLE_NAME, typename COLUMNS,
-                       bool _IsTemporary=false, bool _IsExistNotCreate=false>
+                       bool _IsTemporary=false, bool _IsExistNoError=false>
                class create_table_ : public seq<
                        _op_names::create, _char::space, _temporary<_IsTemporary>,                      //      CREATE [TEMPORARY]
-                       _op_names::table, _char::space, _if_not_exists<_IsExistNotCreate>,      //      TABLE [IF NOT EXISTS]
+                       _op_names::table, _char::space, _if_not_exists<_IsExistNoError>,        //      TABLE [IF NOT EXISTS]
                        TABLE_NAME, _char::space, _char::lpare, COLUMNS, _char::rpare>          //      <TABLE NAME> (<COLUMNS>)
                {
                };
 
-               /*create_table_<::std::string, ::std::string>
-                       create_table(const char* table_name, const ::std::vector<column>& columns)
+               /*create_table_<::std::string, create_table_columns>
+                       create_table(const char* table_name, const create_table_columns& columns,
+                               bool is_temporary=false, bool is_exist_no_error=false)
                {
                }*/