mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Funny typo in SqlCompile; improved diagnostics of so load failure in Linux (Dli.cpp); improved connection failure diagnostics in OCI8
git-svn-id: svn://ultimatepp.org/upp/trunk@1642 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c6a4eee54a
commit
b1bb783874
4 changed files with 16 additions and 14 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
NAMESPACE_UPP
|
||||
|
||||
#define LLOG(x) // LLOG(x)
|
||||
#define LLOG(x) RLOG(x)
|
||||
|
||||
//#define DLLFILENAME "ora803.dll"
|
||||
#define DLLFILENAME "oci.dll"
|
||||
|
|
@ -35,13 +35,13 @@ static String OciError(T_OCI8& oci8, OCIError *errhp, int *code)
|
|||
}
|
||||
|
||||
bool Oracle8::AllocOciHandle(void *hp, int type) {
|
||||
LLOG("AllocOciHandle(" << type << "), envhp = " << envhp);
|
||||
LLOG("AllocOciHandle(type " << type << "), envhp = " << FormatIntHex(envhp));
|
||||
*(dvoid **)hp = NULL;
|
||||
return oci8 && !oci8.OCIHandleAlloc(envhp, (dvoid **)hp, type, 0, NULL);
|
||||
}
|
||||
|
||||
void Oracle8::FreeOciHandle(void *hp, int type) {
|
||||
LLOG("FreeOciHandle(" << type << ")");
|
||||
LLOG("FreeOciHandle(" << FormatIntHex(hp) << ", type " << type << ")");
|
||||
if(oci8 && hp) oci8.OCIHandleFree(hp, type);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue