Commit 0f5ced1d authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix some typo ... causing crash!

  modified:   storage/connect/jdbconn.cpp
parent 6aa163bc
......@@ -774,7 +774,7 @@ int JDBConn::GetMaxValue(int n)
/***********************************************************************/
void JDBConn::ResetJVM(void)
{
if (!LibJvm) {
if (LibJvm) {
#if defined(__WIN__)
FreeLibrary((HMODULE)LibJvm);
#else // !__WIN__
......@@ -863,7 +863,7 @@ int JDBConn::Open(PJPARM sop)
// Link or check whether jvm library was linked
if (GetJVM(g))
return true;
return RC_FX;
// Firstly check whether the jvm was already created
JavaVM* jvms[1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment