104e79a591Merge branch 'develop' into firewall
Markus Makela
2014-10-15 05:20:00 +03:00
6de751cd83Fixed CMake configuration error with -DEMBEDDED_LIB=<path to folder> causing the library not being found.
Markus Makela
2014-10-14 19:44:41 +03:00
56b82acb1bFixed CMake builds overwriting MaxScale.cnf when installing after tests were built.
Markus Makela
2014-10-14 19:15:59 +03:00
6707d6d0cfComplamentatry fix to that of #575. resolve_maxscale_homedir returned always false due to succp variable which wasn't updated in successful case.
VilhoRaatikka
2014-10-14 18:13:04 +03:00
fe0e7c74d0Resolve transition from catchup to follow mode.
Mark Riddoch
2014-10-14 11:43:08 +01:00
52e8b33422Added the ability to have a non-auto-flushing memlog. Flush is then a manual process. Useful for triggering the dumping of the circular buffer when an error is detected.
Mark Riddoch
2014-10-14 11:40:23 +01:00
726ab87f4bFix to #575, http://bugs.mariadb.com/show_bug.cgi?id=575 log_manager.cc: Log manager handles cases where there are mismatch in user privileges. Mark log files enabled in the global lm_enabled_logfiles_bitmask after initialization so that it reflects reality in error cases. In general, take into account the possibility that any phase in initialization may fail and read return values. Replaced file_exists_and_is_writable to check_file_and_path which has a slightly different logic and which detects if file open fails for a few different reasons. Improved logging (in stderr) in general in error cases.
VilhoRaatikka
2014-10-14 13:22:16 +03:00
0fc47efec3Added a debugging function that outputs debugging messages if DEBUG_OUTPUT=Y
Markus Makela
2014-10-14 12:42:40 +03:00
42f8e5cff9Merge branch 'develop' of github.com:skysql/MaxScale into develop
Mark Riddoch
2014-10-14 09:09:55 +01:00
915ce0aaa2Merge branch 'develop' into MAX-268
MassimilianoPinto
2014-10-14 10:01:23 +02:00
ff30e2f206Changed product name to MariaDB MaxScale in line with company renaming
Mark Riddoch
2014-10-13 17:53:07 +01:00
d645088645Added resources pointer to service
MassimilianoPinto
2014-10-13 18:18:30 +02:00
d335794715Added a 'buildtests' target that only builds the test version.
Markus Makela
2014-10-13 13:57:08 +03:00
9abe270da8added checking for where clause on queries
Markus Makela
2014-10-13 13:48:07 +03:00
7117eae2b2CMake will now properly create the log folder when installing.
Markus Makela
2014-10-13 12:12:40 +03:00
a2de3254d4Merge branch 'develop' into MAX-268
MassimilianoPinto
2014-10-13 10:55:00 +02:00
b15ebfe14aExtra line removed
MassimilianoPinto
2014-10-13 10:53:52 +02:00
fe20df3596Merged new query classifier tests and the filter harness testserver.c: commented out the code that referred to undefined variables testusers.c: changed server to user for the assert to make sense
Markus Makela
2014-10-09 15:46:04 +03:00
9a6b884ff9Merge branch 'query_classifier_test' into develop
Markus Makela
2014-10-09 15:36:40 +03:00
a2940a77b3Merge branch 'filter_harness' into develop
Markus Makela
2014-10-09 15:35:04 +03:00
637d5c57b3Merge branch 'develop' into filter_harness
Markus Makela
2014-10-09 15:34:20 +03:00
4bea21f464Merge branch 'develop' into query_classifier_test
Markus Makela
2014-10-09 15:34:10 +03:00
07fc5162a0Fix to bug #562, http://bugs.mariadb.com/show_bug.cgi?id=562 mysql_client.c, added functions create_auth_fail_str, and get_username_from_auth to implement creation of similar error msg with MySQL. There is one difference left, because MaxScale prints IP address instead of hostname in error message.
VilhoRaatikka
2014-10-07 18:00:22 +03:00
496343c272Add new tests
counterpoint
2014-10-07 15:47:21 +01:00
3cd8e29c4cChanged the way some CMake functions are used to support older versions of CMake.
Markus Makela
2014-10-07 14:09:22 +03:00
57ad30f105Fuller message in asserts.
counterpoint
2014-10-07 09:08:49 +01:00
194ebcb054Fix to bug 567(http://bugs.mariadb.com/show_bug.cgi?id=567) log_manager.cc: if the file exists, is a symbolic link and is not writable, the log manager does not fail but unlinks it and creates a new one.
Markus Makela
2014-10-06 15:13:18 +03:00
d123314292Merge branch 'develop' into query_classifier_test
Markus Makela
2014-10-06 14:04:32 +03:00
b5188a7643Merge branch 'develop' into filter_harness
Markus Makela
2014-10-06 14:04:23 +03:00
3d7c23cf0badded more test cases
Markus Makela
2014-10-06 14:03:13 +03:00
b03b886c3fadded independent testing of the hint filter
Markus Makela
2014-10-06 13:24:09 +03:00
569656660fReflect name change of SkySQL, CMake policy & branching
Mark Riddoch
2014-10-06 10:56:35 +01:00
aca8596efamysql_client.c:gw_client_close didn't close client session in cases where session->state == SESSION_STATE_STOPPING. That is a bug and lead to situation where session wasn't closed at all. Also changed 'authorization failed' to 'access denied' mysql_common.c: fixed memory leak in gw_receive_backend_auth, and replaced error code '2800' with '28000'. readconnroute.c:handleError didn't set *succp pointer so uninitialized value was used in caller's context. makefile.inc: added -lm to linker flags mysql_backend.c: added a few comments
VilhoRaatikka
2014-10-06 11:46:12 +03:00
68580af95fModifications to building
Markus Makela
2014-10-06 10:16:03 +03:00
1adc6ac5e8Merge remote-tracking branch 'origin/develop' into filter_harness
Markus Makela
2014-10-06 09:43:42 +03:00
524f693991Split the filter testing harness into two different versions, the interactive and command line tool.
Markus Makela
2014-10-06 09:41:21 +03:00
b22ab90d66Changed the way query classifier test is run. Now the test is a single executable, which should make it easier to use with CMake.
Markus Makela
2014-10-03 12:18:02 +03:00
7dc9cf78f6Change spinlock to use gcc atomic function when available; enhanced spinlock tests.
counterpoint
2014-09-30 16:08:51 +01:00
32d66e6f84Minor modifications for testing.
counterpoint
2014-09-26 17:20:46 +01:00
dbe078f358MySQL Authentication with wildcards in hosts
MassimilianoPinto
2014-10-03 17:26:41 +02:00
fdab88cbb6Added extra tests; tidied.
Martin Brampton
2014-09-26 09:49:05 +01:00
48489234beMerge branch 'develop' into MAX-268
MassimilianoPinto
2014-10-03 16:28:38 +02:00
8986a8042eAddition of averages for event queue pending events
Mark Riddoch
2014-10-03 14:35:19 +01:00
d5947a0922Add dlclose so that shared libraries get shutdown correctly
Mark Riddoch
2014-10-03 14:34:46 +01:00
fd1154b944Change of distribution mechanism to use fake events exclusively and avoid complex locking mechanism and blocking the master DCB eent processign thread
Mark Riddoch
2014-10-03 14:33:28 +01:00
d227409abcre-enabled the automatic detection of dependencies for packages.
Markus Makela
2014-10-03 15:07:23 +03:00