aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement.cxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-08 13:31:00 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-08 14:46:33 +0200
commit7046b291be1af32b37a148abfb8a60c83f6ff68c (patch)
tree0490d78934bda44860e5c02ed6f07d8a169808bd /odb/oracle/statement.cxx
parent85b6295e978746479e33a0033fbcf285da335594 (diff)
Improve INTERVAL and TIMESTAMP descriptor type manipulation
Diffstat (limited to 'odb/oracle/statement.cxx')
-rw-r--r--odb/oracle/statement.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx
index 7c16ab2..b789959 100644
--- a/odb/oracle/statement.cxx
+++ b/odb/oracle/statement.cxx
@@ -191,8 +191,8 @@ namespace odb
throw invalid_oci_handle ();
dt->descriptor.reset (static_cast<OCIDateTime*> (d));
- dt->descriptor.environment = env;
- dt->descriptor.error = err;
+ dt->environment = env;
+ dt->error = err;
dt->set ();
}
@@ -216,8 +216,8 @@ namespace odb
throw invalid_oci_handle ();
iym->descriptor.reset (static_cast<OCIInterval*> (d));
- iym->descriptor.environment = env;
- iym->descriptor.error = err;
+ iym->environment = env;
+ iym->error = err;
iym->set ();
}
@@ -241,8 +241,8 @@ namespace odb
throw invalid_oci_handle ();
ids->descriptor.reset (static_cast<OCIInterval*> (d));
- ids->descriptor.environment = env;
- ids->descriptor.error = err;
+ ids->environment = env;
+ ids->error = err;
ids->set ();
}
@@ -358,8 +358,8 @@ namespace odb
throw invalid_oci_handle ();
dt->descriptor.reset (static_cast<OCIDateTime*> (d));
- dt->descriptor.environment = env;
- dt->descriptor.error = err;
+ dt->environment = env;
+ dt->error = err;
}
value = &dt->descriptor.get ();
@@ -382,8 +382,8 @@ namespace odb
throw invalid_oci_handle ();
iym->descriptor.reset (static_cast<OCIInterval*> (d));
- iym->descriptor.environment = env;
- iym->descriptor.error = err;
+ iym->environment = env;
+ iym->error = err;
}
value = &iym->descriptor.get ();
@@ -406,8 +406,8 @@ namespace odb
throw invalid_oci_handle ();
ids->descriptor.reset (static_cast<OCIInterval*> (d));
- ids->descriptor.environment = env;
- ids->descriptor.error = err;
+ ids->environment = env;
+ ids->error = err;
}
value = &ids->descriptor.get ();