summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/firebird/Util.cxx
diff options
context:
space:
mode:
authorTamas Bunth <tamas.bunth@collabora.co.uk>2017-12-27 20:25:33 +0100
committerTamás Bunth <btomi96@gmail.com>2017-12-28 16:19:37 +0100
commit0217031a98508731f15df9d361a6e5b584db5716 (patch)
tree688d255d306f8b8e06cff358fc9cbc988db1dabc /connectivity/source/drivers/firebird/Util.cxx
parentFix typos (diff)
downloadcore-0217031a98508731f15df9d361a6e5b584db5716.tar.gz
core-0217031a98508731f15df9d361a6e5b584db5716.zip
tdf#104734 Firebird: Add LONGVARBINARY/Image type
Implement it as a user-defined Blob subtype. Change-Id: Ia369b6858e7d9191f34032445c1003931273e926 Reviewed-on: https://gerrit.libreoffice.org/47098 Reviewed-by: Tamás Bunth <btomi96@gmail.com> Tested-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'connectivity/source/drivers/firebird/Util.cxx')
-rw-r--r--connectivity/source/drivers/firebird/Util.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/Util.cxx b/connectivity/source/drivers/firebird/Util.cxx
index 4036566b88dd..dd1213238d56 100644
--- a/connectivity/source/drivers/firebird/Util.cxx
+++ b/connectivity/source/drivers/firebird/Util.cxx
@@ -151,6 +151,8 @@ sal_Int32 firebird::ColumnTypeInfo::getSdbcType() const
return DataType::BLOB;
case BlobSubtype::Clob:
return DataType::CLOB;
+ case BlobSubtype::Image:
+ return DataType::LONGVARBINARY;
default:
SAL_WARN("connectivity.firebird", "Unknown subtype for Blob type: " << aSubType);
assert(!"Unknown subtype for Blob type"); // Should never happen