Markus Makela
da029140cd
dcb_call_foreach now only calls the callbacks for those DCBs that are connected to the server.
2015-02-18 05:36:39 +02:00
Markus Makela
ce063caf56
Fixed stopped monitors getting a call to monitorStop.
2015-02-17 21:47:11 +02:00
MassimilianoPinto
517524a8b4
Addition of DISCONNECT ALL and DISCONNECT SERVER
...
Addition of DISCONNECT ALL and DISCONNECT SERVER server_id
Added dbc_close in closeSession
Changed slave mode output display in diagnostics
2015-02-17 18:29:03 +01:00
Markus Makela
dc65c9e1cc
Fix to bug 729: http://bugs.mariadb.com/show_bug.cgi?id=729
...
Prepared statements with a SELECT statement were falsely detected as SELECT queries with session variable modification.
This caused the error message and the failure to route the query.
2015-02-17 18:29:24 +02:00
MassimilianoPinto
865cd82fee
Addition of slave port and username in diagnostics
...
Addition of slave port and username in diagnostics
2015-02-17 11:32:41 +01:00
Markus Makela
02e11b96b0
Changed references of dbshard into shardrouter in shardrouter.c
2015-02-17 12:14:48 +02:00
Markus Makela
a2bff1dcea
Merge branch 'develop' into MAX-324
2015-02-16 14:58:35 +02:00
Markus Makela
f54b57d987
Fixed modutil_replace_SQL not modifying the packet length when the replacement was shorter.
2015-02-16 12:10:48 +02:00
Mark Riddoch
9dfa4378b4
Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
2015-02-16 09:21:38 +00:00
Mark Riddoch
d7da8c5297
Code cleanup
2015-02-16 09:21:11 +00:00
Markus Makela
4e5c4c0b6a
Fix to bug 568: http://bugs.mariadb.com/show_bug.cgi?id=568
...
Changed strtok calls to strtok_r where needed.
2015-02-16 09:25:41 +02:00
Markus Makela
cd99d6c1dd
Fixes to Coverity defects 87073, 87388.
2015-02-16 09:11:55 +02:00
markus456
37360eb02e
Merge pull request #72 from hholzgra/hartmut-warnings-2nd
...
"Hartmut warnings 2nd" merged.
2015-02-15 20:26:09 +02:00
Hartmut Holzgraefe
eedcd44e95
wrong SPINLOCK type declaration (actual structure, not pointer, needed)
2015-02-14 16:51:03 +01:00
Hartmut Holzgraefe
617f44c9c9
use intptr_t type for pointer->integer conversion so that int <-> pointer sizes match
2015-02-14 16:39:05 +01:00
Markus Makela
cb35472133
Fixed wrong type of char pointer in strtok_r calls in fwfilter.c
2015-02-14 17:38:05 +02:00
Hartmut Holzgraefe
3ecf926092
prevent signed/unsigned conflicts
2015-02-14 15:34:11 +01:00
Markus Makela
3bad5dc814
Fixes to Coverity defects 87308, 87307, 87306, 87074, 87068.
2015-02-14 07:54:17 +02:00
Markus Makela
2477043d11
Logfiles are now writted to file instead of shared memory as a default.
...
This can still be enabled while starting maxscale.
2015-02-13 23:59:32 +02:00
Hartmut Holzgraefe
21613cb03d
fix comparison prototype to match qsort() expectation
2015-02-13 17:30:02 +01:00
Hartmut Holzgraefe
56ab0efbb3
include string.h for strdup() prototype
2015-02-13 17:06:47 +01:00
Hartmut Holzgraefe
c992b53750
include stdlib.h for malloc() prototype
2015-02-13 17:03:39 +01:00
Hartmut Holzgraefe
a3a7aae1d2
add missing return type for main()
2015-02-13 16:57:12 +01:00
Markus Makela
be995a1ac6
Changed strtok to strtok_r in fwfilter.c
2015-02-13 17:19:28 +02:00
Mark Riddoch
6d1a11637a
Fixed typo
2015-02-13 10:18:55 +00:00
Markus Makela
14c510abef
Added more doxygen documentation.
2015-02-13 10:18:54 +02:00
Markus Makela
4715582df2
Added more doxygen documentation to the firewall filter.
2015-02-13 08:42:31 +02:00
Markus Makela
d1c2895057
Small fix to how user is retrieved from all servers.
...
When the authentication was done using the user data from all servers and the set of servers contained a server in the Master state it was possible that some servers weren't queried for their users. This was fixed by adding a check for the parameter that enables this before looking for a master server.
2015-02-13 07:34:46 +02:00
Markus Makela
d91b6d375d
Added more documentation about functions and trace log output about users logging in with a default database.
2015-02-12 08:44:39 +02:00
Markus Makela
a5d7db65de
Added more error log output and fixed memory leaks.
2015-02-10 20:38:47 +02:00
Markus Makela
a0a7dcdcfe
Fixed shardrouter possibly missing responses from the subservices if the session wasn't ready.
2015-02-10 20:36:53 +02:00
Markus Makela
54eb3dd904
Fixed client hangups if the first response to a SHOW DATABASES query was sent too fast.
2015-02-10 16:07:50 +02:00
Markus Makela
36363b09a1
Added more debug logging and fixed the service resources being overwritted even though they were already allocated.
2015-02-10 14:28:49 +02:00
Mark Riddoch
01eafd92c8
Fixed two errors in show slave status output. Master_UUID was
...
showing the variable name rather than the value and
Master_SSL_Verify_Server_cert was missing
2015-02-10 10:00:02 +00:00
Markus Makela
d9139bb436
Added more tests for the dbshard router.
2015-02-10 10:49:54 +02:00
Mark Riddoch
eafdd43592
Add Master_Server_Id value to returned show slave status command
2015-02-10 08:36:31 +00:00
Mark Riddoch
faca6b6d76
Merge branch 'blr' into develop
2015-02-09 20:58:55 +00:00
Mark Riddoch
390df414df
Addition of doxygen comments
2015-02-09 20:56:50 +00:00
Mark Riddoch
b58e09cdb7
Addition of some extra log messages and seconds behind master calcuation
2015-02-09 20:50:23 +00:00
Mark Riddoch
0afbc4e503
Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
2015-02-09 16:07:30 +00:00
Mark Riddoch
958cc73176
Add support for SELECT @@server_id
2015-02-09 16:07:01 +00:00
Markus Makela
d455ec4c53
Added support for default databases.
2015-02-09 16:28:48 +02:00
Mark Riddoch
e3c8979ee1
Fix for missing statistics increment
2015-02-09 13:19:51 +00:00
Markus Makela
46ec9abe29
Added optional parameters for services that allow all servers to be used when building the list of users.
2015-02-09 07:19:13 +02:00
MassimilianoPinto
5ba2bf33e9
Fix Coverity defect 87079
...
Fix Coverity defect 87079
2015-02-07 11:02:39 +01:00
Markus Makela
7cf65adc6e
Added more trace log output about database changing and possible errors.
2015-02-07 00:04:13 +02:00
Markus Makela
0d4761ade8
Merge branch 'develop' into MAX-324
2015-02-06 23:27:59 +02:00
Markus Makela
6e3e4ef20a
Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
2015-02-06 23:00:27 +02:00
Markus Makela
46c0c70764
Fixed negative values from hashing functions causing segmentation faults.
2015-02-06 22:59:47 +02:00
Mark Riddoch
9d3b961c15
Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
2015-02-06 20:47:03 +00:00