aboutsummaryrefslogtreecommitdiff
path: root/common/section/basics/test.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-10-24 08:52:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-10-24 08:52:58 +0200
commitec63060967e1c764e80655e8fd3bf40bd3872efd (patch)
treed9625ad14a9cee34f24acc9587a344ce4cff91e5 /common/section/basics/test.hxx
parente121dc6a5d73c53a3c1aebc9fa4ed187dd87aae5 (diff)
Don't use auto id for BLOB test
This causes problems with SQL Server 2005.
Diffstat (limited to 'common/section/basics/test.hxx')
-rw-r--r--common/section/basics/test.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/section/basics/test.hxx b/common/section/basics/test.hxx
index c129f3e..0ceb298 100644
--- a/common/section/basics/test.hxx
+++ b/common/section/basics/test.hxx
@@ -458,10 +458,10 @@ namespace test14
#pragma db object
struct object
{
- object (int n_ = 999, const std::string& s_ = "xxx")
- : sb (s_.begin (), s_.end ()), sn (n_), n (n_) {}
+ object (unsigned long id_ = 0, int n_ = 999, const std::string& s_ = "xxx")
+ : id (id_), sb (s_.begin (), s_.end ()), sn (n_), n (n_) {}
- #pragma db id auto
+ #pragma db id
unsigned long id;
#pragma db load(lazy)