+ better data types mapping

This commit is contained in:
Artem Pavlenko 2010-04-09 18:46:17 +00:00
parent feb041f543
commit 1acc288349

View file

@ -245,15 +245,20 @@ namespace mapnik {
create_sql << "'" << cursor->getFieldName(pos);
switch (oid)
{
case 700:
case 701:
create_sql << "' REAL";
break;
default:
create_sql << "' TEXT";
break;
case 20:
case 21:
case 23:
create_sql << "' INTEGER";
break;
case 700:
case 701:
create_sql << "' REAL";
break;
default:
create_sql << "' TEXT";
break;
}
}
}