Commit Graph

1841 Commits

Author SHA1 Message Date
89c7b907a3 Addition to Fix of bug #585, http://bugs.mariadb.com/show_bug.cgi?id=585
regexfilter.c:routeQuery called modutil_replace_SQL which resulted in multiple buffers in query GWBUF. Those weren't handled properly later. Added call for gwbug_make_contiguous.
2014-10-24 18:30:53 +03:00
42b52c6f51 Fix to bug #587, http://bugs.mariadb.com/show_bug.cgi?id=587
buffer.c:gwbuf_make_contiguous: hint wasn't duplicated to new GWBUF struct. As a result hints were lost if query rewriting resulted in longer query than the original.
2014-10-23 21:03:58 +03:00
b320b4df43 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-10-23 18:58:36 +03:00
7a1b35dc88 Fix to bug #590, http://bugs.mariadb.com/show_bug.cgi?id=590
readwritesplit.c:execute_sescmd_in_backend didn't set GWBUF_TYPE_SESCMD type to GWBUF the command is in. Thus reply wasn't processed properly. Instead all replies were sent to client.
2014-10-23 18:56:27 +03:00
b5388956d8 Changed the order of linking in test_mysql_users and removed references to non-existing directories in test.inc 2014-10-23 15:24:59 +03:00
43e25be327 Update to users_delete bug 582 2014-10-22 17:07:00 +01:00
9bca7c33d5 Add Textile version of Config Guide (experiment) 2014-10-22 16:44:47 +01:00
62ad4337d4 Add asciidoc version (experimental) 2014-10-22 16:08:58 +01:00
64659f228c Add docbook version of Configuration Guide (experimental) 2014-10-22 15:54:25 +01:00
896b8db0e5 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-10-22 13:08:14 +03:00
1f6bc1bf12 Fixed a faulty replacement of the corporation name 2014-10-22 13:08:09 +03:00
7135d4ef78 Rename experimental Config Guide 2014-10-22 11:05:23 +01:00
da9d6946da Add Configuration Guide in Markdown form. 2014-10-22 11:02:36 +01:00
287bc90465 Fix to bug #585, http://bugs.mariadb.com/show_bug.cgi?id=585
buffer.c:gwbuf_make_contiguous: when new buffer is created, copy original buffer's type to new buffer
modutil.c:modutil_replace_SQL: when new bugger is added to GWBUF, copy original buffer's type to new buffer
In all filters, merge all buffers of GWBUF to one before calling modutil:extract_SQL
2014-10-21 21:13:21 +03:00
761de0ac8a Removed possible uninitialised pointer value
Removed possible uninitialised pointer value in host parsing for
wildcard
2014-10-21 17:51:11 +02:00
502c78de2b Add swp files 2014-10-21 15:30:32 +01:00
d065be4824 readwritesplit.c:get_dcb assumed thet get_root_master_bref always returns non-null pointer. Changed it so that get_dcb_returns if it doesn't get master bref pointer. 2014-10-20 22:41:10 +03:00
4daf255d60 Fixed use of uninitialized variable. 2014-10-20 13:20:53 +03:00
ebd92c8741 readwritesplit.c:routeQuery if target is master but it is found out when get_dcb returns that master DCB has changed, routeQuery fails and logs to trace that master changed. 2014-10-20 10:40:32 +03:00
319dd4b3e6 Fix for no db in change_user
Fix for no db in change_user
2014-10-20 09:01:13 +02:00
f735decd05 Merge pull request #59 from hholzgra/hartmut-cmake-uninstall
Feature request: added "make uninstall" target
2014-10-17 20:01:34 +03:00
0ca36e7b63 added "make uninstall" target as described in
http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
2014-10-17 16:41:02 +02:00
1ddca71b6a Merge pull request #58 from hholzgra/hartmut-cmake-bug-584
use ${CMAKE_BINARY_DIR} prefix for files generated by CMake
2014-10-17 16:51:38 +03:00
db7bc39c7c use ${CMAKE_BINARY_DIR} prefix for files generated by CMake
so that files are created in build dir and source dir is
never modified by building
2014-10-17 15:40:29 +02:00
bdff223607 Modify atomic_add to use built in GCC function where available. Correct comments. 2014-10-17 14:10:16 +01:00
e8758d3678 Fix problems in tests, fix issue in server.c (bug 581) 2014-10-17 10:57:17 +01:00
6041a7e12f Added server state information to trace log printing 2014-10-17 09:44:52 +03:00
0633dc568c Merge branch 'shm_log_fix' into develop 2014-10-15 21:57:53 +03:00
32575e3fc0 Merge branch 'develop' into shm_log_fix
Conflicts:
	log_manager/log_manager.cc
2014-10-15 21:26:03 +03:00
b35b269b37 Added support for git-doc 2014-10-15 14:59:24 +01:00
4acd85cf82 Add missing trim() call to the server list code for monitors 2014-10-15 13:26:00 +01:00
a63e251d09 Bug 431 - replace == with = 2014-10-15 13:03:12 +01:00
0cd97ea482 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-10-15 12:49:15 +01:00
fa278a2167 Bug 570 - memory manageing in hint parameters 2014-10-15 12:48:07 +01:00
1a59e1b188 Bug 559 - Remove password file before starting test_adminusers 2014-10-15 12:39:34 +01:00
87b14d973f Running testall target with CMake doesn't overwrite the existing MaxScale.cnf anymore. 2014-10-15 12:42:26 +03:00
9c49cd87b1 Fix to #571, http://bugs.mariadb.com/show_bug.cgi?id=571
In rwsplit router, merge multiple (query) buffers to one if necessary.
2014-10-15 11:25:17 +03:00
6de751cd83 Fixed CMake configuration error with -DEMBEDDED_LIB=<path to folder> causing the library not being found. 2014-10-14 19:44:41 +03:00
25bef90508 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-10-14 19:16:50 +03:00
56b82acb1b Fixed CMake builds overwriting MaxScale.cnf when installing after tests were built. 2014-10-14 19:15:59 +03:00
6707d6d0cf Complamentatry fix to that of #575.
resolve_maxscale_homedir returned always false due to succp variable which wasn't updated in successful case.
2014-10-14 18:13:04 +03:00
80e4d733bd MySQL authentication handles host wildcard
MySQL authentication now authenticate hosts from mysql.user table that
have wildcard:

current implementation is:

a.b.c.%
a.b.%.%
a.%.%.%
2014-10-14 15:43:37 +02:00
8f2d23444a Merge branch 'develop' into MAX-268 2014-10-14 15:40:30 +02:00
1954fddafb Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-10-14 12:22:16 +01:00
38fb8cb52d Changed bugs.skysql.com to bugs.mariadb.com in README. 2014-10-14 14:20:47 +03:00
9ed65759a2 Changed missed references of SkySQL, Gateway and old emails and URLs to new versions. 2014-10-14 14:14:10 +03:00
0ae522f1bd Memory leak in getUsers()
Memory leak in getUsers() when no users are loaded due to an error
2014-10-14 12:53:31 +02:00
2a0233aa30 Updated MaxScale version to 1.0.2 2014-10-14 13:49:33 +03:00
d9546357b8 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2014-10-14 13:48:18 +03:00
6237209bb2 Add tests 2014-10-14 11:47:13 +01:00