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:
cxl 2014-04-22 12:28:42 +00:00
parent 374e224933
commit ac44d284ef

View file

@ -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();
}
}