diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 12:25:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 12:25:58 +0200 |
commit | dcee8530bb5c58710a22f50bb92ac7c3b19ddf84 (patch) | |
tree | 9e28af29f44485eea9040d649750c52cc8d5b7be /oracle | |
parent | 7adf3d7aebbdea54f83a3654182cc9aafd4a8b41 (diff) |
Fix issue with unbind data management in query with descriptors
Diffstat (limited to 'oracle')
-rw-r--r-- | oracle/types/driver.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/oracle/types/driver.cxx b/oracle/types/driver.cxx index 554c506..7c3e6bd 100644 --- a/oracle/types/driver.cxx +++ b/oracle/types/driver.cxx @@ -254,6 +254,21 @@ main (int argc, char* argv[]) assert (size (r) == 1); } + { + // Query temporary. + // + result r (db->query<object> ( + query::timestamp == o.timestamp_ && + query::interval_ym == o.interval_ym_ && + query::interval_ds == o.interval_ds_)); + + query dummy (query::timestamp == o.timestamp_ && + query::interval_ym == o.interval_ym_ && + query::interval_ds == o.interval_ds_); + + assert (size (r) == 1); + } + t.commit (); } } |