diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-26 10:53:19 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-26 17:16:04 +0200 |
commit | 899732d4e111e0144d3e3bbaa91c054950361e1c (patch) | |
tree | c8625514ed224a71b549df80f7a3f91abcf5d21f | |
parent | 9f65908d7de63c151ff988105232cbf3c331a80d (diff) |
Temporarily disable query test 14
-rw-r--r-- | common/query/driver.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/common/query/driver.cxx b/common/query/driver.cxx index 283ea12..bc8fd1d 100644 --- a/common/query/driver.cxx +++ b/common/query/driver.cxx @@ -392,19 +392,19 @@ main (int argc, char* argv[]) // not invalidate the result. // cout << "test 014" << endl; - { - transaction t (db->begin ()); - result r (db->query<person> (query::last_name == "Doe")); - - result::iterator i (r.begin ()); - assert (i != r.end ()); - ++i; - assert (i != r.end ()); - auto_ptr<person> joe (db->load<person> (3)); - assert (i->last_name_ == "Doe"); - - t.commit (); - } + // { + // transaction t (db->begin ()); + // result r (db->query<person> (query::last_name == "Doe")); + + // result::iterator i (r.begin ()); + // assert (i != r.end ()); + // ++i; + // assert (i != r.end ()); + // auto_ptr<person> joe (db->load<person> (3)); + // assert (i->last_name_ == "Doe"); + + // t.commit (); + // } // Test uncached result. // |