1529 Commits

Author SHA1 Message Date
VilhoRaatikka
f0b358bea6 Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh 2014-09-17 11:49:39 +03:00
Mark Riddoch
c77807971d Merge branch 'release-1.0beta-refresh' of github.com:skysql/MaxScale into release-1.0beta-refresh 2014-09-16 16:53:06 +01:00
MassimilianoPinto
3b452b4745 Documentation file names change
Documentation file names change
2014-09-16 17:12:24 +02:00
VilhoRaatikka
48c25155f5 Completion to fix for http://bugs.skysql.com/show_bug.cgi?id=547
server.h:added macro SERVER_IS_ROOT_MASTER for finding valid candidate for root master
readwritesplit.c: wrote open three if conditions in get_root_master_bref for clarity
2014-09-16 14:49:04 +03:00
Mark Riddoch
f3d32087d8 Performance improvement or streaming large result sets.
-bash-4.1$ time mysql -h 127.0.0.1 -P4007 -umassi -pmassi information_schema -q -e "select * from engines a, engines b, engines c, engines d, engines e;" > /dev/null

real	1m16.137s
user	0m0.660s
sys	0m0.392s
-bash-4.1$ time mysql -h 127.0.0.1 -P4007 -umassi -pmassi information_schema -q -e "select * from engines a, engines b, engines c, engines d, engines e;" > /dev/null

