aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-12-22 12:29:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-12-22 12:29:53 +0200
commit0d59e889e52c9495e42492b74b99076e3b3f3361 (patch)
tree067ecfca22fb082fdc539ee78b0ce881859f439d /odb/oracle/statement.cxx
parent8ba963c9d10e25780b34b734b9c1f4d90610720e (diff)
Rename *_chunk to chunk_* enumerators in Oracle for consistency
Diffstat (limited to 'odb/oracle/statement.cxx')
-rw-r--r--odb/oracle/statement.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx
index e62c927..bc31d1c 100644
--- a/odb/oracle/statement.cxx
+++ b/odb/oracle/statement.cxx
@@ -101,22 +101,22 @@ namespace odb
switch (pos)
{
- case one_chunk:
+ case chunk_one:
{
*piece = OCI_ONE_PIECE;
break;
}
- case first_chunk:
+ case chunk_first:
{
*piece = OCI_FIRST_PIECE;
break;
}
- case next_chunk:
+ case chunk_next:
{
*piece = OCI_NEXT_PIECE;
break;
}
- case last_chunk:
+ case chunk_last:
{
*piece = OCI_LAST_PIECE;
break;
@@ -1029,11 +1029,11 @@ namespace odb
chunk_position cp;
if (piece == OCI_FIRST_PIECE)
- cp = r == OCI_SUCCESS ? one_chunk : first_chunk;
+ cp = r == OCI_SUCCESS ? chunk_one : chunk_first;
else if (r == OCI_NEED_DATA)
- cp = next_chunk;
+ cp = chunk_next;
else
- cp = last_chunk;
+ cp = chunk_last;
piece = OCI_NEXT_PIECE;