Added message printing telling what file provided the module which was loaded.
This commit is contained in:
parent
bb364f531b
commit
5c39682e40
@ -106,6 +106,7 @@ MODULES *mod;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
if ((dlhandle = dlopen(fname, RTLD_NOW|RTLD_LOCAL)) == NULL)
|
||||
{
|
||||
LOGIF(LE, (skygw_log_write_flush(
|
||||
@ -156,9 +157,10 @@ MODULES *mod;
|
||||
|
||||
LOGIF(LM, (skygw_log_write_flush(
|
||||
LOGFILE_MESSAGE,
|
||||
"Loaded module %s: %s.",
|
||||
"Loaded module %s: %s from %s",
|
||||
module,
|
||||
version)));
|
||||
version,
|
||||
fname)));
|
||||
register_module(module, type, dlhandle, version, modobj);
|
||||
}
|
||||
else
|
||||
|
@ -36,7 +36,6 @@
|
||||
* 07/05/2014 Massimiliano Pinto Added: specific version string in server handshake
|
||||
*
|
||||
*/
|
||||
|
||||
#include <skygw_utils.h>
|
||||
#include <log_manager.h>
|
||||
#include <mysql_client_server_protocol.h>
|
||||
@ -511,7 +510,6 @@ int gw_read_client_event(DCB* dcb) {
|
||||
int b = -1;
|
||||
int rc = 0;
|
||||
int nbytes_read = 0;
|
||||
|
||||
CHK_DCB(dcb);
|
||||
protocol = DCB_PROTOCOL(dcb, MySQLProtocol);
|
||||
CHK_PROTOCOL(protocol);
|
||||
@ -562,7 +560,6 @@ int gw_read_client_event(DCB* dcb) {
|
||||
|
||||
goto return_rc;
|
||||
}
|
||||
|
||||
rc = gw_read_gwbuff(dcb, &read_buffer, b);
|
||||
|
||||
if (rc != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user