Fix to #590, http://bugs.mariadb.com/show_bug.cgi?id=590
gw_change_user returned error code in cases where authentication failed. That is not right behavior in that context. gw_change_user succeeds to route query and should return succees to router's routeQuery. Possible error is handled by creating error message and by feeding it to client DCB's event queue.
Fix to Coverity cases 73417, 73420, 72759, 72639
Fixed Coverity case 72706
Fixed use of uninitialized memory.
Fixed one more socket leak
Fixed another leaking socket. Coverity 72706
poll.c:dcb_close Don't call poll_remove_dcb anymore if DCB has already been removed from poll set.
mysql_backend.c, mysql_client.c free error message GWBUF after calling handleError
readconnroute.c:handleError send error message to client before returning.
readwritesplit.c:handleError don't free error message buffer anymore since the caller of handleError frees it.
Fixes to Coverity tasks 72734, 72717, 72700
Fix to Coverity issue 72733
Fix to bug #605, http://bugs.mariadb.com/show_bug.cgi?id=605
String buffer allocation didn't allocate space for terminating char. It also assumed that character size may vary but the rest of the code didn't support multi-byte characters so I changed it consistently assume single-byte characters.
Fix to #605, http://bugs.mariadb.com/show_bug.cgi?id=605
Main assumed multi-byte characters in memory allocation but not outside of it so I removed that code and made it consistently assume single-byte characters.
Terminating character was added always to the last byte of string buffer regardless of the length of the string. Removed it and replaced malloc with calloc.
Moved variable introductions from the middle of the function to the beginning of it.
Revert to 54d389e329a860add1f609508c676761521a8ad0 due to erroneous fix.
Returned #include <my_config.h> and updated server name.
Fixed canonical query tests
dcb.c:dcb_close prevent redundant execution of dcb_close for one DCB
Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
fix to bug 606, added a check that the compiler version is greater than 4.1 if GNU compilers are used when using -Werror=format-security.
Updated the GCC required version to 4.2 for '-Werror=format-security' to be used.
Changed the requirement of -Werror=format-security to GCC version 4.2 or greater instead of only versions greater than 4.2.
Fixed Coverity errors that were in harness_common.c