From 065bb177141ce0c9963d0100fe5e6800d9235f33 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Dec 2011 15:33:54 +0200 Subject: Add support for SQL Server in blob test --- common/blob/test.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/blob') 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 #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 -- cgit v1.1