return;
}
- char* aux;
-
switch(status) {
case OCI_ERROR:
OCIErrorGet(error, (ub4) 1, (text*) 0, &errorCode, (unsigned char*) errorText, (ub4) sizeof(errorText), OCI_HTYPE_ERROR);
}
bool oracle::ResultCode::ErrorDecoder::notFound(const int errorCode) const
-throw() {
+{
return errorCode == OCI_NO_DATA;
}
bool oracle::ResultCode::ErrorDecoder::successful(const int errorCode) const
-throw() {
+{
return errorCode == OCI_SUCCESS;
}
bool oracle::ResultCode::ErrorDecoder::lostConnection(const int errorCode) const
-throw() {
+{
return errorCode == 28 || errorCode == 3113 || errorCode == 3114 || errorCode == 1012 || errorCode == 12570 || errorCode == 12571;
}