mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Oci8: Fix of UNKNOWN_V case
git-svn-id: svn://ultimatepp.org/upp/trunk@7295 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
374e224933
commit
ac44d284ef
1 changed files with 1 additions and 2 deletions
|
|
@ -395,7 +395,7 @@ void OCI8Connection::SetParam(int i, const Value& q) {
|
|||
case TIME_V:
|
||||
SetParam(i, (Time)q);
|
||||
break;
|
||||
case UNKNOWN_V:
|
||||
default:
|
||||
if(IsTypeRaw<Sql *>(q)) {
|
||||
SetParam(i, *ValueTo<Sql *>(q));
|
||||
break;
|
||||
|
|
@ -404,7 +404,6 @@ void OCI8Connection::SetParam(int i, const Value& q) {
|
|||
SetParam(i, OracleRef(q));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
NEVER();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue