mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Update version number and date
modified: storage/connect/ha_connect.cc Add conditional SE exception support modified: storage/connect/json.cpp modified: storage/connect/plgdbutl.cpp Change %p in %x in some sprintf functions. This to avoid some compiler warnings. modified: storage/connect/tabwmi.cpp modified: storage/connect/tabxml.cpp modified: storage/connect/value.h Add JavaWrappers.jar to the class path modified: storage/connect/jdbconn.cpp Fix wrong declare (char *buf[256]; --> char buf[256];) modified: storage/connect/xindex.cpp
This commit is contained in:
@ -63,7 +63,7 @@ PWMIUT InitWMI(PGLOBAL g, char *nsp, char *classname)
|
||||
|
||||
if (FAILED(res)) {
|
||||
sprintf(g->Message, "Failed to initialize COM library. "
|
||||
"Error code = %p", res);
|
||||
"Error code = %x", res);
|
||||
return NULL;
|
||||
} // endif res
|
||||
|
||||
@ -86,7 +86,7 @@ PWMIUT InitWMI(PGLOBAL g, char *nsp, char *classname)
|
||||
(void**) &loc);
|
||||
if (FAILED(res)) {
|
||||
sprintf(g->Message, "Failed to create Locator. "
|
||||
"Error code = %p", res);
|
||||
"Error code = %x", res);
|
||||
CoUninitialize();
|
||||
return NULL;
|
||||
} // endif res
|
||||
@ -95,7 +95,7 @@ PWMIUT InitWMI(PGLOBAL g, char *nsp, char *classname)
|
||||
NULL, NULL, NULL, 0, NULL, NULL, &wp->Svc);
|
||||
|
||||
if (FAILED(res)) {
|
||||
sprintf(g->Message, "Could not connect. Error code = %p", res);
|
||||
sprintf(g->Message, "Could not connect. Error code = %x", res);
|
||||
loc->Release();
|
||||
CoUninitialize();
|
||||
return NULL;
|
||||
@ -424,7 +424,7 @@ bool TDBWMI::Initialize(PGLOBAL g)
|
||||
|
||||
if (FAILED(Res)) {
|
||||
sprintf(g->Message, "Failed to initialize COM library. "
|
||||
"Error code = %p", Res);
|
||||
"Error code = %x", Res);
|
||||
return true; // Program has failed.
|
||||
} // endif Res
|
||||
|
||||
@ -437,7 +437,7 @@ bool TDBWMI::Initialize(PGLOBAL g)
|
||||
|
||||
if (FAILED(Res)) {
|
||||
sprintf(g->Message, "Failed to create Locator. "
|
||||
"Error code = %p", Res);
|
||||
"Error code = %x", Res);
|
||||
CoUninitialize();
|
||||
return true; // Program has failed.
|
||||
} // endif Res
|
||||
@ -449,7 +449,7 @@ bool TDBWMI::Initialize(PGLOBAL g)
|
||||
NULL, NULL,0, NULL, 0, 0, &Svc);
|
||||
|
||||
if (FAILED(Res)) {
|
||||
sprintf(g->Message, "Could not connect. Error code = %p", Res);
|
||||
sprintf(g->Message, "Could not connect. Error code = %x", Res);
|
||||
loc->Release();
|
||||
CoUninitialize();
|
||||
return true; // Program has failed.
|
||||
@ -464,7 +464,7 @@ bool TDBWMI::Initialize(PGLOBAL g)
|
||||
RPC_C_IMP_LEVEL_IMPERSONATE, NULL, EOAC_NONE);
|
||||
|
||||
if (FAILED(Res)) {
|
||||
sprintf(g->Message, "Could not set proxy. Error code = 0x", Res);
|
||||
sprintf(g->Message, "Could not set proxy. Error code = %x", Res);
|
||||
Svc->Release();
|
||||
CoUninitialize();
|
||||
return true; // Program has failed.
|
||||
@ -574,7 +574,7 @@ bool TDBWMI::GetWMIInfo(PGLOBAL g)
|
||||
NULL, &Enumerator);
|
||||
|
||||
if (FAILED(Rc)) {
|
||||
sprintf(g->Message, "Query %s failed. Error code = %p", cmd, Rc);
|
||||
sprintf(g->Message, "Query %s failed. Error code = %x", cmd, Rc);
|
||||
Svc->Release();
|
||||
CoUninitialize();
|
||||
return true; // Program has failed.
|
||||
|
Reference in New Issue
Block a user