Markus Makela
4d21e901ef
Package building now requires CMake version 2.8.12 or greater.
2014-12-18 15:27:37 +02:00
Markus Makela
58f25fdf9b
Revert "Disabled NDBMoniton for GA."
...
This reverts commit a55e40bd589226ef5ad5a866b7529ae5841053f7.
2014-12-18 13:43:16 +02:00
Markus Makela
a55e40bd58
Disabled NDBMoniton for GA.
2014-12-18 13:20:35 +02:00
VilhoRaatikka
494ac968e2
Fix candidate to bug #642 , http://bugs.skysql.com/show_bug.cgi?id=652
...
If user only has a privileges to certain table, login with db still succeeds.
Removed invalid debug assertion from readwritesplit.c
2014-12-17 23:51:04 +02:00
Mark Riddoch
a655e394ac
Merge branch 'blr' into release-1.0GA
...
Conflicts:
server/core/service.c
2014-12-16 15:44:19 +00:00
Mark Riddoch
203e83d508
Update to COM_STATISTICS to show master connection state
2014-12-16 15:35:39 +00:00
Mark Riddoch
5ef7ddfe1f
Bug 653 - Memory overwrite
2014-12-16 15:34:06 +00:00
Mark Riddoch
909518fac7
Improved error messages
...
Support for running out of disk space in the binlog router
Support for COM_PING & COM_STATISTICS added in the binlog router
Addition of binlogdir router option
2014-12-16 10:38:09 +00:00
VilhoRaatikka
8f570082eb
poll.c:poll_add_event_to_dcb didn't update pollStats.evq_pending when added event became pending. That may cause threads to run in poll loop with minimal timeout infinitely. Added counter update.
2014-12-15 22:21:23 +02:00
VilhoRaatikka
82407ceaf4
Fix to #650 , http://bugs.mariadb.com/show_bug.cgi?id=650
...
Added checks.
2014-12-15 15:03:47 +02:00
VilhoRaatikka
6f6df39e62
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-15 11:41:12 +02:00
VilhoRaatikka
4dd6f1b9c0
Added comment to assertion regarding to bref->bref_pending_cmd which is a one-slot buffer for database query. If sessoin command cursor is active when query is routed, instead of routing the query to backend it is stored to bref_pending_cmd to wait until previous (session) command is completed. The assertion traps if there is a command already in the bref_pending_cmd.
...
Situation is wrong because client shouldn't send new query before the previous (the pending one) is executed in backend and the reply is sent to the client.
2014-12-15 11:35:07 +02:00
Markus Makela
04a92e40df
Fixes to Coverity defects 84879 84878 72752 72742
2014-12-15 06:28:47 +02:00
VilhoRaatikka
a4968f2521
Complete fix candidate for #645 , http://bugs.skysql.com/show_bug.cgi?id=645 and #648 , http://bugs.skysql.com/show_bug.cgi?id=648
...
tee.c:closeSession removed unnecessary dcb_free, router/service closes all backend DCBs and the client DCB, and client DCB is the one that was tried to free in closeSession.
readwritesplit.c:routeQuery now handles untyped and typed GWBUFs. Untyped means that read buffer may consist of incomplete and multiple MySQL packets. Typed buffer always consists of a single MySQL packet (which can be split to many buffers inside GWBUF).
Fixed Coverity cases #84840 and #84841
2014-12-14 11:26:15 +02:00
VilhoRaatikka
c31f971999
Fix candidate for #645 , http://bugs.skysql.com/show_bug.cgi?id=645 and #648 , http://bugs.skysql.com/show_bug.cgi?id=648
...
If readwritesplit.c:routeQuery gets a GWBUF whose type is UNDEFINED, then each MySQL packet is extracted from input buffer and passed to new function, route_single_stmt. Each extracted packet is stored in separate GWBUF and added types GWBUF_TYPE_MYSQL and GWBUG_TYPE_SINGLE_STMT which makes it possible to execute session commands and process reply packets properly.
Code nedes still cleaning but this is for testing atm.
2014-12-13 01:55:40 +02:00
VilhoRaatikka
339f604d73
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-12 21:18:13 +02:00
Markus Makela
4c9307bbf2
Updated MaxScale_test.cnf
2014-12-12 17:15:11 +02:00
VilhoRaatikka
e55c70b329
Session status wasn't updated in tee filter's closeSession
2014-12-12 14:36:05 +02:00
Timofey Turenko
d607d3ec7c
change capital -RC to lowcase -rc in the package name
2014-12-12 13:07:51 +02:00
Mark Riddoch
1fc063b437
Added pepared statements and field lsit support to the command types
...
to duplciate
2014-12-12 10:02:24 +00:00
Mark Riddoch
c266a2cf57
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-12 09:46:26 +00:00
Mark Riddoch
680f7ef2c1
Add fix for duplicating COM_QUIT, COM_INIT_DB and COM_CHANGE_USER packets
2014-12-12 09:45:52 +00:00
Timofey Turenko
89c9bb8ade
change version from 'beta' to 'RC'
2014-12-11 22:22:52 +02:00
Mark Riddoch
3ffa585fe4
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-11 13:49:01 +00:00
Mark Riddoch
573cf6040c
Check for the duplciate service being the same as the service that is using the
...
tee filter. I.e. trap simple recursive definitions.
2014-12-11 13:45:21 +00:00
VilhoRaatikka
63def8d002
Fix to bug #644 , http://bugs.mariadb.com/show_bug.cgi?id=644
...
Initialized the lock variable in gwbuf_clone
2014-12-11 15:28:41 +02:00
Markus Makela
c75ba90f6f
Fixes to Coverity defect 84478 and to 72759 which has reappeared.
2014-12-11 09:43:59 +02:00
Markus Makela
89ccc7c927
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-10 18:06:48 +02:00
Markus Makela
2a623c6ec3
Fixed a typo in config.c
2014-12-10 18:05:58 +02:00
Mark Riddoch
df1ff25be4
Changes for file system full detection
2014-12-10 09:07:14 +00:00
VilhoRaatikka
30361748cc
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-09 14:26:56 +02:00
VilhoRaatikka
0967a09b5c
Added severity keyword to error log messages
2014-12-09 14:26:33 +02:00
MassimilianoPinto
8de7a5854a
Log files names printed only with DEBUG mode
...
Log files names printed only with DEBUG mode
2014-12-09 11:17:30 +01:00
Mark Riddoch
0fb1918887
Improved error handlign for binlog directory and files
2014-12-09 09:55:05 +00:00
Mark Riddoch
26e3486966
Fix for router instance creation failure
2014-12-09 09:54:04 +00:00
VilhoRaatikka
968b67dd71
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-09 11:03:43 +02:00
VilhoRaatikka
b98a563f46
Fix to bug #641 , http://bugs.mariadb.com/show_bug.cgi?id=641
...
Removed HTTPD Router and replaced module CLI with cli
2014-12-09 11:03:02 +02:00
MassimilianoPinto
19cf44bd59
Coverity fixes: 72650, 72665
...
Coverity fixes: 72650, 72665
2014-12-09 08:58:52 +01:00
Markus Makela
8b51d4fee2
Fix to bug 640: http://bugs.mariadb.com/show_bug.cgi?id=640
...
Added a check for the case when createInstance returns NULL.
Added messages to error log if router instance creation fails or if the service fails to start for any reason.
2014-12-09 06:31:53 +02:00
VilhoRaatikka
6a54d888de
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-08 16:04:27 +02:00
VilhoRaatikka
5264a1abc9
Added function documentation, moved one non-error log entry to message log, cleaned up a bit.
2014-12-08 16:02:16 +02:00
Mark Riddoch
8fed527ac9
Merge branch 'release-1.0GA' into blr
2014-12-08 09:21:38 +00:00
Mark Riddoch
ce056dccd8
Update modue status of all GA modules
2014-12-08 09:19:35 +00:00
VilhoRaatikka
b1eaaea961
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-05 23:57:02 +02:00
VilhoRaatikka
01b1b0a304
Fixes to Coverity issues 84388, 84386, 84385
...
mysql_mon.c: Added back server state logging to Debug build.
query_classifier.cc: removed some extra debug code, cleaned up a bit function documentation.
mysql_client_server_protocol.h, mysql_backend.c, mysql_common.c: changed some variables to signed ones to enable checking of calculations in the code.
skygw_utils.cc: removed erroneous debug assertion.
2014-12-05 23:39:14 +02:00
Mark Riddoch
cce35d9035
Add event name in show service
2014-12-05 13:49:41 +00:00
Mark Riddoch
a0cebae0ec
Make building the binlog router conditional
2014-12-05 11:43:06 +00:00
Mark Riddoch
e102d56e69
Merge branch 'blr' into release-1.0GA
...
Conflicts:
server/modules/protocol/mysql_backend.c
server/modules/routing/binlog/blr_master.c
2014-12-05 11:42:02 +00:00
Mark Riddoch
2b998eb17f
Merging binlog router into beta refresh
2014-12-05 11:30:03 +00:00
Mark Riddoch
de3b2db904
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-05 09:06:05 +00:00