|
7aa36b77ea
|
Guarantee router session is present for call to clientReply; properly free callbacks; attempt to set all necessary values for dbusers; do more to ensure buffers freed.
|
2015-09-21 14:25:12 +01:00 |
|
|
88716c35fb
|
Various changes to block loopholes in different cases and tidy up.
|
2015-09-21 09:23:22 +01:00 |
|
|
e507933c48
|
Need to mark the DCB dcb_errhandle_called indicator if the router error handler is not called.
|
2015-09-18 09:19:32 +01:00 |
|
|
f3560512ff
|
Suppress call to router error handling where there is no router session.
|
2015-09-18 09:04:32 +01:00 |
|
|
c69658889c
|
Handle client input case where no router session exists by sending error message to client.
|
2015-09-18 08:59:06 +01:00 |
|
|
31c6666278
|
Ensure DCB for closing session does not become persistent; remove bref_was_not_in_use.
|
2015-09-17 14:38:56 +01:00 |
|
|
dc3b0b067b
|
Revert the dcb_close changes in handleError.
|
2015-09-17 13:35:18 +01:00 |
|
|
1ad8e27c91
|
Try a different arrangement of DCB closures in handleError of read-write split.
|
2015-09-17 13:27:25 +01:00 |
|
|
357c4bcae5
|
Add to or take from persistent pool only if server is running; add conditions to DCB close in read-write handleError to check backend reference was in use.
|
2015-09-17 12:53:59 +01:00 |
|
|
583c9b62fe
|
Close DCB in handleError only if it can be found in a backend reference.
|
2015-09-17 11:58:19 +01:00 |
|
|
0cba9b797f
|
Changes to deal with failed session creation by keeping the new session in existence until all related DCBs have closed; minor changes in response to reviews.
|
2015-09-17 08:15:32 +01:00 |
|
|
30239f395a
|
Fix bref when backend server fails, error message if fails.
|
2015-09-15 20:07:56 +01:00 |
|
|
fdbe070e80
|
Change abort to error message when read connection router finds mismatch between router client session DCB and given backend DCB; improve order of actions when closing DCB in read-write router.
|
2015-09-15 15:22:44 +01:00 |
|
|
0cf4b2cf68
|
Fix to overcome failure on certain packets.
|
2015-09-15 08:37:41 +01:00 |
|
|
cfeaf7d6e9
|
Merge remote-tracking branch 'origin/develop' into MXS-329
Conflicts:
server/core/session.c
|
2015-09-10 13:07:27 +01:00 |
|
|
296e306daa
|
Set session pointer to client dcb to null when dcb is closed.
|
2015-09-10 12:54:44 +01:00 |
|
|
9f01d0ec3f
|
Fix type.
|
2015-09-10 10:54:33 +01:00 |
|
|
67f8520c38
|
Added missing include to sharding_common.h
|
2015-09-09 13:00:10 +03:00 |
|
|
f6916a23bd
|
Move responsibility for closing DCB on error to router error handling. Check that routers remove or disable links to closed DCB.
|
2015-09-09 09:33:00 +01:00 |
|
|
2e50dfd484
|
Readjust indentation in handleError function of read connection router.
|
2015-09-09 08:37:40 +01:00 |
|
|
986c918d52
|
Remove ERRACT_RESET action from router error handler; remove sole call from mysql_client. Correct comments on parameters for router error handlers.
|
2015-09-09 08:31:59 +01:00 |
|
|
160bbb70ee
|
MXS-251: strerror
Replaces all calls to strerror with calls to strerror_r. The former
is non-thread safe while the latter is.
|
2015-09-05 15:52:13 +03:00 |
|
|
4a1ad3df69
|
Attempt solution to crash caused by leaving link to backend DCB in router session.
|
2015-09-05 08:53:19 +01:00 |
|
|
d74990833b
|
Move capture of user name for persistent connections; expand error message in mysql client to give more information.
|
2015-09-01 09:59:34 +01:00 |
|
|
c564b40c54
|
Fixed gw_send_authentication_to_backend expecting a negative return value when dcb_write fails.
|
2015-08-31 10:23:51 +03:00 |
|
|
b6f5108d29
|
Fix for MXS-335
Response handling as aborted if there is not enough data.
|
2015-08-31 08:30:21 +03:00 |
|
|
a711b25fec
|
Improve user name setting in DCB for persistent connections and to fix bug; change name of session_alloc_dummy to session_set_dummy to be more informative.
|
2015-08-28 18:20:32 +01:00 |
|
|
f1c3b65b15
|
Fixed mistake.
|
2015-08-28 19:52:02 +03:00 |
|
|
d29c5909a6
|
Properly close the branch session of the tee filter.
|
2015-08-28 19:50:29 +03:00 |
|
|
068ec77d05
|
Fix bugs.
|
2015-08-28 16:44:40 +01:00 |
|
|
9c5f622481
|
Additional spinlock in random_jkiss. Initial attempt at implementing dummy sessions to provide total consistency - used in mysql_client in relation to authentication - a single static dummy session is used and linked from the client dcb when authentication is not yet complete.
|
2015-08-28 15:30:06 +01:00 |
|
|
70a7a5f2f6
|
Fix to MXS-328: https://mariadb.atlassian.net/browse/MXS-328
Removed gwbuf_free when the write fails.
|
2015-08-27 09:16:00 +03:00 |
|
|
3e863863dd
|
Fixes to Coverity defects.
|
2015-08-26 09:35:10 +03:00 |
|
|
b3be72022c
|
Fixed use_sql_variables_in=master not working.
|
2015-08-25 21:53:54 +03:00 |
|
|
1731a90fad
|
Fix for lastEventTimestamp localtime
Fix for lastEventTimestamp localtime computation
|
2015-08-25 11:37:17 +02:00 |
|
|
37ac158791
|
Changes to try to eliminate setting dcb->session to NULL with risk of crashing system.
|
2015-08-24 12:12:43 +01:00 |
|
|
799844e243
|
Fixed MXS-111 https://mariadb.atlassian.net/browse/MXS-111
Fixed MXS-111 https://mariadb.atlassian.net/browse/MXS-111
|
2015-08-24 10:52:26 +02:00 |
|
|
5adae0ff3b
|
Added missing return value.
|
2015-08-23 20:46:16 +03:00 |
|
|
f014598d39
|
Added NULL checks.
|
2015-08-21 17:42:03 +03:00 |
|
|
8a362d6668
|
Fixed memory leaks in maxinfo.c and httpd.c
|
2015-08-21 08:08:45 +03:00 |
|
|
c001e030af
|
Fixed available_when_donor not working properly.
|
2015-08-20 20:33:46 +03:00 |
|
|
9a6e3a9a86
|
Fix to Coverity defect.
|
2015-08-20 09:34:52 +03:00 |
|
|
367965f180
|
Merge branch 'MXS-270' into develop
|
2015-08-19 20:02:23 +03:00 |
|
|
2d9814e0f3
|
Fix to MXS-270: https://mariadb.atlassian.net/browse/MXS-270
Prepared statement query responses in multiple buffers are now handled properly.
|
2015-08-19 17:48:24 +03:00 |
|
|
895989446d
|
MXS-224: Added SQL commands to the log message at slave disconnect time
MXS-224: Added SQL commands to the log message at slave disconnect time
|
2015-08-19 12:04:15 +02:00 |
|
|
3f26c306c5
|
Added more function parameter checks.
|
2015-08-18 22:19:26 +03:00 |
|
|
501ea8ffc2
|
Removed a debug assertion which was triggered with a valid query and added more logging.
|
2015-08-17 22:42:04 +03:00 |
|
|
eac31b2618
|
Added master/slave percentage to readwritesplit diagnostic output.
|
2015-08-17 07:59:40 +03:00 |
|
|
458598141b
|
Added checks for possible NULL value and out-of-bounds reads.
|
2015-08-16 22:30:04 +03:00 |
|
|
a9e7eee718
|
Added missing spinlock calls to temporary table checks.
|
2015-08-14 20:43:01 +03:00 |
|