44771dbc51readwritesplit.c:handleError is meant to handle backend errors. Removed one call from mysql_client.c and only send error message to client instead.
VilhoRaatikka
2014-11-07 17:55:05 +02:00
3b982ae820Added monitor timeouts for connect/read/write
MassimilianoPinto
2014-11-07 16:44:57 +01:00
b8d059336aMerge branch 'testconnect' into develop
Markus Makela
2014-11-07 17:11:32 +02:00
813529b476Added a test for the time it takes to login through MaxScale with various routers.
Markus Makela
2014-11-07 15:30:34 +02:00
89355c6579Merge branch 'develop' of github.com:skysql/MaxScale into develop
Mark Riddoch
2014-11-07 13:18:13 +00:00
45005d9b35Fix free of uninitialised pointers in case of failure.
Mark Riddoch
2014-11-07 13:17:50 +00:00
02039656dfMerge branch 'develop' of github.com:skysql/MaxScale into develop
Mark Riddoch
2014-11-07 13:16:15 +00:00
3b1ca027adFixed MaxScale not starting if the log directory already existed.
Markus Makela
2014-11-07 14:56:39 +02:00
2b4ad49a60Bug 571 - regression in replacement code
Mark Riddoch
2014-11-07 12:21:48 +00:00
1ed3c9cc62Fix to Coverity issues 72731 and 72708 In routeQuery: check if master has failed and in that case abort routing with an error sent back to the client. handle_error_new_connection also tests for master failure and returns with error if that is the case.
VilhoRaatikka
2014-11-06 22:24:12 +02:00
349557c264Added more documentation to fwfilter.c
Markus Makela
2014-11-04 18:44:07 +02:00
f378c61948Merge branch 'develop' into firewall
Markus Makela
2014-11-04 18:42:35 +02:00
a493a841d9Fix to harness_common.c Coverity errors.
Markus Makela
2014-11-04 18:21:31 +02:00
c63f2af160Fix bug in bitmask extension.
counterpoint
2014-11-04 11:35:53 +00:00
1b9da8662dFixed Coverity errors that were in harness_common.c
Markus Makela
2014-11-04 11:37:26 +02:00
99707853beChanged the requirement of -Werror=format-security to GCC version 4.2 or greater instead of only versions greater than 4.2.
Markus Makela
2014-11-04 10:55:30 +02:00
1fc66c0df7Updated the GCC required version to 4.2 for '-Werror=format-security' to be used.
Markus Makela
2014-11-04 10:49:28 +02:00
e786d4af78fix 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.
Markus Makela
2014-11-04 10:40:24 +02:00
6ed8836b15dcb.c:dcb_close prevent redundant execution of dcb_close for one DCB
VilhoRaatikka
2014-11-03 22:07:54 +02:00
e7feba6964Fixed canonical query tests
Markus Makela
2014-11-03 12:20:25 +02:00
e275b5e533Added query throttling for network ranges
Markus Makela
2014-11-03 11:36:13 +02:00
ca816743e8Returned #include <my_config.h> and updated server name.
VilhoRaatikka
2014-11-03 11:33:41 +02:00
b7f9819407Merge branch 'develop' into firewall
Markus Makela
2014-11-03 09:26:31 +02:00
b15ac9c019Revert to 54d389e329a860add1f609508c676761521a8ad0 due to erroneous fix.
VilhoRaatikka
2014-11-03 08:57:02 +02:00
dc71322cbfRevert back to vesion dcb8b68ada4f8e05ad124203b1ab401838fc5a34 due to erroneous fix in latest version of canonizer.c
VilhoRaatikka
2014-11-03 08:51:32 +02:00
fb02e44e7eFix 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.
VilhoRaatikka
2014-11-02 22:33:12 +02:00
dcb8b68adaFix to bug #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.
VilhoRaatikka
2014-11-02 22:25:43 +02:00
aaa727bcc2Fix 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.
VilhoRaatikka
2014-11-02 22:11:28 +02:00
35d3364025Merge pull request #64 from hholzgra/hartmut-bug-605
Vilho Raatikka
2014-11-02 20:57:54 +02:00
9ccbab1899poll.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.
VilhoRaatikka
2014-11-01 20:00:59 +02:00
b6fe4e620aFixed another leaking socket. Coverity 72706
VilhoRaatikka
2014-11-01 15:28:41 +02:00
f1c4c1dfb2Fixed one more socket leak
VilhoRaatikka
2014-11-01 00:01:38 +02:00
5a2d492fe8Fixed use of uninitialized memory.
VilhoRaatikka
2014-10-31 23:47:33 +02:00
8aff04b0e9Fixed Coverity case 72706
VilhoRaatikka
2014-10-31 23:35:29 +02:00
3f375e680aFix 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.
VilhoRaatikka
2014-10-31 20:09:43 +02:00
e812d765efAdded Master Failback in show monitors
MassimilianoPinto
2014-10-31 17:17:02 +01:00
3739e3ce56Merge branch 'develop' into MAX-316
MassimilianoPinto
2014-10-31 15:45:05 +01:00
00fded016bFixes to Coverity tasks : 73267, 72686, 72672 Cleaned up warnings, and added checks to malloc return values and error log writes in case of failures.
VilhoRaatikka
2014-10-31 15:25:59 +02:00
f8f6006314Fixed a bug with regex matching
Markus Makela
2014-10-31 14:37:06 +02:00
0f4fad5ec4Merge branch 'develop' into firewall
Markus Makela
2014-10-31 13:02:02 +02:00
002bfb5c35Added 'make documentation' target to CMake that generates documentation with Doxygen.
Markus Makela
2014-10-31 12:44:20 +02:00
09b3351427Added mysqld_error.h in dbusers
MassimilianoPinto
2014-10-31 10:52:49 +01:00
5b80cf3032If opening any of the log files fail, MaxScale doesn't start before the cause has been removed. Added informative error message which is to be printed to standard error output.
VilhoRaatikka
2014-10-30 21:19:26 +02:00