mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-23 22:08:33 +01:00
style fixes
This commit is contained in:
@@ -66,6 +66,7 @@ Utility::Utility()
|
||||
initializeDefaultTypes();
|
||||
}
|
||||
|
||||
|
||||
void Utility::initializeDefaultTypes()
|
||||
{
|
||||
if (_types.empty())
|
||||
@@ -167,12 +168,10 @@ MetaColumn::ColumnDataType Utility::getColumnType(sqlite3_stmt* pStmt, std::size
|
||||
sqliteType = sqliteType.substr(0, sqliteType.find_first_of(" ("));
|
||||
|
||||
TypeMap::const_iterator it = _types.find(Poco::trimInPlace(sqliteType));
|
||||
if (_types.end() == it) {
|
||||
if (_types.end() == it)
|
||||
return MetaColumn::FDT_BLOB;
|
||||
}
|
||||
else {
|
||||
else
|
||||
return it->second;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user