log_manager.h

Added macros which allow for testing locally if log is enabled or not.

server/Makefile
	Added directory creation command to Makefile. This fixes problem where errmsg.sys was copied to MaxScale/mysql instead of MaxScale/mysql/errmsg.sys

dcb.b
	Added external variable which carries the information of enabled logs from log_manager.cc

gateway.c
	Tuned logging.
This commit is contained in:
vraatikka
2013-12-12 07:05:38 +02:00
parent 06ebc6f4b5
commit 272ca036e4
4 changed files with 30 additions and 3 deletions

View File

@ -1241,15 +1241,15 @@ int main(int argc, char **argv)
fprintf(stderr,
"*\n* Error : MySQL Error should "
"be \"Unknown MySQL error\" "
"instead of %s\n* Hint "
"instead of\n* %s\n* Hint "
":\n* Ensure that you have "
"MySQL error messages file, errmsg.sys in "
"\n* %s\n* Ensure that Embedded "
"\n* %s/mysql\n* Ensure that Embedded "
"Server Library version matches "
"exactly with that of the errmsg.sys "
"file.\n*\n",
mysql_error(NULL),
language_arg);
home_dir);
}
else
{