From 204eae88e3cd0fd7c46b232de21a1d52bb3be9ec Mon Sep 17 00:00:00 2001 From: myun2 Date: Wed, 18 Apr 2012 12:14:02 +0900 Subject: [PATCH] =?utf8?q?=E3=81=A8=E3=82=8A=E3=81=82=E3=81=88=E3=81=9A=20?= =?utf8?q?create=5Ftable=5F=20=E3=82=92=20str=5Fgenerate()=20=E3=81=97?= =?utf8?q?=E3=81=A6=E3=81=BF=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- roast/include/roast/db/sql/table.hpp | 4 ++-- roast/test/roast_test_DB_sqlite/sqlite_test2.cpp | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/roast/include/roast/db/sql/table.hpp b/roast/include/roast/db/sql/table.hpp index 6e602487..c4f13583 100644 --- a/roast/include/roast/db/sql/table.hpp +++ b/roast/include/roast/db/sql/table.hpp @@ -26,10 +26,10 @@ namespace roast { }; - create_table_<::std::string, ::std::string> + /*create_table_<::std::string, ::std::string> create_table(const char* table_name, const ::std::vector& columns) { - } + }*/ /////////////////////////////////////////////////////////////////////////////////// diff --git a/roast/test/roast_test_DB_sqlite/sqlite_test2.cpp b/roast/test/roast_test_DB_sqlite/sqlite_test2.cpp index 0fb371f3..7f1cff6d 100644 --- a/roast/test/roast_test_DB_sqlite/sqlite_test2.cpp +++ b/roast/test/roast_test_DB_sqlite/sqlite_test2.cpp @@ -6,6 +6,9 @@ using namespace ::roast; using namespace ::roast; +ROAST_LEXICAL_FIXSTR(hoge,"hoge"); +ROAST_LEXICAL_FIXSTR(huge,"huge"); + int main() { try @@ -14,6 +17,8 @@ int main() sql::type::smallint si; + printf("%s\n", lexical::str_generate >().c_str() ); + //sql::create_table("hoge"); drv.open("test.db"); -- 2.11.0