2447 Commits

Author SHA1 Message Date
Markus Makela
ab6418c939 Fixes to RabbitMQ filter and consumer. 2015-01-30 18:03:20 +02:00
Markus Makela
5d6b805d6e Moved CMake modules to a separate directory and disabled local installs of system files when building packages.
The building of packages with CMake now requires the -DPACKAGE=Y flag to be set when configuring CMake.
2015-01-30 15:45:33 +02:00
Markus Makela
bbe73d78fd Fixed DEB package post-install and post-uninstall scripts not working properly. 2015-01-30 12:33:55 +02:00
Markus Makela
a9a9a6eae5 Small fixes to log_manager and query_classifier tests. 2015-01-30 08:26:10 +02:00
Markus Makela
618316d7e7 Fixed wrong version number in MySQL version comparison. 2015-01-29 18:33:00 +02:00
Markus Makela
28e6a2c818 Additional fix to bug 683 and a fix to bug 710: http://bugs.mariadb.com/show_bug.cgi?id=710
Version and provider strings are now parsed based on the contents of mysql_version.h.
Added post-install and post-uninstall scripts to RPM and post-install scripts to DEB packages.
2015-01-29 18:17:13 +02:00
Markus Makela
edc247918a Fix to bug 683: http://bugs.mariadb.com/show_bug.cgi?id=683
Removed the usage of mysql_config and added warnings if the mysqld provider is something else than MariaDB.
2015-01-29 14:27:41 +02:00
Markus Makela
42d2f99006 Added fwfilter documentation. 2015-01-28 21:40:14 +02:00
Markus Makela
c5ac9b928a Fix to bug 709: http://bugs.mariadb.com/show_bug.cgi?id=709
Changed the installation directory of the files to '.' instead of 'CMAKE_INSTALL_PREFIX'.
2015-01-28 15:08:19 +02:00
VilhoRaatikka
a016fdd0b7 Complementary fix to #507, http://bugs.skysql.com/show_bug.cgi?id=507.
Missing braces in get_route_target made the previous fix ineffective.
2015-01-28 12:20:30 +02:00
VilhoRaatikka
21bb341c7d Fix to bug #507, http://bugs.mariadb.com/show_bug.cgi?id=507
readwritesplit.c:get_route_target routed query to slave although query type was combined QUERY_TYPE_READ | QUERY_TYPE_MASTER_READ, where the latter is supposed to be routed to master.
2015-01-27 15:21:31 +02:00
VilhoRaatikka
270c0ebf8a Clean up, added comments, removed some dead code. 2015-01-27 10:24:37 +02:00
Markus Makela
566831c9c5 Fix to bug 705: http://bugs.mariadb.com/show_bug.cgi?id=705
changed " to ' in queries so that ANSI_QUOTES works with sql_modes that use it.
2015-01-26 20:17:20 +02:00
MassimilianoPinto
92ebfb2eb9 Timeouts handling in NDB Monitor
Timeouts handling in NDB Monitor
2015-01-26 11:50:24 +01:00
MassimilianoPinto
ba5cab0af6 NDB Monitor update
NDB Monitor update
2015-01-26 11:35:21 +01:00
Markus Makela
7a55d482a2 Fix to bug 700: http://bugs.mariadb.com/show_bug.cgi?id=700
--version now prints the version string.
2015-01-26 10:19:25 +02:00
Markus Makela
9b9c968ca1 Fix to bug 704: http://bugs.mariadb.com/show_bug.cgi?id=704
The testall target now exits with the correct value.
2015-01-26 09:07:33 +02:00
Mark Riddoch
9e642c32cb Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-01-22 15:09:01 +01:00
Mark Riddoch
41bc0ddd24 Addition of example filter to set routing hint to route to a named server
based on a regular expression match within the query text.
2015-01-22 15:08:06 +01:00
Markus Makela
81aa2b7c00 Removed redundant include from tee.c. 2015-01-20 12:52:39 +02:00
VilhoRaatikka
272cd73cad Fix to bug #701, http://bugs.mariadb.com/show_bug.cgi?id=701
debugcmd.c:execute_cmd:added skip counter which adjusts the starting position of next argument correctly thus avoiding cropping the latter quoted argument.
2015-01-19 18:38:46 +02:00
VilhoRaatikka
5d1f029260 New fix candidate to bug #698, http://bugs.mariadb.com/show_bug.cgi?id=698
client/test/maxadmin_test.sh: added new cases for testing maxadmin
service.c:dListListeners:fixed NULL-pointer reference
debugcli.h: replaced magic number 80 with constant integer.
cli.c:execute:fixed command buffer overflow
debugcmd.c:convert_arg:restored return value to 0 in case of error
2015-01-19 17:55:02 +02:00
VilhoRaatikka
9c34125a59 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-01-19 00:04:01 +02:00
VilhoRaatikka
fca674b16a modutil.c: added modutil_reply_auth_error
mysql_backend.c:gw_change_user: instead of setting flags directly to replybuffer, set server command to backend's protocol object and reply the message directly to backend where flags are set and it is replied back to client.
2015-01-19 00:01:08 +02:00
Markus Makela
d45cae2ee7 Seaprated the RabbitMQ consumer from MaxScale's build system. 2015-01-18 12:34:32 +02:00
Markus Makela
b2505fd660 Fix to bug 683: http://bugs.mariadb.com/show_bug.cgi?id=683
Added a check for MySQL version and a warning for the user about versions older than 5.5.40.
2015-01-18 06:24:51 +02:00
Markus Makela
d4d9304dab Removed unused values. 2015-01-18 06:08:38 +02:00
Markus Makela
66db37341d Updates all references to INSTALL_DIR with CMAKE_INSTALL_PREFIX. 2015-01-18 05:55:29 +02:00
Markus Makela
e79ea8bc3e Removed INSTALL_DIR due to bug 689 being fixed and updated README to use 'cmake -LH' instead of listing the variables. 2015-01-18 05:29:37 +02:00
Markus Makela
b0f1af7a40 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-01-18 05:21:00 +02:00
Markus Makela
3af1e895c7 Updated SETUP contents, fixed CMAKE_INSTALL_PREFIX not affecting the install destination and added a WITHOUT_MAXADMIN flag. 2015-01-18 05:20:05 +02:00
VilhoRaatikka
f5d8e2366a modutil.c:modutil_reply_routing_error: Removed GWBUF type flag setting and added flags argument to function prototype so that the caller can set necessary flags and they are then copied to GWBUF which is first created in modutil_reply_rounting_error. 2015-01-17 23:07:06 +02:00
VilhoRaatikka
bbbdc28440 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-01-17 22:42:57 +02:00
VilhoRaatikka
6d2b38d4b6 Complementary fix to #694,http://bugs.mariadb.com/show_bug.cgi?id=694
RWSplit router handles query processing errors that happened in router by sending parse error reply to client. routeQuery fails only when backend has failed.
2015-01-17 22:40:52 +02:00
Timofey Turenko
3eb686223e Add OpenSUSE comments and link to MariaDB repository configuration instruction to README 2015-01-17 18:44:49 +02:00
Markus Makela
8877d00695 Updated README 2015-01-17 18:10:23 +02:00
VilhoRaatikka
d362ed227f Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-01-17 01:29:50 +02:00
VilhoRaatikka
1a76d2d06f Fix to bug #698, http://bugs.mariadb.com/show_bug.cgi?id=698
debugcmd.c:convert_arg returned zero if argument is invalid. That zero was cast to pointer. Using it caused NULL-pointer references. Changed the return value indicating about error to 0x1 which is then handled properly.
2015-01-17 01:24:56 +02:00
Timofey Turenko
ba84370b36 fix type in macros.cmake 2015-01-16 18:12:08 +02:00
Timofey Turenko
885dfb0242 Merge branch 'remove_makefiles' into develop 2015-01-16 18:04:16 +02:00
VilhoRaatikka
113ea8381b Complamentary fix to #694, added error flag reset to readconnrouter as well. 2015-01-16 11:56:20 +02:00
VilhoRaatikka
da77da803b Complementory fix to bug #694, http://bugs.mariadb.com/show_bug.cgi?id=694
Added new error action to router.h, added functionality to reset error flag from DCB in handleError. Error is reset before every new routing call.
2015-01-16 11:13:42 +02:00
VilhoRaatikka
c5c9165a26 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-01-15 15:21:58 +02:00
VilhoRaatikka
39e4253c81 Fix to bug #694, http://bugs.mariadb.com/show_bug.cgi?id=694
query_classifier.cc: set_query_type lost previous query type if the new was more restrictive. Problem was that if query is both READ and SESSION_WRITE and configuration parameter use_sql_variables_in=all was set, routing target became ambiguous. Replaced call to set_query_type with simply adding new type to type (=bit field) and checking unsupported combinations in readwritesplit.c:get_route_target. If such a case is met, a detailed error is written to error log in readwritesplit.c. mysql_client.c sees the error code and sends an error to client. Then mysql_client.c calls router's handleError which ensures that there are enough backend servers so that the session can continue.
2015-01-15 15:16:22 +02:00
Markus Makela
533042b61a Fixes to coverity defects from 85514 up to 85529. 2015-01-15 14:09:11 +02:00
Markus Makela
88a26f03ab Fix to bug 685: http://bugs.mariadb.com/show_bug.cgi?id=685
Added the missing detection of partial packets in the buffers.
2015-01-15 13:13:09 +02:00
Markus Makela
85c84c9e71 Fixed debug variables being used out of debug blocks. 2015-01-15 05:11:08 +02:00
Markus Makela
30d2742294 Fixed garbled data at end of modutil.c 2015-01-15 04:40:33 +02:00
Markus Makela
b635eb1493 Additional debugging info added to tee filter. 2015-01-14 21:13:52 +02:00
Timofey Turenko
7e05d4d716 Merge branch 'develop' into remove_makefiles 2015-01-14 19:09:43 +02:00