From 76e951d8bd1570b418a335d52840bf5c752ddba3 Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 18 May 2010 18:26:43 +0000 Subject: [PATCH] .Sqlite3: ToLower for coltype git-svn-id: svn://ultimatepp.org/upp/trunk@2407 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/plugin/sqlite3/Sqlite3upp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/plugin/sqlite3/Sqlite3upp.cpp b/uppsrc/plugin/sqlite3/Sqlite3upp.cpp index b69839972..ac6c5899e 100644 --- a/uppsrc/plugin/sqlite3/Sqlite3upp.cpp +++ b/uppsrc/plugin/sqlite3/Sqlite3upp.cpp @@ -245,7 +245,7 @@ void Sqlite3Connection::GetColumn(int i, Ref f) const { } ASSERT(got_row_data); - String coltype = sqlite3_column_decltype(current_stmt,i); + String coltype = ToLower(sqlite3_column_decltype(current_stmt,i)); switch (sqlite3_column_type(current_stmt,i)) { case SQLITE_INTEGER: f = sqlite3_column_int64(current_stmt,i);