Skip to content

Commit

Permalink
one more
Browse files Browse the repository at this point in the history
  • Loading branch information
bold84 committed Mar 22, 2024
1 parent dd96bcb commit 0b28428
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/backends/oracle/standard-use-type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,11 +470,13 @@ void oracle_standard_use_type_backend::pre_use(indicator const *ind)

case x_xmltype:
case x_longstring:
case x_stdwstring:
case x_rowid:
case x_blob:
// nothing to do
break;
case x_stdwstring:
case x_wchar;
throw soci_error("Wide string use elements are not supported by Oracle backend.");
}

// then handle indicators
Expand Down Expand Up @@ -685,11 +687,13 @@ void oracle_standard_use_type_backend::post_use(bool gotData, indicator *ind)
break;
case x_blob:
case x_rowid:
case x_stdwstring:
case x_xmltype:
case x_longstring:
// nothing to do here
break;
case x_stdwstring:
case x_wchar;
throw soci_error("Wide string use elements are not supported by Oracle backend.");
}
}

Expand Down

0 comments on commit 0b28428

Please sign in to comment.