aboutsummaryrefslogtreecommitdiff
path: root/common/blob
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-12-21 15:33:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-20 15:45:46 +0200
commit065bb177141ce0c9963d0100fe5e6800d9235f33 (patch)
tree4fff0eeae570d69f0686afee07845ba1e908d574 /common/blob
parent0e9d2582dc02ff507265fcafc99ef6a13f0dc3f7 (diff)
Add support for SQL Server in blob test
Diffstat (limited to 'common/blob')
-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