Commit Graph

909 Commits

Author SHA1 Message Date
a6ea56a153 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-04-16 10:26:00 +03:00
81af54730a Added missing test files for rwsplit router tests. 2014-04-16 10:25:32 +03:00
2fcc371606 Added back --skip-innodb to a call argument for libmysqld 2014-04-15 19:22:46 +03:00
b20ce05ee3 Merge branch 'develop'
Completion of fix to bug #418

http://bugs.skysql.com/show_bug.cgi?id=418
2014-04-15 14:36:43 +03:00
ac261a038c Merge branch 'master' of https://github.com/skysql/MaxScale 2014-04-15 14:35:32 +03:00
c994c81a0e Changed the way how autocommit is searched from parse tree. Switched to use typelib instead of explicitly converting and comparing user value. Added more tests for cases where user uses literal values in SET autocommit command. 2014-04-15 14:32:47 +03:00
e01cbd74ed Bug 409: dcb_final_free now frees dcb->delayq 2014-04-14 10:08:34 +02:00
a253da7b9c Bug 409: dcb_final_free now frees dcb->delayq
Bug 409: dcb_final_free now frees dcb->delayq
2014-04-14 10:06:00 +02:00
26c6c331fd Changed is_autocommit_stmt so that client character set can very and the value is compared to strings '0','1','off','on' which are converted to match with the cs of the client prior compare. 2014-04-11 20:02:43 +03:00
7b40c1ee70 Changed how MaxScale unit test works.
All tests are run by executing 'make testall' in root directory. As a result all directories which contain tests will be entered and tests executed.
After tests, each directory have a test log including the last run's logs only.
Created a global test log, which is specified in test.inc. Test logs from subdirectories are concatenated to this file.
2014-04-10 19:08:28 +03:00
b9a8f2ce65 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-04-10 17:11:45 +03:00
bbf1bc2afa Fix for bug #418
Increased skygw_query_type_t to 16 bits, and corrected the way how those bit fields are checked.
Added tests for cases where autocommit is disabled and corrected old tests.
2014-04-10 17:09:42 +03:00
2c17dc3edf Bug #418, added functions to query classifier to detect if SET autocommit is called.
Note: this compiles but doesn't work yet properly.
2014-04-09 23:43:03 +03:00
c86e25eeb8 Added a test for implicitly started trasnaction. 2014-04-07 17:00:31 +03:00
ce5dc19ecc Added read/write split router tests to a part of makefile structure. 2014-04-01 14:11:48 -07:00
c7b7b17e0d Added INC_PATH to README according to latest change in build_gateway.inc 2014-03-29 12:41:59 +02:00
5e3ec5b3c8 Added "--no-defaults" to arguments that are passed to mysql_library_init. It tells to embedded server not to use any external my.cnf configuration file. 2014-03-29 12:27:02 +02:00
f1acbc6926 build_gateway.inc didn't point to all header directories. Added one base directory for pre-processor. 2014-03-29 10:42:30 +02:00
4408d7095a Merge branch 'release-0.5' into develop 2014-03-28 17:14:20 +01:00
1c448fe1c9 Documentation updated
Documentation updated
2014-03-28 17:13:39 +01:00
956e2e1da5 branch updated 2014-03-28 17:11:48 +01:00
a5c7806999 develop updated, release 0.5 2014-03-28 17:05:46 +01:00
2cd8293e7a Merge branch 'release-0.5' of https://github.com/skysql/MaxScale into release-0.5 2014-03-28 17:03:30 +01:00
f57ceb97ad Update from 'release-0.5' 2014-03-28 16:29:27 +01:00
54d3baf1db Merge branch 'release-0.5' of https://github.com/skysql/MaxScale into release-0.5 2014-03-28 16:26:12 +01:00
1a4e1b5ef1 branch update
branch update
2014-03-28 16:26:06 +01:00
6f46742201 master update from 'release-0.5' 2014-03-28 16:21:10 +01:00
efebd27d31 Galera HA Connection Router
Example Galera Connection router for HA environments. Code produced as
part of router writers tutorial.
2014-03-28 14:48:21 +00:00
f544d0df3c Release Notes 0.5
MaxScale 0.5 alpha release notes
2014-03-28 14:46:38 +00:00
c64da13617 Removed preview from file name
Removed preview from file name
2014-03-28 15:40:12 +01:00
768c51f5bc Unix domain socket option
Unix domain socket option
2014-03-28 11:54:14 +01:00
3ffd4033bc Added socket and address options in Listener section
Added socket and address options in Listener section
2014-03-28 11:34:46 +01:00
02a34038ce Added socket and address options in Listener section
Added socket and address options in Listener section
2014-03-28 11:33:32 +01:00
8b23a59fb2 Merged new tests and fix in query classifier in develop into release-0.5.
Merge branch 'develop' into release-0.5
2014-03-28 00:22:43 +02:00
7c3a354fd8 Query classifier ignored implicit commits in cases of write commands. Fixed it.
Added more tests for transaction support. Mostly different cases where some command triggers implicit commit in the middle of transaction.
2014-03-28 00:16:18 +02:00
5c9f25cc2d Merge branch 'develop' into packaging 2014-03-27 19:16:35 +02:00
40b7ce6d43 Buffer for users' table SHA1 hash is set to zero before using it and strncopy used instead of snprintf
Buffer for users' table SHA1 hash is set to zero before using it and
strncopy used instead of snprintf
2014-03-27 17:19:10 +01:00
7cc693b572 Added stricter compile flags for debug build. Temporary solution since they will be added to all builds next.
Fixed strin formatting bugs in log_manager.cc .
2014-03-27 17:51:23 +02:00
9b1035751a Made rwsplit test select_for_var_set.sql generic so that master server's id is filled in test.inc. 2014-03-27 17:17:01 +02:00
88a964be65 Added examples and cleared out actual values to ensure that those need to be filled in before running tests. 2014-03-27 17:06:51 +02:00
e9d1f04bc6 Added test: set var @a via select @@server_id
Added test: set  var @a via select @@server_id
2014-03-27 11:45:47 +01:00
10fdccdeee Added two tests for testing readwrite split router's ability to route read to master if in active transaction and to slave when outside transaction. 2014-03-27 10:27:19 +02:00
75549c6a20 Added $(ROOT_PATH)/test.inc where test parameters can be added. For example, MaxScale port numbers, usernames, passwords. The file can be included in every */test/makefile so that all test directories can use same parameters if necessary.
Moved checking test results to rwsplit.sh so that tests can use easily different criterias to evaluate test success.
2014-03-27 10:06:31 +02:00
f380c707f9 In resolve_query_type type can be QUERY_TYPE_COMMIT even if lex->option_type is OPT_DEFAULT. 2014-03-26 22:33:57 +02:00
ee6489d9eb Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-03-26 19:16:18 +02:00
f49df89a0c Changed how query classifier determines which statements trigger implicit commit.
Changed test makefile and rwsplit.sh script and added two example sql scripts.
2014-03-26 19:10:35 +02:00
e194e941c5 Merge branch 'fix-375' into develop 2014-03-26 10:35:07 +01:00
b08c4271eb fix for bug 375 2014-03-26 10:31:53 +01:00
df02926321 Added structure which can be cloned for multiple test cases. 2014-03-25 23:19:24 +02:00
a137196de0 Added trace for spotting out commands which cause implicit commit before or after they are executed. 2014-03-25 11:41:46 +02:00