mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-22 16:02:29 +02:00
Support ODBC GUID data type as string
The ODBC defines SQL_GUID datatype in sqlext.h. It is used e.g. for transfer of UUID datatype from PostgreSQL. Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
This commit is contained in:
@@ -88,6 +88,9 @@ void ODBCMetaColumn::init()
|
||||
case SQL_CHAR:
|
||||
case SQL_VARCHAR:
|
||||
case SQL_LONGVARCHAR:
|
||||
#ifdef SQL_GUID
|
||||
case SQL_GUID:
|
||||
#endif
|
||||
setType(MetaColumn::FDT_STRING); break;
|
||||
|
||||
case SQL_WCHAR:
|
||||
|
Reference in New Issue
Block a user