Commit Graph

  • ed461d58e2 Moved messages to message log MassimilianoPinto 2014-11-19 11:36:44 +01:00
  • d4894b3c1d Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop Markus Makela 2014-11-19 12:26:49 +02:00
  • 2556097a98 Added commands to debugcmd.c that enable and disable logs for a single session. Added the session id to dprintAllSessions and dprintSession output. Markus Makela 2014-11-19 12:25:33 +02:00
  • 580f9730f6 Fix to #621, http://bugs.skysql.com/show_bug.cgi?id=621 VilhoRaatikka 2014-11-19 12:14:24 +02:00
  • a65d8cd525 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop Markus Makela 2014-11-19 09:38:22 +02:00
  • 98390e89cc Added dummy cli commands that would enable and disable session logs. Markus Makela 2014-11-19 09:37:24 +02:00
  • bb39267126 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-19 00:15:21 +02:00
  • fd11e6a7f5 Session-specific logging. Added functions void session_enable_log(SESSION* ses, logfile_id_t id) and void session_disable_log(SESSION* ses, logfile_id_t id) VilhoRaatikka 2014-11-19 00:08:59 +02:00
  • e80d709ad8 Cleaning up code Markus Makela 2014-11-18 17:05:44 +02:00
  • fc04087ab4 Valgrind tests completed MassimilianoPinto 2014-11-18 13:19:38 +01:00
  • 91f65072a2 Slave status removed of 1 server only MassimilianoPinto 2014-11-18 13:07:49 +01:00
  • e2fd2c422e One server only in MySQL monitor config MassimilianoPinto 2014-11-18 11:25:21 +01:00
  • a2f4b47e54 Fixed errors in filter harness file comparing. Markus Makela 2014-11-18 06:37:00 +02:00
  • 80b83f0ac0 Merge branch 'develop' into firewall Markus Makela 2014-11-18 05:02:12 +02:00
  • 7ef54219a6 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-17 23:28:25 +02:00
  • a30fc0c787 MAX-328, Add session identifier to trace log entries. Session id is given to session in session_alloc and stored to thread's local storage variable when thread picks a new event from epoll_wait. VilhoRaatikka 2014-11-17 23:27:14 +02:00
  • d3df458b27 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop Markus Makela 2014-11-17 20:20:33 +02:00
  • 0b988e0f49 Added a dummy session and dcb to the filter harness. Added tests for regexfilter. Markus Makela 2014-11-17 18:42:20 +02:00
  • 2e7419e942 Fixed an infinite loop if network address reached '%' and fixed some null pointer references. Markus Makela 2014-11-17 19:33:34 +02:00
  • a5ece62327 Merge branch 'develop' into firewall Markus Makela 2014-11-17 18:45:01 +02:00
  • e4bf42fcf4 Added a dummy session and dcb to the filter harness. Markus Makela 2014-11-17 18:42:20 +02:00
  • 70eef7aaa8 Fix to bug #513, http://bugs.skysql.com/show_bug.cgi?id=513 VilhoRaatikka 2014-11-17 15:33:13 +02:00
  • e8e1e63304 Merge branch 'firewall' of https://github.com/mariadb-corporation/MaxScale into firewall Markus Makela 2014-11-17 15:16:12 +02:00
  • 6bda88f252 Addition to fix to bug #597, http://bugs.skysql.com/show_bug.cgi?id=597 VilhoRaatikka 2014-11-17 15:15:34 +02:00
  • f233bfab66 Updated test harness and added preliminary firewall filter tests Markus Makela 2014-11-17 14:52:26 +02:00
  • 1c4ffd2599 Fix to bug #597, http://bugs.skysql.com/show_bug.cgi?id=597 Changed the order of include directives in query_classifier.cc VilhoRaatikka 2014-11-17 14:55:13 +02:00
  • 67030d0019 Updated test harness. Markus Makela 2014-11-17 14:52:26 +02:00
  • 34b155b6fe Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-17 13:58:18 +02:00
  • 67a0f65b74 Fixed issue with not releasing the spinlock in show tasks Mark Riddoch 2014-11-17 11:56:41 +00:00
  • c9b679359f Made RWSplit to use slave selection criteria also during client session. Previously the criteria was use when slaves were selected for use of client session. VilhoRaatikka 2014-11-17 13:40:18 +02:00
  • 1399a33944 Merge branch 'develop' into firewall Markus Makela 2014-11-17 13:05:40 +02:00
  • a96f2fe57b Fixed some typos and testing messages from CMake output. Markus Makela 2014-11-17 12:52:21 +02:00
  • 0aac126162 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop Markus Makela 2014-11-17 12:51:41 +02:00
  • 4708e97208 Added a 'testall-valgrind' target to CMake that runs the full test suite with Valgrind. Markus Makela 2014-11-17 12:47:24 +02:00
  • df9acee69a Fix to bug# 616: Added checks that only one block buffer (the first one) is being moved at any one time. Markus Makela 2014-11-17 12:44:25 +02:00
  • 4f136fa4d2 Fixed backend selection logic in get_dcb. If slave is not found write a warning to error log and fall through to master selection. If master has changed or previous master's state has changed, routing fails. VilhoRaatikka 2014-11-15 23:57:09 +02:00
  • 419fda5514 Fixed false positive debug assertion VilhoRaatikka 2014-11-14 23:13:40 +02:00
  • e790437fc0 Fixed debug assert. If session is closed its router session pointer is nullified and it is not error. VilhoRaatikka 2014-11-14 22:35:23 +02:00
  • 18c12cfee6 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-14 20:48:50 +02:00
  • 8c1e7172f3 Added debug logging for #615 VilhoRaatikka 2014-11-14 20:48:33 +02:00
  • a16d1d445e Addition of flush log and flush logs command Mark Riddoch 2014-11-14 18:02:25 +00:00
  • e35ad0c5d3 Fix candidate for bug #615 Removed invalid debug assert VilhoRaatikka 2014-11-14 17:50:07 +02:00
  • ca13e18f53 Added query operation type requirements on where clauses and fixed a bug with regex rules. Markus Makela 2014-11-14 15:59:15 +02:00
  • 81009e7d19 Fix candidate to bug #615 Mark backend reference closed in handleError VilhoRaatikka 2014-11-14 15:20:15 +02:00
  • 89713f8bcb Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-14 13:08:48 +02:00
  • 77aa9827fe Fix candidate to bug #615, http://bugs.skysql.com/show_bug.cgi?id=615 VilhoRaatikka 2014-11-14 13:06:35 +02:00
  • e967aca2f0 Merge branch 'develop' of github.com:skysql/MaxScale into develop Mark Riddoch 2014-11-14 10:37:02 +00:00
  • 4389cb06da Add the CLI to the template configuration file Mark Riddoch 2014-11-14 10:36:32 +00:00
  • d090eee09b Messages moved from stderr to MESSAGE log MassimilianoPinto 2014-11-14 10:19:04 +01:00
  • 949bbc99d9 Messages moved from stderr to MESSAGE log MassimilianoPinto 2014-11-14 10:11:15 +01:00
  • b37fb35669 Removed PID print to stderr MassimilianoPinto 2014-11-14 10:03:11 +01:00
  • 238c476d3a getUsers try selecting a Master server MassimilianoPinto 2014-11-13 17:41:50 +01:00
  • 12b06a503e Removed NULL pointer printing MassimilianoPinto 2014-11-13 17:15:17 +01:00
  • 9edee192a8 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-13 18:00:43 +02:00
  • 175711a1bc Fix to #601, http://bugs.skysql.com/show_bug.cgi?id=601 if (func.auth ==)gw_change_user->gw_send_change_user_to_backend is called before backend has its scramble, auth packet is set to backend's delauqueue instead of writing it to backend. When backend_write_delayqueue is called COM_CHANGE_USER packets are rewritten with backend's current data. VilhoRaatikka 2014-11-13 17:55:29 +02:00
  • 171af0fc03 Merge branch 'develop' into firewall Markus Makela 2014-11-13 14:33:19 +02:00
  • fe20698fb0 Fixed a bug in httpd.c Markus Makela 2014-11-13 13:33:14 +02:00
  • afb8859b43 Merge branch 'develop' into firewall Markus Makela 2014-11-13 09:50:02 +02:00
  • 59b587462a Fix to Coverity defects 72714 75940 75941 Markus Makela 2014-11-13 09:09:11 +02:00
  • fb9d792859 Fix to Coverity defect 76134 Markus Makela 2014-11-13 09:02:56 +02:00
  • aaa9bfd5c2 Fixes to Coverity defects 78241 78242 78243 78244 78245 Markus Makela 2014-11-13 08:56:02 +02:00
  • fc5c3943e8 Fixes to Coverity defects: 72643 72645 72655 72656 72657 72658 72664 72698 72712 Markus Makela 2014-11-12 19:02:37 +02:00
  • b5445bdf63 Added a variable that controls the FAKE_CODE define Markus Makela 2014-11-12 18:12:58 +02:00
  • 917d213c13 Fix to Coverity defect 73387 Markus Makela 2014-11-12 18:09:10 +02:00
  • 2b11b53144 Fixes to Coverity defects 72681, 72683, 72691. Markus Makela 2014-11-12 17:25:49 +02:00
  • 70acd60117 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-12 16:42:03 +02:00
  • 4e405ebb8f Added logging to log rotation and to filter session setup. VilhoRaatikka 2014-11-12 16:41:28 +02:00
  • e2930a4b9e Fix for wrong default value MassimilianoPinto 2014-11-12 15:15:39 +01:00
  • f4576dbabc Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-12 14:59:36 +02:00
  • 780733f870 MAX-325, Log rotation functionality. When skygw_log_rotate is called, corresponding logfile's rotate flag (lf_rotateflag) is set and log writer thread is woken up. Writer opens a new log file and closes the old one. VilhoRaatikka 2014-11-12 14:48:17 +02:00
  • 624c347984 Fixed compilation errors due to declaring variables after a goto command. Markus Makela 2014-11-12 10:24:21 +02:00
  • 8af97016bb Dummy for skygw_log_rotate. VilhoRaatikka 2014-11-11 18:33:17 +02:00
  • 8311d02f61 Removed unnecessary local variables for errno since it is thread safe. VilhoRaatikka 2014-11-11 14:51:55 +02:00
  • 50a5a7892d Repurposed old code and deleted obsolete code. Markus Makela 2014-11-11 14:27:23 +02:00
  • 0ea4dd63a9 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-11 14:25:49 +02:00
  • 128d5e3f48 Addition to previous fix VilhoRaatikka 2014-11-11 14:25:34 +02:00
  • 4a8f97d2e2 Merge branch 'develop' into firewall Markus Makela 2014-11-11 14:18:44 +02:00
  • 98a362b430 Fix to Coverity error 72685 Markus Makela 2014-11-11 14:10:15 +02:00
  • 061fa62d29 Fixes to Coverity issues 77197 (mysql_common.c, dcb.c, mysql_client.c, skygw_debug.h), 72654 (poll.c), 72756 (mysql_backend.c), 72744 (mysql_backend.c), 77197 (mysql_common.c), 72746 (mysql_common.c), 72676 (mysql_common.c), 72705 (readwritesplit.c), 72697 (readwritesplit.c), 72652 (skygw_debug.h) VilhoRaatikka 2014-11-11 14:10:06 +02:00
  • 9cb2be9605 Fixes to Coverity erros 75748 and 76132. Markus Makela 2014-11-11 13:42:12 +02:00
  • 97934ed96a Changed the UNIX-only commands to CMake generic commands. Markus Makela 2014-11-11 12:43:46 +02:00
  • badc45f457 Coverity fix 72709 MassimilianoPinto 2014-11-11 10:56:56 +01:00
  • bc43ead78d timeout options added to monitors MassimilianoPinto 2014-11-11 08:46:56 +01:00
  • 39b04682ea COM_CHANGE_USER honours charset change MassimilianoPinto 2014-11-10 17:06:14 +01:00
  • 49d28bc1f3 MySQL connect: charset flag is stored MassimilianoPinto 2014-11-10 16:09:51 +01:00
  • 704c69eb40 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-10 17:06:01 +02:00
  • 24c1106abf Removed invalid assertion from readwritesplit.c VilhoRaatikka 2014-11-10 17:05:40 +02:00
  • 78ede89b3b Addition of setNetworkTimeout in galera mon MassimilianoPinto 2014-11-10 15:31:36 +01:00
  • 68df1b9c99 Addition of timeout for connect,read,write MassimilianoPinto 2014-11-10 15:13:26 +01:00
  • 9a5168c3e8 Put errors ganerating code behind FAKE_CODE macro, which is not defined by default in any build. VilhoRaatikka 2014-11-10 15:22:08 +02:00
  • 7f7cb0a982 Switched from CPU time to real time in connection test. Markus Makela 2014-11-10 14:30:56 +02:00
  • a3675e9098 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop VilhoRaatikka 2014-11-10 14:18:43 +02:00
  • 62270412cf readwritesplit.c: prevent switching the master during session. Added logging to cases where master has changed. Moved DCB's member errhandle_called behing DEBUG flags to Release build. It shows if handleError is called for a DCB and makes it possible to avoid redundant calls. VilhoRaatikka 2014-11-10 14:15:32 +02:00
  • 3b07449daa Fix to bug #614, http://bugs.skysql.com/show_bug.cgi?id=614 Added protected state check to mysql_client.c, fixed locking in session.c VilhoRaatikka 2014-11-10 14:07:51 +02:00
  • d1772e300e Addition to fix to bug #613, http://bugs.skysql.com/show_bug.cgi?id=613 Added new declaration of skygw_file_write and modification to the function which returns errno instead of boolean. VilhoRaatikka 2014-11-10 13:59:55 +02:00
  • e86b51865c Fixes to Coverity errors 72653, 72685, 72707, 73391, 73393, 73394, 73410 and 73414. Markus Makela 2014-11-10 13:51:21 +02:00
  • 20ddcfb8c4 Fix to bug #613, http://bugs.skysql.com/show_bug.cgi?id=613 Simple fix: disable logging to files where logging fails. VilhoRaatikka 2014-11-10 13:50:24 +02:00
  • c2c12d8b00 Added missing linker flags to connection test. Markus Makela 2014-11-10 13:48:03 +02:00
  • f466f86672 Added default NULL for users table MassimilianoPinto 2014-11-10 11:10:32 +01:00
  • 071e15048d Removed leak for service with more listeners MassimilianoPinto 2014-11-10 11:08:12 +01:00