aboutsummaryrefslogtreecommitdiff
path: root/common/blob/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/blob/test.hxx')
-rw-r--r--common/blob/test.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/blob/test.hxx b/common/blob/test.hxx
index b1b7cf5..2a0f880 100644
--- a/common/blob/test.hxx
+++ b/common/blob/test.hxx
@@ -12,8 +12,10 @@
#include <odb/core.hxx>
#ifdef ODB_COMPILER
-# ifdef ODB_DATABASE_PGSQL
+# if defined(ODB_DATABASE_PGSQL)
# define BLOB_TYPE "BYTEA"
+# elif defined(ODB_DATABASE_MSSQL)
+# define BLOB_TYPE "VARBINARY(max)"
# else
# define BLOB_TYPE "BLOB"
# endif