64fe629252
Fixed SHOW SLAVE STATUS showing obsolete slaves
...
If SHOW SLAVE STATUS was executed after DISCONNECT ALL it was possible that
some of the disconnected slaves were used when printing slave hosts.
2015-12-09 19:09:29 +02:00
80df75757c
Slaves are set to unregistered state once disconnected
...
It was possible that the same slave was disconnected multiple times
before the slave DCB was closed.
2015-12-09 19:09:29 +02:00
257c6a3641
Replaced explicit closeSession calls with dcb_close
...
The closeSession entry point shouldn't be called directly and dcb_close
should be used instead.
2015-12-09 19:09:29 +02:00
33a647344e
Fix to MXS-500: Statement cloning is now properly handled
...
If a statement wasn't cloned for the Tee filter, the session would be closed
leading to a possible hang. Instead of closing the session when a statement
isn't cloned, it should not expect a response from that server for that statement.
2015-12-09 12:02:35 +02:00
2f840ea089
Added newlines at the end of all files
...
Some files were missing newlines as the last character in the file, causing
errors to appear on some systems.
2015-12-07 20:23:18 +02:00
689ef73705
Fixed function prototype in maxadmin
...
The DoUsage function had a difference between the prototype and the real signature.
2015-12-07 17:18:03 +02:00
4b625567d3
Ensure that calculated length is an integer.
2015-12-07 15:19:34 +02:00
b8cbc4e3ae
Fix set_user prototype.
2015-12-07 14:15:14 +02:00
436bf0fc47
Fixed spelling mistake in usage output.
...
Path was spelled as apth.
2015-12-04 12:37:01 +02:00
5d7b815f6b
Added binlogrouter documentation
...
The binlogrouter now has its own document in the Routers folder.
2015-12-03 17:10:46 +02:00
03b0f87257
Added MaxScale version numbers into the CMake cache
...
This will allow custom version numbers without modifying the source code.
2015-12-03 16:16:56 +02:00
5fc4f4913b
Removed dpkg-shlibdeps part from DEB package building
...
The dpkg-shlibdebs was causing the Debian based systems to fail when the package
was being made. This makes the package builds work again.
2015-12-03 15:00:18 +02:00
d6afe70c6f
Fix to MXS-323: Routers properly handle client DCB errors
...
All routers now detect if a client DCB is passed to handleError and
take the appropriate action.
2015-12-02 18:01:14 +02:00
93f10fdb7b
Formatted query_classifier
...
Query_classifier formatted according to the style guide.
2015-12-02 13:36:51 +02:00
9da0c206bb
Added missing brackets
...
Some curly braces were missing from readconnroute and some function declarations
were misaligned.
2015-12-02 13:36:18 +02:00
45abfeec2c
Fix to MXS-494: Fixed readconnroute weight calculation
...
The calculation of weights used the actual amount of connections instead of
actual amount of connections + 1. This lead to the weight being effectively
ignored for servers with no connections.
2015-12-02 13:36:18 +02:00
91eba965fc
Formatted readconnroute
...
Formatted readconnroute files according to the style guide.
2015-12-02 13:36:18 +02:00
7119ed817d
Transaction safety default is off in binlog router
...
Transaction safety default is off in binlog router
2015-12-02 11:18:12 +01:00
d054cb1595
Correct logic errors in bitmask_set and extend initial/increment size to reduce likelihood of any risk of realloc failure.
2015-12-01 15:16:12 +00:00
5410f08578
Moved peristent connection parameters to the right section
...
The parameter documentation was in the listener section instead of the server
section.
2015-12-01 12:22:47 +02:00
2e127ef38e
Fix to MXS-429: Missing parameter no longer causes a crash
...
If a server is missing a weighting parameter the default weight will be used.
2015-12-01 12:22:47 +02:00
1c1d4b205a
Merge branch '1.2.1-binlog_router_trx' into develop
2015-12-01 09:37:47 +01:00
74bb291961
Reindent server/core/monitor.c
2015-12-01 09:40:07 +02:00
b2dd24ada3
Reindent server/core/utils.c
2015-12-01 09:32:31 +02:00
fbecf128dd
Reindent server/core/users.c
2015-12-01 09:29:52 +02:00
8bbc3e8086
Reindent server/core/thread.c
2015-12-01 09:29:03 +02:00
a95be21266
Reindent of server/core/spinlock.c
2015-12-01 09:28:19 +02:00
15df33a93f
Reindent server/core/session.c
2015-12-01 09:26:26 +02:00
8601068dc2
Reindent server/core/service.c
2015-11-30 21:25:10 +02:00
6367ac7148
Changed log level for up to date transition
...
Changed log level for up to date transition
2015-11-30 19:23:36 +01:00
ed06d4f14c
Reindent server/core/server.c
2015-11-30 19:47:29 +02:00
02da87f737
Fix to MXS-439: Weightby value of 0 no longer causes a crash
...
A weightby parameter with a value of 0 no longer causes SIGFPE and the
invalid weight value is set to the correct value of 1.
2015-11-30 19:06:04 +02:00
0aa38cad4c
Reindented server/core/resultset.c
2015-11-30 18:58:43 +02:00
6c401b9085
Reindent server/core/poll.c
2015-11-30 18:57:19 +02:00
c0615408aa
Reindented server/core/modutil.c
2015-11-30 18:53:42 +02:00
17eb80072f
Reindent server/core/secrets.c
2015-11-30 18:48:14 +02:00
233f50f3e6
Reindent server/core/random_jkiss.c
2015-11-30 16:04:18 +02:00
72dd159f98
Reindented server/core/memlog.c
2015-11-30 15:18:51 +02:00
60fb05ea40
Reindented server/core/load_utils.c
2015-11-30 15:17:36 +02:00
3189a47fc5
Reindented server/core/housekeeper.c
2015-11-30 15:16:44 +02:00
486f724dc1
Reindented server/core/hint.c
2015-11-30 14:10:15 +02:00
255a5b53c1
Reindented server/core/hashtable.c
2015-11-30 13:54:46 +02:00
26d1cf0c1f
Reindented server/core/gw_utils.c
2015-11-30 13:53:52 +02:00
d2aebe2bf0
Reindented server/core/gwdirs.c
2015-11-30 13:42:44 +02:00
9482ccb8c6
Reindented server/core/gwbitmask.c
2015-11-30 13:41:32 +02:00
ecb5ae528c
Reindented server/core/gateway.c
2015-11-30 13:40:56 +02:00
20c4a0aa67
Reindented server/core/filter.c
2015-11-30 13:40:11 +02:00
bd94d8967a
Reindented server/core/externcmd.[c|h]
...
Reindented server/core/externcmd.[c|h] and added copyright
message.
2015-11-30 12:42:49 +02:00
2afe60dd0e
Reindent server/core/dcb.c
2015-11-30 12:42:13 +02:00
17760bb3e6
Reindent server/core/buffer.c
2015-11-30 12:38:53 +02:00