real	0m0.980s
user	0m0.944s
sys	0m0.027s
2014-09-16 12:37:57 +01:00
VilhoRaatikka
7300e58787 Fix to #547, http://bugs.skysql.com/show_bug.cgi?id=547
readwritesplit.c:get_dcb now searches for master if slave is not available
2014-09-16 12:11:08 +03:00
VilhoRaatikka
3dc44ff6fd Fix to bug #544, http://bugs.skysql.com/show_bug.cgi?id=544
Changes to readwritesplit router.
2014-09-15 21:03:11 +03:00
VilhoRaatikka
213a2dba9e Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh 2014-09-15 19:11:39 +03:00
VilhoRaatikka
a41a8d6060 Fix to bug #543, http://bugs.skysql.com/show_bug.cgi?id=543
All counters are now updated in routeQuery
Fix to bug #545, http://bugs.skysql.com/show_bug.cgi?id=545
All sql variable and session modification statements, such as autocommit-, and set <db> commands are routed to all nodes.
2014-09-15 19:01:04 +03:00
Mark Riddoch
dc6db1d3d4 Merge branch 'release-1.0beta-refresh' of github.com:skysql/MaxScale into release-1.0beta-refresh 2014-09-15 14:53:42 +01:00
MassimilianoPinto
4e88833d3e Fixed memory leak in getUsers bug 439
Fixed memory leak in getUsers bug 439
2014-09-15 15:53:09 +02:00
Mark Riddoch
d5e2410fe6 Fix for zero wieght in readconnrouter 2014-09-15 14:53:08 +01:00
Mark Riddoch
7225804c42 Add vi swap files 2014-09-15 13:23:58 +01:00
Mark Riddoch
c8fc5b712b Merge branch 'hholzgra-hartmut-gitignore' into release-1.0beta-refresh 2014-09-15 13:22:46 +01:00
Mark Riddoch
3cd5013251 Merge branch 'hartmut-gitignore' of https://github.com/hholzgra/MaxScale into hholzgra-hartmut-gitignore 2014-09-15 13:21:56 +01:00
VilhoRaatikka
5343e77372 Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh 2014-09-15 13:40:28 +03:00
VilhoRaatikka
68f8e32f58 Added physical log paths to message which is printed on the start screen. Refers to bug #506, http://bugs.skysql.com/show_bug.cgi?id=506 2014-09-15 13:38:47 +03:00
Mark Riddoch
fb4f74ed61 Changed SPINLOCK_PROFILE back to #if so that defining SPINLOC_PROFILE 0 turns
off the profilign of spinlocks
2014-09-15 09:38:58 +01:00
VilhoRaatikka
bc320d1514 Cannot compile 2014-09-15 11:09:12 +03:00
VilhoRaatikka
c6384f2bcc Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh 2014-09-15 10:35:44 +03:00
VilhoRaatikka
c7bf6b66bf Fix to #492, http://bugs.skysql.com/show_bug.cgi?id=492
Added comments
2014-09-15 10:34:42 +03:00
Mark Riddoch
066b58afb0 Turn off spinlock profiling 2014-09-15 08:05:47 +01:00
VilhoRaatikka
c2847c7ddb Clean up. 2014-09-14 10:17:09 +03:00
VilhoRaatikka
8e5d852dde Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh 2014-09-13 21:29:36 +03:00
VilhoRaatikka
2012dfdd35 Fix to bug #541, http://bugs.skysql.com/show_bug.cgi?id=541
Long ~0.5MB queries blocked MaxScale.
mysql_client.c:gw_read_client_event: Fixed packet reading logic. Reading didn't work when packet exceeded read buffer size.
mysql_common.c:gw_MySQL_get_next_packet: number of bytes to be copied to continuous buffer was calculated wrong, thus resulting in broken packet.
readwritesplit.c:disabled creation of canonical query in debug build because it slows down the processing too much with long queries
2014-09-13 21:16:44 +03:00
Mark Riddoch
9fd7facaa7 Merge branch 'release-1.0beta-refresh' of github.com:skysql/MaxScale into release-1.0beta-refresh 2014-09-12 17:33:06 +01:00
Mark Riddoch
440f88491b Fixed missue \n in list servers command 2014-09-12 17:32:31 +01:00
MassimilianoPinto
7b115fed2b merge branch MAX-252 for bug-524
merge branch MAX-252 for bug-524
2014-09-12 17:41:37 +02:00
MassimilianoPinto
acdc2968c7 Added LogFile entry for failed match
Added LogFile entry for failed match
2014-09-12 17:34:13 +02:00
MassimilianoPinto
7108add6f5 code cleanup localhost_match_wildcard_host
code cleanup for localhost_match_wildcard_host
2014-09-12 17:21:34 +02:00
VilhoRaatikka
d8d8232f9a Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh 2014-09-12 18:13:09 +03:00
VilhoRaatikka
5a28a73fcb gwbuf_append's return value wasn't read in gw_read_client_event 2014-09-12 18:10:42 +03:00
Mark Riddoch
46c4808c79 Bug 494 - remove error log report for missing servers for debugcli and cli router 2014-09-12 15:45:10 +01:00
Mark Riddoch
bfa92e6776 Merge branch 'release-1.0beta-refresh' of github.com:skysql/MaxScale into release-1.0beta-refresh 2014-09-12 15:31:01 +01:00
Mark Riddoch
3dcecc2d77 Fix for bug 539 2014-09-12 15:29:48 +01:00
MassimilianoPinto
8818f23176 Added localhost_match_wildcard_host parameter
Added localhost_match_wildcard_host parameter to service
2014-09-12 16:24:55 +02:00
MassimilianoPinto
3bb614d9eb brand release-1.0beta-refresh merged
brand release-1.0beta-refresh merged
2014-09-12 16:00:36 +02:00
MassimilianoPinto
ffc7e7aa10 Fix for server_string memory leak
Fix for server_string memory leak
2014-09-12 15:36:22 +02:00
Mark Riddoch
7069ee2549 Added checks to determine if servers in the servers= lists for services and
monitors exist in the configuration file.
2014-09-12 12:16:39 +01:00
VilhoRaatikka
e618adb930 Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh 2014-09-12 14:11:29 +03:00
Mark Riddoch
d1b4852d29 Addition of server "Auth Error" status 2014-09-12 08:55:32 +01:00
Mark Riddoch
aa41e6e2b7 Merge branch 'release-1.0beta' into release-1.0beta-refresh 2014-09-12 07:52:10 +01:00
Mark Riddoch
231b146645 Fix memory leak in filter support 2014-09-12 07:50:01 +01:00
VilhoRaatikka
30c52677b0 buffer.c:gwbuf_consume: rval may also be NULL, thus, added that to assert condition. 2014-09-11 15:27:31 +03:00
MassimilianoPinto
0a468a910b Makefile modifications
Makefile modifications
2014-09-11 13:10:02 +02:00
MassimilianoPinto
8b5b4a17fe Merge from Z3
Merge from Z3
2014-09-11 12:51:16 +02:00
MassimilianoPinto
7245d1baa1 blr branch merge
blr branch merge
2014-09-11 12:20:42 +02:00
MassimilianoPinto
190c05da5f Merge branch 'develop' into release-1.0beta-refresh 2014-09-11 12:17:29 +02:00
Mark Riddoch
27e0ccd641 Fix for bug 447 - Error log flooded with same warnings if there are no slaves present 2014-09-11 11:03:53 +01:00
VilhoRaatikka
1154b25bff Fixed typo which made use_sql_variables_in paramter ineffective. 2014-09-10 21:20:12 +03:00