Markus Mäkelä
7b1625d65f
MXS-3272: Ask password first
...
The interactive would give the prompt first before asking for the
password. By copying the code from common.js, the password is always asked
first.
2020-11-09 17:33:34 +02:00
Markus Mäkelä
46dab1e884
MXS-3259: Add default connection timeout
...
The connector never times out if one is not defined. This seems to help
make the mxs1985_kill_hang test a lot more stable.
2020-10-29 15:12:49 +02:00
Markus Mäkelä
ca1db89994
MXS-3259: Increase connection limits
...
Lowering max_connections to 10 prevented the test system itself from
connecting to it. The replication slaves count towards max_connections and
with up to 15 connections in the test, the limit should be higher.
2020-10-29 15:12:49 +02:00
Johan Wikman
d45eb051bf
MXS-3249 Remove spaces from object names
2020-10-27 16:09:41 +02:00
Johan Wikman
e522bce80f
MXS-3249 Fix mysqltest tests
...
To avouid failures caused by default MariaDB configuration files
containing entries incompatible with mysqltest, mysqltest is
invoked with the glah --no-defaults, which will cause it *not* to
read any configuration files.
2020-10-27 13:57:34 +02:00
Markus Mäkelä
aa5a63be14
Fix debug argument concatenation
...
The buffer was shorter than the arguments given to it which caused a heap
buffer overflow.
2020-10-23 10:53:26 +03:00
Markus Mäkelä
48ef9754df
MXS-3241: Check buffer length
...
The `is_set` call assumes that at least three characters are present.
2020-10-16 12:22:06 +03:00
DmitriyKarpovskiy1
8a5fd27327
Add the force flag for the mdbci destroy command ( #211 )
2020-10-08 15:25:21 +03:00
Markus Mäkelä
f922ddcc1c
MXS-3207: Document dbfwfilter user addresses
...
The fact that "partial" wildcards aren't supported wasn't clearly
documented.
2020-10-05 10:27:16 +03:00
Markus Mäkelä
6129f588a1
Don't parse COM_STMT_EXECUTE packets
...
The function information is only available for COM_QUERY packets.
2020-09-15 17:55:56 +03:00
Johan Wikman
5fccce5bb4
MXS-3177 Fix download link
2020-09-14 08:24:07 +03:00
Johan Wikman
537a9b41fc
MXS-3165 Fix cache documentation
...
The parameter is cache_in_transactions, not
cache_inside_transactions.
2020-09-09 11:01:52 +03:00
Timofey Turenko
edb215619d
Remove MAXSCALE_BUILD_NUMBER from debian version
2020-09-08 09:22:58 +03:00
Timofey Turenko
ea1d7ba33b
Fix CPACK_DEBIAN_PACKAGE_RELEASE field
2020-09-07 15:48:11 +03:00
Timofey Turenko
caaf36a279
Add MAXSCALE_BUILD_NUMBER to the debian/control version
2020-09-07 14:47:54 +03:00
Esa Korhonen
b210dcc4b8
Cleanup install_build_deps script
...
No longer installs pcre2, which is built from source later on.
CMake is only installed if a recent version (3.16) is not found.
Jansson install cannot be removed yet as the Avro build requires
it.
2020-09-01 10:41:15 +03:00
Markus Mäkelä
c8983886f2
Use TLS with the Connection class
...
This fixes the problem where an encrypted connection would not be created
even though the option for it was there. Also made it configurable outside
of the constructor to make it easier to use in tests.
2020-08-31 10:15:48 +03:00
Markus Mäkelä
724074a178
Update REST API tutorial
...
The relationship deletion in it was not done correctly.
2020-08-29 13:20:20 +03:00
Markus Mäkelä
63a050bd7a
MXS-3051: Show connection TLS cipher
...
This tells the user whether a session is using TLS or not. Currently, only
the client TLS cipher is shown in MaxCtrl as the backend ciphers require
additional formatting.
2020-08-28 12:16:17 +03:00
Markus Mäkelä
ebdb9655e6
MXS-3143: Route FOUND_ROWS to last used target
...
This will cause the query to be routed to the same server where a possible
SQL_CALC_FOUND_ROWS was executed.
2020-08-28 11:49:07 +03:00
Markus Mäkelä
24d6a582c2
MXS-3123: Use maxctrl in Administration Tutorial
...
As maxadmin is deprecated, it is better to use maxctrl for all commands
and remove any references to maxadmin.
2020-08-27 14:47:27 +03:00
Markus Mäkelä
4dd760aa9a
MXS-3131: Display monitor module in show monitor
2020-08-27 14:47:27 +03:00
Markus Mäkelä
dbe94e2dbe
MXS-3132: Fix monitor timeouts default values
...
The values are now what the documentation states they are.
2020-08-27 14:47:27 +03:00
Johan Wikman
23e0df314f
Fix bug471_big configuration
...
- No spaces in names.
- Consistently use ###server_line### for the list of servers
2020-08-25 11:56:19 +03:00
Esa Korhonen
eb46d755f4
MXS-3101 Remove unused routers from system test
2020-08-21 17:37:07 +03:00
Markus Mäkelä
e105f06ea3
Log latest session command on unexpected result
2020-08-21 09:50:29 +03:00
Esa Korhonen
87540f0ea0
MXS-3101 Improve proxy protocol header generation
...
Client connection file descriptor no longer read. The header now
contains the server's address instead of MaxScale's address.
2020-08-20 15:03:19 +03:00
Johan Wikman
606ae6d2b0
MXS-3121 Log stmt being classified in fatal signal handler
...
This will make it easier to fix classifier related crashes.
2020-08-20 13:32:24 +03:00
Johan Wikman
c5870cbaba
MXS-3121 Expose statement currently being classified
...
Intended to be used from fatal signal handlers. As the statement will
be returned only while classification is in process, if a statement
is returned, it is an indication that the crash was caused by the
classification.
2020-08-20 13:27:55 +03:00
Johan Wikman
bf6ff8a578
MXS-3120 Check whether sqlite SrcList is NULL
...
According to bug-report it seems that a SrcList can be NULL. This
fixes the immediate problem, but it would be good to know in what
contexts the SrcList can be NULL so that the check could be made
before calling the function instead of checking (possibly
unnecessarily at times) in the function.
2020-08-19 16:37:24 +03:00
Markus Mäkelä
b5fa26e8a6
MXS-3113: Log a message when log rotation is complete
...
This helps detect that writes to the new log file are working.
2020-08-19 12:15:25 +03:00
Markus Mäkelä
7b7cded1cc
MXS-3115: Don't process files in hidden directories
...
Hidden directories should be treated the same was as hidden files.
2020-08-19 12:15:25 +03:00
Timofey Turenko
e624cf4ecb
revert to original package names with dashes
2020-08-19 11:49:54 +03:00
Timofey Turenko
e387220e25
Add distro code name into debian/control version
...
'reprepro' tool needs different values in the
debina/control file, version field in order to
make one single repository for all distributions
2020-08-19 01:35:10 +03:00
Markus Mäkelä
9318319b96
Fix build failure with GCC 10.2
...
GCC is smart enough to detect that the address of a local variable is
returned. Since this appears to be code used for a debug assertion, we can
just return a null pointer.
2020-08-17 13:23:33 +03:00
Esa Korhonen
b31cb20bae
MXS-2900 Add parameter checking to tprintf-function
2020-08-13 22:43:03 +03:00
Timofey Turenko
5abdb91e9d
Fix openjdk installation check in install_test_build_deps.sh
2020-08-04 12:01:27 +03:00
Timofey Turenko
796fdf4e16
Remane apt_opt to apt_cmd and use it also in install_build_depend.sh
2020-07-29 14:51:32 +03:00
Timofey Turenko
4a53db9483
Fix apt comman line in install_test_build_deps.sh
2020-07-29 14:08:14 +03:00
Timofey Turenko
a83c1f3ab4
Add gnutls-dev to tests build dependecy
2020-07-29 13:35:12 +03:00
Esa Korhonen
08f5174915
MXS-2900 Rename maxscale-system-test directory to system-test
...
A link with the old directory name is provided.
2020-07-28 15:24:27 +03:00
Esa Korhonen
a253ec8117
MXS-2900 Rename more system tests
2020-07-27 18:49:36 +03:00
Niclas Antti
ffb237628c
fix GCC 10 warnings
2020-07-27 10:42:38 +03:00
Timofey Turenko
fa40845e0c
Use VM to run tests
...
In order to avoid host overloading, execution of tests moved also to VM.
VM uses MDBCI wrapper which sends all commands to the host
2020-07-24 14:39:35 +03:00
Markus Mäkelä
39aa129fc5
Fix narrowing conversion warnings on GCC 10.1
...
Using an unsigned value in a switch with signed case values produced the
error.
2020-07-24 14:23:14 +03:00
Esa Korhonen
f1a6bc37c3
MXS-2900 Rename system tests
...
Some of the tests have rather non-descriptive names.
2020-07-24 13:42:28 +03:00
Markus Mäkelä
aaec73a8c8
MXS-3089: Close backend on failed session command
...
This correctly triggers the session command response processing to accept
results from other servers than the current master backend if the session
can continue. If the session cannot continue, it will be stopped
immediately.
2020-07-23 09:26:53 +03:00
Markus Mäkelä
cf1d1178d7
MXS-3087: Fix diagnostic memory leaks
...
Fixed leak in load_utils.cc and the cache filter. Also changed all
instances of json_object_set with json_object_set_new to make sure it's
only used when the references are to be stolen.
2020-07-22 13:27:36 +03:00
Timofey Turenko
0e5163a3fb
Make test dependency install script Non-interactive
2020-07-16 16:10:02 +03:00
Markus Mäkelä
f2a837e2f1
Fix memory leak in throttlefilter
...
The filter would leak the buffer when it disconnects a client. This fixes
the throttlefilter test if it's run with ASAN or valgrind.
2020-07-15 15:35:12 +03:00