Johan Wikman
d632c195ff
2.4.19 Update change date
2022-01-04 15:47:38 +02:00
Johan Wikman
2a54224927
2.4.18 Update change date
2021-10-29 08:29:51 +03:00
Johan Wikman
a8bfbbe254
2.4.17 Update change date
2021-03-08 09:03:02 +02:00
Johan Wikman
0224f24077
2.4.16 Update Change Date
2021-02-16 14:59:00 +02:00
Johan Wikman
c5bcf7a8b1
2.4.15 Update change date
2021-01-18 15:30:30 +02:00
Johan Wikman
df36ef86d0
2.4.14 Update Change Date
2020-11-16 14:23:26 +02:00
Johan Wikman
faaf7f483e
2.4.13 Update Change Date
2020-10-14 09:15:46 +03:00
Johan Wikman
babcda3eca
2.4.12 Update Change Date
2020-08-24 09:42:48 +03:00
Johan Wikman
fc9c9fcd77
2.4.11 Update change date
2020-07-07 10:01:38 +03:00
Johan Wikman
5ebae9be90
Merge branch '2.3' into 2.4
2020-06-05 09:36:24 +03:00
Johan Wikman
aa11c960b1
2.3.20 Update change date
2020-06-05 09:31:45 +03:00
Markus Mäkelä
d3d7054639
Merge branch '2.3' into 2.4
2020-04-24 16:09:20 +03:00
Johan Wikman
f527a8f2e6
2.3.19 Update Change Date
2020-04-23 14:23:57 +03:00
Johan Wikman
d0ab797938
Merge branch '2.3' into 2.4
2020-03-12 10:33:57 +02:00
Johan Wikman
e0cd6adb26
Update change date for 2.3.18
2020-03-10 10:45:47 +02:00
Johan Wikman
8b763fb88b
Merge branch '2.3' into 2.4
2020-02-12 08:27:48 +02:00
Johan Wikman
cfb3f79b54
Update 2.3.17 Change Date
2020-02-10 15:28:38 +02:00
Johan Wikman
a7e0142224
Merge branch '2.3' into 2.4
2020-01-15 11:29:37 +02:00
Johan Wikman
790d90f229
Update 2.3.16 Change Date
2020-01-15 11:08:51 +02:00
Johan Wikman
a9a2b753c0
Update 2.4.5 change date
2019-12-18 13:25:03 +02:00
Johan Wikman
f6731a898d
Update change date
2019-11-13 08:37:17 +02:00
Johan Wikman
fdfbf3e133
Update 2.4.3 change date
2019-11-05 12:21:00 +02:00
Johan Wikman
861e27eb00
Merge branch '2.3' into 2.4
2019-10-29 14:04:31 +02:00
Johan Wikman
df6c56e7ca
Update 2.3.13 Change Date
2019-10-29 12:51:31 +02:00
Johan Wikman
0ba779d5a2
Update 2.4.0 Change Date
2019-06-25 10:11:55 +03:00
Markus Mäkelä
b4e8f79c5f
Format core sources again
...
Formatted with nl_func_type_name and related options set to ignore. This
keeps the formatting intact for long return types in declarations and
definitions.
2019-05-10 09:21:52 +03:00
Markus Mäkelä
40d73948a9
MXS-1662: Move mxs_crypt into utils
...
Moved the mxs_crypt function into utils and renamed to mxs::crypt (no C
code used it).
2019-04-05 00:42:00 +03:00
Markus Mäkelä
cb957200c9
MXS-1951: Detect SO_REUSEPORT support
...
The support for SO_REUSEPORT is now detected at runtime.
2019-03-28 16:34:12 +02:00
Markus Mäkelä
ac0a3d1d47
Extend string helper functions
...
Moved mxs::strtok into mxb namespace and added mxb::join for joining
objects into strings.
2019-03-28 13:21:23 +02:00
Esa Korhonen
3b55893a20
Combine maxscale/buffer.h with maxscale/buffer.hh
2019-01-17 12:37:40 +02:00
Johan Wikman
1b5b789342
MXS-2208 Move trim-functions from maxscale to maxbase
...
log.h now includes string.hh, which is conceptually wrong, but
log.h will shortly disappear and be superceded by log.hh.
2018-12-10 12:50:07 +02:00
Esa Korhonen
a1e1ac0012
Move string_printf to maxbase
...
Can be used in tests.
2018-11-29 12:21:40 +02:00
Markus Mäkelä
75ea1b6ea1
Fix formatting of new(std::nothrow)
...
The code previously formatted everything as `new( std::nothrow)`.
2018-10-04 21:50:44 +03:00
Markus Mäkelä
8b9fdaa0cb
Remove HTTP functionality
...
It wasn't used so it can be removed.
2018-10-03 08:41:45 +03:00
Niclas Antti
c447e5cf15
Uncrustify maxscale
...
See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
2018-09-09 22:26:19 +03:00
Markus Mäkelä
a6bef0a80d
Add credentials for remove REST API calls
...
The base URL and credentials used for REST API calls can now be defined in
the [maxscale] section. This allows encrypted passwords to be used.
2018-08-23 15:46:46 +03:00
Markus Mäkelä
f8fb9510c9
Add HTTP GET function
...
The function performs a HTTP GET on a URL and returns the HTTP response.
2018-08-23 15:46:45 +03:00
Niclas Antti
24ab3c099c
Move top of the file "#pragma once" to after the following comment (swap them). If the comment is a BPL update it to the latest one
2018-08-21 13:13:15 +03:00
Markus Mäkelä
02ed338afa
Remove mxs::Closer<json_t*>
...
As std::unique_ptr can now be used with a json_t, there's no need for the
closer.
2018-08-20 13:57:00 +03:00
Johan Wikman
f14380243b
Rename cppdefs.hh to ccdefs.hh
...
For obvious reasons; the c++ suffix is .cc and not .cpp
2018-08-10 07:50:18 +03:00
Esa Korhonen
862ae099b0
Construct diagnostics results in the monitor thread
...
MariaDBMonitor diagnostics printing is unsafe as some of the read
fields are arrays. To be on the safe side, the fields are now read
in the monitor worker thread.
Since diagnostics must work even for stopped monitors, a worker task
is used. In practice, it usually runs when the monitor is sleeping.
2018-07-20 10:18:58 +03:00
Markus Mäkelä
7f67fe6f14
Add string tokenization helper
...
The mxs::strtok function splits a string into a vector of strings based on
a set of delimiters. The function makes it easier to iterate over a set of
values given as a delimited string.
2018-07-11 14:08:52 +03:00
Markus Mäkelä
77a1417479
Replace TR1 headers with standard headers
...
Now that the C++11 standard is the default one, we can remove the TR1
headers and classes.
2018-07-11 14:08:46 +03:00
Johan Wikman
cc0299aee6
Update change date of 2.3
2018-06-25 10:07:52 +03:00
Markus Mäkelä
445eece95b
MXS-1507: Fix replaying of empty transactions
...
If the starting of a transaction was interrupted by a server failure, the
query needs to be retried. This needs to be done as a transaction replay
to keep the routing logic consistent and simple.
When a non-autocommit transaction is interrupted, there will be no query
in progress and no replaying is needed. To handle this case, the replay
initialization logic needed to be altered to treat truly empty
transactions as a success case.
2018-06-04 19:26:36 +03:00
Esa Korhonen
a2cd4feeaf
Store server states as 64-bit to the monitor journal
...
The journal schema version was changed.
2018-05-24 11:35:34 +03:00
Johan Wikman
498572c671
MXS-1775 Add mxs::[l|r]trimmed_copy(const std::string&)
...
Make it more convenient to get a left-trimmed, right-trimmed
or trimmed copy of a string.
2018-05-22 16:18:17 +03:00
Johan Wikman
0f8bf9b6e2
Implement mxs::[l|r]trim(std::string&);
...
Also remove the non-used implementation in httprequest.cc
2018-05-21 10:18:42 +03:00
Markus Mäkelä
92e0b944a9
MXS-1810: Create reset method for Checksum
...
Resetting checksum calculations avoids some unnecessary calculations when
the result is not needed.
2018-04-26 13:44:24 +03:00
Markus Mäkelä
bb96c368c2
MXS-1810: Create generic Checksum class
...
The Checksum class defines an interface which the SHA1Checksum and
CRC32Checksum implement.
Added test unit test cases to verify that the checksums work and perform
as expected.
2018-04-26 13:44:23 +03:00