4507 Commits

Author SHA1 Message Date
Markus Makela
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
Markus Makela
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
Markus Makela
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
Markus Makela
93f10fdb7b Formatted query_classifier
Query_classifier formatted according to the style guide.
2015-12-02 13:36:51 +02:00
Markus Makela
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
Markus Makela
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
Markus Makela
91eba965fc Formatted readconnroute
Formatted readconnroute files according to the style guide.
2015-12-02 13:36:18 +02:00
MassimilianoPinto
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
counterpoint
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
Markus Makela
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
Markus Makela
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
MassimilianoPinto
1c1d4b205a Merge branch '1.2.1-binlog_router_trx' into develop 2015-12-01 09:37:47 +01:00
Johan Wikman
74bb291961 Reindent server/core/monitor.c 2015-12-01 09:40:07 +02:00
Johan Wikman
b2dd24ada3 Reindent server/core/utils.c 2015-12-01 09:32:31 +02:00
Johan Wikman
fbecf128dd Reindent server/core/users.c 2015-12-01 09:29:52 +02:00
Johan Wikman
8bbc3e8086 Reindent server/core/thread.c 2015-12-01 09:29:03 +02:00
Johan Wikman
a95be21266 Reindent of server/core/spinlock.c 2015-12-01 09:28:19 +02:00
Johan Wikman
15df33a93f Reindent server/core/session.c 2015-12-01 09:26:26 +02:00
Johan Wikman
8601068dc2 Reindent server/core/service.c 2015-11-30 21:25:10 +02:00
MassimilianoPinto
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
Johan Wikman
ed06d4f14c Reindent server/core/server.c 2015-11-30 19:47:29 +02:00
Markus Makela
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
Johan Wikman
0aa38cad4c Reindented server/core/resultset.c 2015-11-30 18:58:43 +02:00
Johan Wikman
6c401b9085 Reindent server/core/poll.c 2015-11-30 18:57:19 +02:00
Johan Wikman
c0615408aa Reindented server/core/modutil.c 2015-11-30 18:53:42 +02:00
Johan Wikman
17eb80072f Reindent server/core/secrets.c 2015-11-30 18:48:14 +02:00
Johan Wikman
233f50f3e6 Reindent server/core/random_jkiss.c 2015-11-30 16:04:18 +02:00
Johan Wikman
72dd159f98 Reindented server/core/memlog.c 2015-11-30 15:18:51 +02:00
Johan Wikman
60fb05ea40 Reindented server/core/load_utils.c 2015-11-30 15:17:36 +02:00
Johan Wikman
3189a47fc5 Reindented server/core/housekeeper.c 2015-11-30 15:16:44 +02:00
Johan Wikman
486f724dc1 Reindented server/core/hint.c 2015-11-30 14:10:15 +02:00
Johan Wikman
255a5b53c1 Reindented server/core/hashtable.c 2015-11-30 13:54:46 +02:00
Johan Wikman
26d1cf0c1f Reindented server/core/gw_utils.c 2015-11-30 13:53:52 +02:00
Johan Wikman
d2aebe2bf0 Reindented server/core/gwdirs.c 2015-11-30 13:42:44 +02:00
Johan Wikman
9482ccb8c6 Reindented server/core/gwbitmask.c 2015-11-30 13:41:32 +02:00
Johan Wikman
ecb5ae528c Reindented server/core/gateway.c 2015-11-30 13:40:56 +02:00
Johan Wikman
20c4a0aa67 Reindented server/core/filter.c 2015-11-30 13:40:11 +02:00
Johan Wikman
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
Johan Wikman
2afe60dd0e Reindent server/core/dcb.c 2015-11-30 12:42:13 +02:00
Johan Wikman
17760bb3e6 Reindent server/core/buffer.c 2015-11-30 12:38:53 +02:00
Markus Makela
73e2d9950c Changed tabs to spaces in dbusers.c
Some tabs were missed when formatting dbuser.c
2015-11-30 12:31:47 +02:00
Markus Makela
275580d6a8 Formatted dbusers.c according to the style guide
Fixed indentation, missing/misaligned brackets and made sure line length is
kept as close to 80 characters as possible.
2015-11-30 11:50:37 +02:00
Markus Makela
ac174437f3 Master/slave bits now handled in one place
The master and slave bits were previously set in more then one place.
This spread out the handling of those status bits and now all replication
related bits are set in one place.
2015-11-30 11:50:36 +02:00
Markus Makela
609ed62a69 Fixed galeramon not setting server status for downed servers
If galeramon isn't able to connect to a Galera node, the server state is left
unaltered. This will cause servers that lose connectivity to be in RUNNING|JOINED
state which causes them to be assigned with the SLAVE status. For servers that are
never accessible, the state will be RUNNING.
2015-11-30 11:50:36 +02:00
MassimilianoPinto
592e4d06cb Changed name for bad fd
Changed name for bad fd
2015-11-30 10:22:47 +01:00
MassimilianoPinto
ba135c5548 Log messages fix with slave ip:port and id
Log messages fix with slave ip:port and id
2015-11-30 10:22:12 +01:00
Markus Makela
7f97a91e02 Fixed internal test config
The internal test config referred to a non-existent data directory when the
actual build directory should have been used.
2015-11-30 11:20:27 +02:00
Johan Wikman
c71610d7d4 Rename error.log to maxscale.log
Since there is but one log file where error, warning, notice, info
and debug messages are written, calling it "error.log" is misleading.
Consequently the log file is renamed to "maxscale.log".
2015-11-30 11:10:36 +02:00
Johan Wikman
f6e8662933 Reindent server/core/adminusers.c 2015-11-30 10:56:38 +02:00
Johan Wikman
6f737d9484 Reindent server/core/atomic.c 2015-11-30 10:56:38 +02:00