Commit Graph

  • 9accebdc37 Merge branch 'develop' into firewall Markus Makela 2014-11-10 09:08:39 +02:00
  • 37fa9668a9 Added a check for MySQL client libraries for the connection tests and re-enabled the tests. Markus Makela 2014-11-09 21:01:39 +02:00
  • 5490954e43 Disabled login tests. Markus Makela 2014-11-07 18:47:41 +02:00
  • c62261710b Fixed wrong mysql libraries being used in the tests Markus Makela 2014-11-07 18:32:37 +02:00
  • 62069f7ba9 Missing bracket MassimilianoPinto 2014-11-07 17:10:24 +01:00
  • 55d13ab46c Merge branch 'MAX-316' into develop MassimilianoPinto 2014-11-07 17:02:56 +01:00
  • 39cc701b0d Branch update MassimilianoPinto 2014-11-07 16:59:01 +01:00
  • 00245201bb Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-07 17:57:06 +02:00
  • 44771dbc51 readwritesplit.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
  • 3b982ae820 Added monitor timeouts for connect/read/write MassimilianoPinto 2014-11-07 16:44:57 +01:00
  • b8d059336a Merge branch 'testconnect' into develop Markus Makela 2014-11-07 17:11:32 +02:00
  • 813529b476 Added a test for the time it takes to login through MaxScale with various routers. Markus Makela 2014-11-07 15:30:34 +02:00
  • 89355c6579 Merge branch 'develop' of github.com:skysql/MaxScale into develop Mark Riddoch 2014-11-07 13:18:13 +00:00
  • 45005d9b35 Fix free of uninitialised pointers in case of failure. Mark Riddoch 2014-11-07 13:17:50 +00:00
  • 02039656df Merge branch 'develop' of github.com:skysql/MaxScale into develop Mark Riddoch 2014-11-07 13:16:15 +00:00
  • 3b1ca027ad Fixed MaxScale not starting if the log directory already existed. Markus Makela 2014-11-07 14:56:39 +02:00
  • 2b4ad49a60 Bug 571 - regression in replacement code Mark Riddoch 2014-11-07 12:21:48 +00:00
  • a4caac55c8 Fixes to Coverity errors: 72662 72702 72724 73397 73410 73414 73422 75424 75748 75789 75938 75939 Markus Makela 2014-11-07 11:52:40 +02:00
  • 474f018cee Fixes to minor Coverity errors: 75424 73422 72724 72702 72662 Markus Makela 2014-11-07 11:12:26 +02:00
  • e1af60ac71 Fixes to Coverity errors: 72747 75940 75941 73408 75425 Markus Makela 2014-11-07 10:57:11 +02:00
  • 4f39828fa1 Fixes to Coveriry issues 72757 & 73266 VilhoRaatikka 2014-11-07 10:07:22 +02:00
  • 1ed3c9cc62 Fix 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
  • ae53ca0e44 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-06 20:57:37 +02:00
  • cd7f0cbab5 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop Markus Makela 2014-11-06 20:04:54 +02:00
  • 8cfea996e7 Fixed an unassigned pointer causing memory corruption. Markus Makela 2014-11-06 20:04:18 +02:00
  • ca677f90ec Bug 551 - added new routine to return NULL terminated query text Mark Riddoch 2014-11-06 17:59:20 +00:00
  • 12a83fb742 Merge branch 'develop' of github.com:skysql/MaxScale into develop Mark Riddoch 2014-11-06 16:59:12 +00:00
  • df9502bc38 Bug 591 - long option --nodaemon not working Mark Riddoch 2014-11-06 16:58:14 +00:00
  • 9af863e70e Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-06 18:55:31 +02:00
  • 831ad11a30 Fix to Coverity error 75425 Markus Makela 2014-11-06 16:23:38 +02:00
  • 4b98c472a8 Fixed a comment VilhoRaatikka 2014-11-06 16:12:01 +02:00
  • c4d51f54cd Fixes to Coverity bugs: 72743 73407 73408 73409 73415 73419 Markus Makela 2014-11-06 15:40:11 +02:00
  • 8925f79286 Fix to bug 464 Markus Makela 2014-11-06 14:48:08 +02:00
  • 897fc3f117 Updated user relaod rate refresh and added checks for failed strdup Mark Riddoch 2014-11-06 09:53:05 +00:00
  • f44ed2f3b4 Fixes to Coverity issues 72736 & 72735 VilhoRaatikka 2014-11-06 08:45:46 +02:00
  • 665315ea5c Fix to bug #612, http://bugs.mariadb.com/show_bug.cgi?id=612 Also added error logging in cases where memory allocation failed etc. VilhoRaatikka 2014-11-05 22:04:36 +02:00
  • 0a306b2eeb Fix bug #611, http://bugs.mariadb.com/show_bug.cgi?id=611 Fixes to Coverity issues 72703, 72713, 72718, 72721 VilhoRaatikka 2014-11-05 18:37:11 +02:00
  • 9728502522 Fix to Coverity issue 72769 VilhoRaatikka 2014-11-05 17:50:07 +02:00
  • 86cd6ec0e9 Fix to Coverity issue 72726 VilhoRaatikka 2014-11-05 17:27:37 +02:00
  • e7b6ec644c Fix to Coverity issue 72741 VilhoRaatikka 2014-11-05 16:05:35 +02:00
  • b84797bfa6 Fix to Coverity issue 72749, replaced sprintf with snprintf VilhoRaatikka 2014-11-05 15:32:57 +02:00
  • 4f5bda7a8b Merge branch 'develop' into firewall Markus Makela 2014-11-05 15:28:22 +02:00
  • d611622b23 Fix to Coverity issue 72738, passed NULL-pointer to a function which referenced it. VilhoRaatikka 2014-11-05 15:21:17 +02:00
  • 43b4224d2d Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-05 14:43:22 +02:00
  • 8b91a5f078 Fix to bug #610, http://bugs.mariadb.com/show_bug.cgi?id=610 Fixes to Coverity issues 72728, 72755, 72745 VilhoRaatikka 2014-11-05 14:41:04 +02:00
  • 699d07a613 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop Markus Makela 2014-11-05 14:22:46 +02:00
  • 36c6a61330 Fixes to coverity bugs: 72670: query_classifier/query_classifier.cc 72682: server/modules/filter/qlafilter.c 72679: server/modules/filter/tee.c 72716: server/modules/protocol/maxscaled.c 72694: server/modules/protocol/telnetd.c 71743: server/modules/routing/readwritesplit/readwritesplit.c Markus Makela 2014-11-05 14:18:38 +02:00
  • 5886ac3d31 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-05 12:16:05 +02:00
  • 42fc241cb7 Added comment to server selection routine VilhoRaatikka 2014-11-05 12:15:48 +02:00
  • 17f87e29af Fixes to some Coverity issues. Markus Makela 2014-11-05 11:57:42 +02:00
  • 3395caf208 Fix two other incorrect pointers, changing bitmask to bitmask->bits. counterpoint 2014-11-05 09:29:11 +00:00
  • 3278be565a Fix to bug #609, http://bugs.mariadb.com/show_bug.cgi?id=609 If target can't be resolved, master is chosen. Bug cause master be chosen in most of the cases. VilhoRaatikka 2014-11-05 11:18:25 +02:00
  • 349557c264 Added more documentation to fwfilter.c Markus Makela 2014-11-04 18:44:07 +02:00
  • f378c61948 Merge branch 'develop' into firewall Markus Makela 2014-11-04 18:42:35 +02:00
  • a493a841d9 Fix to harness_common.c Coverity errors. Markus Makela 2014-11-04 18:21:31 +02:00
  • c63f2af160 Fix bug in bitmask extension. counterpoint 2014-11-04 11:35:53 +00:00
  • 1b9da8662d Fixed Coverity errors that were in harness_common.c Markus Makela 2014-11-04 11:37:26 +02:00
  • 99707853be Changed 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
  • 1fc66c0df7 Updated the GCC required version to 4.2 for '-Werror=format-security' to be used. Markus Makela 2014-11-04 10:49:28 +02:00
  • e786d4af78 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. Markus Makela 2014-11-04 10:40:24 +02:00
  • 85455a2a7e Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-03 22:08:41 +02:00
  • 6ed8836b15 dcb.c:dcb_close prevent redundant execution of dcb_close for one DCB VilhoRaatikka 2014-11-03 22:07:54 +02:00
  • e7feba6964 Fixed canonical query tests Markus Makela 2014-11-03 12:20:25 +02:00
  • e275b5e533 Added query throttling for network ranges Markus Makela 2014-11-03 11:36:13 +02:00
  • ca816743e8 Returned #include <my_config.h> and updated server name. VilhoRaatikka 2014-11-03 11:33:41 +02:00
  • b7f9819407 Merge branch 'develop' into firewall Markus Makela 2014-11-03 09:26:31 +02:00
  • b15ac9c019 Revert to 54d389e329a860add1f609508c676761521a8ad0 due to erroneous fix. VilhoRaatikka 2014-11-03 08:57:02 +02:00
  • dc71322cbf Revert back to vesion dcb8b68ada4f8e05ad124203b1ab401838fc5a34 due to erroneous fix in latest version of canonizer.c VilhoRaatikka 2014-11-03 08:51:32 +02:00
  • fb02e44e7e 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. VilhoRaatikka 2014-11-02 22:33:12 +02:00
  • dcb8b68ada Fix 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
  • aaa727bcc2 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. VilhoRaatikka 2014-11-02 22:11:28 +02:00
  • 35d3364025 Merge pull request #64 from hholzgra/hartmut-bug-605 Vilho Raatikka 2014-11-02 20:57:54 +02:00
  • d23cb087ec properly zero-terminate input buffer - Bug #605 Hartmut Holzgraefe 2014-11-02 14:18:22 +01:00
  • 54d389e329 Fix to Coverity issue 72733 VilhoRaatikka 2014-11-01 21:16:03 +02:00
  • 10f8d0535a Fixes to Coverity tasks 72734, 72717, 72700 VilhoRaatikka 2014-11-01 20:33:17 +02:00
  • 9ccbab1899 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. VilhoRaatikka 2014-11-01 20:00:59 +02:00
  • b6fe4e620a Fixed another leaking socket. Coverity 72706 VilhoRaatikka 2014-11-01 15:28:41 +02:00
  • f1c4c1dfb2 Fixed one more socket leak VilhoRaatikka 2014-11-01 00:01:38 +02:00
  • 5a2d492fe8 Fixed use of uninitialized memory. VilhoRaatikka 2014-10-31 23:47:33 +02:00
  • 8aff04b0e9 Fixed Coverity case 72706 VilhoRaatikka 2014-10-31 23:35:29 +02:00
  • deffd4a69f Fix to Coverity cases 73417, 73420, 72759, 72639 VilhoRaatikka 2014-10-31 23:11:19 +02:00
  • 3f375e680a 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. VilhoRaatikka 2014-10-31 20:09:43 +02:00
  • e812d765ef Added Master Failback in show monitors MassimilianoPinto 2014-10-31 17:17:02 +01:00
  • 3739e3ce56 Merge branch 'develop' into MAX-316 MassimilianoPinto 2014-10-31 15:45:05 +01:00
  • a342b453ac Fixed Coverity tasks : 72722, 72706 VilhoRaatikka 2014-10-31 15:55:13 +02:00
  • 7615e9c0ac Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-10-31 15:28:58 +02:00
  • 00fded016b Fixes 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
  • f8f6006314 Fixed a bug with regex matching Markus Makela 2014-10-31 14:37:06 +02:00
  • 0f4fad5ec4 Merge branch 'develop' into firewall Markus Makela 2014-10-31 13:02:02 +02:00
  • 002bfb5c35 Added 'make documentation' target to CMake that generates documentation with Doxygen. Markus Makela 2014-10-31 12:44:20 +02:00
  • 09b3351427 Added mysqld_error.h in dbusers MassimilianoPinto 2014-10-31 10:52:49 +01:00
  • 848c7aa0b8 Fixes to Coverity cases 72678 (retry), 72693 VilhoRaatikka 2014-10-31 11:38:57 +02:00
  • e739f3501b Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-10-30 21:20:32 +02:00
  • 5b80cf3032 If 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
  • 6f22975e6c Added 'disable_master_failback' monitor option MassimilianoPinto 2014-10-30 19:03:07 +01:00
  • 9967a45379 Disable Master failback in Galera Monitor MassimilianoPinto 2014-10-30 18:41:30 +01:00
  • 41f016df18 Coverity 72644 MassimilianoPinto 2014-10-30 17:26:55 +01:00
  • fabf62c065 Coverity 72739 MassimilianoPinto 2014-10-30 17:23:12 +01:00
  • bb0fc97f00 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-10-30 18:20:54 +02:00
  • 7048270062 Coverity : 72678, 72687, 72689 Fixed memory leaks and use of freed memory VilhoRaatikka 2014-10-30 18:19:41 +02:00