mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 02:22:57 +01: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:
parent
97cbd9f03d
commit
45642a3d4f
@ -87,6 +87,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:
|
||||
|
Loading…
Reference in New Issue
Block a user