897 Commits

Author SHA1 Message Date
VilhoRaatikka
f9db3bc129 Fix to bug #438 http://bugs.skysql.com/show_bug.cgi?id=438
Fixed some compiler warnings, added header includes, return values etc.
2014-05-27 10:08:17 +03:00
MassimilianoPinto
7319859a48 Log message update
Log message update
2014-05-26 17:34:55 +02:00
MassimilianoPinto
2c306409b6 newline removed
newline removed
2014-05-26 17:30:36 +02:00
VilhoRaatikka
c2e85df66f Added logging to place where authentication with backend fails and the reason is unknown. 2014-05-24 00:04:15 +03:00
VilhoRaatikka
4f1233ecc7 Added SESSION_STATE_ROUTER_READY to server/core/session.c:session_state so that state will be printed correctly as well instead of "Invalid state". 2014-05-22 22:27:08 +03:00
Mark Riddoch
719a5015f5 Merge pull request #3 from hholzgra/bugzilla-431
"==" is a bash-only operator not known to pure posix shells,
2014-05-22 08:42:56 +01:00
Mark Riddoch
a4e7074f3e Merge pull request #2 from hholzgra/bugzilla-435
SQL comments require whitespace between "--" and comment text
2014-05-22 08:39:35 +01:00
VilhoRaatikka
23956d737b Changed bash-related comparison equality operator '==' to generic '=' 2014-05-21 22:10:40 +03:00
VilhoRaatikka
77299fea2e Added space character between '--' and comment text in sql scripts. 2014-05-21 22:05:13 +03:00
Hartmut Holzgraefe
10dcda4827 "==" is a bash-only operator not known to pure posix shells,
and in the context it's used in here it is the same as "=" anyway
2014-05-21 19:25:21 +02:00
Hartmut Holzgraefe
d0aeeb13cc SQL comments require whitespace between "--" and comment text 2014-05-21 18:46:56 +02:00
VilhoRaatikka
aa6dd6cc4a Merge branch 'bug425' 2014-05-21 09:27:13 +03:00
VilhoRaatikka
e19157e674 Removed another invalid assert. It is allowed to read more or less than the first arrived packet contains. 2014-05-21 09:25:57 +03:00
VilhoRaatikka
e6cdfa4dd4 Removed another invalid assert. It is allowed to read less or more than content of the first arrived packet. 2014-05-21 09:22:36 +03:00
VilhoRaatikka
af84b9560a Merge branch 'bug425' of https://github.com/skysql/MaxScale into bug425 2014-05-20 22:42:07 +03:00
VilhoRaatikka
ebcf4afa52 Invalid invariant in assert caused MaxScale to trap if more bytes were read than the first mysql packet contained according to the mysql packet length field. Since it is typical that session updates and mysql packets come in same transfer this check fails in correct cases as well.
Removed assertion.
2014-05-20 22:34:43 +03:00
Mark Riddoch
cbed38f551 Merge pull request #1 from hholzgra/devel-test-readme
added description on how to run the test suite
2014-05-19 13:30:16 +01:00
Hartmut Holzgraefe
a007f68dcc added description on how to run the test suite 2014-05-19 14:24:37 +02:00
Mark Riddoch
854d7d7c68 Updated debug command plugin. 2014-05-19 12:31:56 +01:00
VilhoRaatikka
417ddc7d7f Merge branch 'master' of https://github.com/skysql/MaxScale 2014-05-17 23:24:10 +02:00
VilhoRaatikka
5c39682e40 Added message printing telling what file provided the module which was loaded. 2014-05-17 23:10:03 +02:00
MassimilianoPinto
d75e775cc1 Reprinted documents
Reprinted documents
2014-05-17 10:01:43 +02:00
Mark Riddoch
7d703e942c Reprinted release notes 2014-05-17 07:26:23 +01:00
Mark Riddoch
196c6aacca Delete MaxScale 0.6 Release Notes.pdf 2014-05-17 07:21:13 +01:00
VilhoRaatikka
bb364f531b Bug #425, http://bugs.skysql.com/show_bug.cgi?id=425
mysqlk_client.c now assumes that mysql packets may arrive in separate pieces.
gw_read_client_event reads client data, and if packet is incomplete it is added to new dcb->dcb_readqueue. When next packet is combined with data in readqueue.

mysql_common.c:gw_MySQL_get_next_packet can now return mysql packet from read buffer although it would span multiple gwbuf buffers.
2014-05-16 17:01:10 +02:00
Timofey Turenko
b341ba317e add debug flags support to .spec 2014-05-13 18:30:12 +03:00
MassimilianoPinto
e9e2f0365d 0.6.0 Added history folder in Documentation
Added history folder in Documentation, starting from Release 0.6.0

Previous release notes are now archived .
2014-05-09 16:34:09 +02:00
MassimilianoPinto
0643e096a6 Documentation update for 0.6.0 release
Documentation update for 0.6.0 release
2014-05-09 16:01:49 +02:00
MassimilianoPinto
f34ee4a25b 0.6.0 Release
0.6.0 Release
2014-05-08 17:54:06 +02:00
MassimilianoPinto
024c6fdc4c Configuration & Usage Scenarios document updated
Configuration & Usage Scenarios document updated with new
“version_string” service parameter
2014-05-08 17:50:21 +02:00
MassimilianoPinto
4913c270d3 Merge branch 'fix-423' into release-0.6 2014-05-08 16:26:51 +02:00
VilhoRaatikka
391ba19609 Merge branch 'master' of https://github.com/skysql/MaxScale 2014-05-08 16:37:49 +03:00
VilhoRaatikka
835c5b3915 Test that session variable scope doesn't span multiple sessions. 2014-05-08 16:36:17 +03:00
VilhoRaatikka
9af5d9fb06 Commit fix to bug #418 http://bugs.skysql.com/show_bug.cgi?id=418 2014-05-08 13:13:42 +03:00
MassimilianoPinto
29932f7fc8 MySQL handshake has a configurable version_string
MySQL handshake has no a configurable version_string parameter in
service section.
The default value is the server version of the embedded mysqld library.

Set option example:

version_string=5.5.37-MariaDB-log

Default is similar to:

5.5.35-MariaDB
2014-05-07 18:08:28 +02:00
VilhoRaatikka
bc84dd13f8 Removed this because it is deprecated. 2014-05-07 18:22:37 +03:00
VilhoRaatikka
182f25fffe Ineffective write in is_commit_stmt 2014-05-07 18:04:55 +03:00
VilhoRaatikka
bdefa5c3c8 These are the values that are required for MaxScale build process. If you change them, do not push unless you know what you're doing. Thanks! 2014-04-25 15:41:18 +03:00
VilhoRaatikka
a6ea56a153 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-04-16 10:26:00 +03:00
VilhoRaatikka
81af54730a Added missing test files for rwsplit router tests. 2014-04-16 10:25:32 +03:00
VilhoRaatikka
2fcc371606 Added back --skip-innodb to a call argument for libmysqld 2014-04-15 19:22:46 +03:00
VilhoRaatikka
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
VilhoRaatikka
ac261a038c Merge branch 'master' of https://github.com/skysql/MaxScale 2014-04-15 14:35:32 +03:00
VilhoRaatikka
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
MassimilianoPinto
e01cbd74ed Bug 409: dcb_final_free now frees dcb->delayq 2014-04-14 10:08:34 +02:00
MassimilianoPinto
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
VilhoRaatikka
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
VilhoRaatikka
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
VilhoRaatikka
b9a8f2ce65 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-04-10 17:11:45 +03:00
VilhoRaatikka
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