Commit Graph

  • 9fb072ea74 Changed log manager APChanged log manager APII vraatikka 2013-08-04 23:14:48 +03:00
  • d2efbcf867 Changed log manager API. Removed unnecessary memory context pointer (always NULL): vraatikka 2013-08-04 23:07:54 +03:00
  • f62cf1ea7e Added check if the last admin user is to be deleted, and if that's the case, prevent it and return with error message. vraatikka 2013-08-04 23:02:29 +03:00
  • 6faca29281 Added commands: vraatikka 2013-08-04 23:01:36 +03:00
  • b3302b1bad Renamed reload users to reload dbusers. vraatikka 2013-08-03 23:29:45 +03:00
  • 26e4422c4d Removed shutdown gateway command from debug commands vraatikka 2013-08-03 23:21:21 +03:00
  • 8b720f211e in hastable_delete check if deleted entry's next pointer is NULL. vraatikka 2013-08-03 23:10:45 +03:00
  • ca3638ae2c Added 'remove user' to client API. New functions are vraatikka 2013-08-02 23:03:43 +03:00
  • 3357748aad Some typos fixed Massimiliano Pinto 2013-08-02 10:00:56 +02:00
  • 9305cf0f9f In server_update check if new user or pwd are NULL and decline to update used values if they are. vraatikka 2013-08-02 10:38:16 +03:00
  • 89079c6fb8 Fixed compilation issues with boost. Jan Lindström 2013-08-01 19:49:37 +03:00
  • ce8ce5b8fd Added a check for candidate server, if NULL return Massimiliano Pinto 2013-07-31 16:18:45 +02:00
  • 96855a6feb Log message fine tuning. vraatikka 2013-07-30 23:09:34 +03:00
  • b2099947b4 Changed mysterious log message. vraatikka 2013-07-30 23:08:31 +03:00
  • 896233d65f Changed some important information to use skygw_log_write_flush. vraatikka 2013-07-30 19:32:39 +03:00
  • 75f308fc3f Changes some important messages to use skygw_log_write_flush. vraatikka 2013-07-30 19:31:57 +03:00
  • 56c73086aa Disabled buffering of log file stream by call of setvbuf. vraatikka 2013-07-30 19:30:23 +03:00
  • b71b22b18a Removed dependency files because they are now created as a part of makefile processing. vraatikka 2013-07-30 15:07:50 +03:00
  • 4d29930c6b Revert back to revision 241 vraatikka 2013-07-30 11:55:58 +03:00
  • 2ab5a37c63 Clean build_gateway.inc vraatikka 2013-07-30 11:51:36 +03:00
  • f3cf1d703e Removed depend.mk files. Added command 'touch depend.mk' to each Makefile which attempts to include depend.mk. That is for the makefile process phase where only the existence of depend.mk is checked. Later the real file is created in 'depend' target. vraatikka 2013-07-30 11:43:39 +03:00
  • d2432ab307 Removed protocol_1.0, the Apache APR prototype Massimiliano Pinto 2013-07-29 10:08:53 +02:00
  • 636e5b619c fix Makefile to comply with new dirs skysql 2013-07-29 09:39:46 +03:00
  • da8a5592d9 repositories merge Timofey Turenko 2013-07-28 05:33:20 +00:00
  • a7c82310f9 moving files to /server to make merge possible Timofey Turenko 2013-07-28 05:31:11 +00:00
  • 25d26eb3b8 Corrected a typo in line feed handling. vraatikka 2013-07-27 12:23:47 +03:00
  • 7a6129861e Added timestamp to log file headers and to the beginning of each line. Removed additional line feeds. vraatikka 2013-07-27 12:14:30 +03:00
  • b566c41067 Log manager sometimes failed to flush after skygw_log_write_flush because log client signaled filw writer thread too early. Fixed so that write is done first and file writer is registered after that. Except in cases where skygw_log_flush was called. Then only flush is triggered. Added a few trivial cases to test. vraatikka 2013-07-26 23:06:12 +03:00
  • 3989615197 Code polishing. vraatikka 2013-07-26 21:46:23 +03:00
  • d8978dce1c Fixed a typo vraatikka 2013-07-26 19:25:42 +03:00
  • b235781d2e Added run-time path to dynamically loadable libraries; '-Wl,rpath,$(DEST)/lib' to Makefile. When compiling, use vraatikka 2013-07-26 19:23:47 +03:00
  • ff8b432943 Added run-time path to dynamically loadable libraries; '-Wl,rpath,$(DEST)/lib' to makefile. When compiling, use vraatikka 2013-07-26 19:20:06 +03:00
  • 404160908d In mysql monitor sectio Massimiliano Pinto 2013-07-26 15:21:01 +02:00
  • 80b25b6270 merge vraatikka 2013-07-26 15:25:00 +03:00
  • 2f189cb153 Log manager erroneously wrote string termination character after every log message. Added a few trivial test cases. vraatikka 2013-07-26 15:21:54 +03:00
  • 4fc3050ac7 Fix unnecessary defines out of code, these can be found from MySQL headers. Jan Lindström 2013-07-26 15:21:06 +03:00
  • 4a4383f6aa Added servers metadata reading and writing. Jan Lindström 2013-07-26 13:46:31 +03:00
  • 867eab37fc Monitors that run on separate thread call thread_wait in stopMonitor. Fixes problem with ordering of calls to mysql_library_end (in main) and mysql_thread_end (in monitor thr). vraatikka 2013-07-26 11:27:54 +03:00
  • 4374ef01c0 Addition of PDF versions of two documents Mark Riddoch 2013-07-25 17:27:05 +02:00
  • 03e70ab78f Addition of PDF versions of two documents Mark Riddoch 2013-07-25 17:27:05 +02:00
  • b3b444880d Added servers metadata and fixed issues on embedded server connection and test program compilation and linking. Jan Lindström 2013-07-25 17:59:55 +03:00
  • 1c3e44d446 Removed debug fprint about failed mutex destroy. vraatikka 2013-07-25 17:22:19 +03:00
  • 52564314d4 Documented concurrency control between filewriter thread and log clients. Changed log header text, replaced SkySQL GAteway with SkySQL MaxScale. Fixed bug in log flushing. skygw_log_write_flush didn't cause call of fsync, which suspended file writing. vraatikka 2013-07-25 16:21:13 +03:00
  • 5e6ed4cafa Addition of show monitors command, shutdown monitor and restart monitor Mark Riddoch 2013-07-25 13:13:54 +02:00
  • 003db6eaa9 Added space character so that log_manager will be installed too vraatikka 2013-07-25 13:36:39 +03:00
  • d5b41181ec Prevent reuse of MAXKEYS structure Mark Riddoch 2013-07-25 12:20:28 +02:00
  • 49ea8ab7eb Moved daemonization earlier to ensure that libmysqld is used by one process only. vraatikka 2013-07-25 12:04:27 +03:00
  • 230cab7024 Fixed issue with string length in passwordEncrypt Mark Riddoch 2013-07-25 10:23:34 +02:00
  • 8df4014faa Replaced -I/usr/include/mysql with -I$(MARIADB_SRC_PATH)/include/ vraatikka 2013-07-24 22:52:46 +03:00
  • 7262e8245a Addition of extra check in debugcli Mark Riddoch 2013-07-24 18:22:32 +02:00
  • d2b5f3f8b5 Removed because the AES routines and keys management is now implemented Massimiliano Pinto 2013-07-24 15:17:55 +02:00
  • 602bd33378 Fix incorrect change Jan Lindström 2013-07-24 15:51:39 +03:00
  • 2fc7cb5525 Fixed issues on compiling and linking the library against example and test Jan Lindström 2013-07-24 15:49:36 +03:00
  • 8482c560f7 Shutdown all monitors when shutting down the gateway Mark Riddoch 2013-07-24 14:44:29 +02:00
  • 7cdffb26e6 poll_add_db moved from dcb_connect to backend_dcb->func.connect() Massimiliano Pinto 2013-07-24 14:38:17 +02:00
  • 580ea37551 Removed DEBUG macros around atexit function registrations vraatikka 2013-07-24 15:11:33 +03:00
  • 01441dba64 Addition of password encryption and decryption for passwords stored in the configuration file Mark Riddoch 2013-07-24 14:01:01 +02:00
  • faf58a3038 Added mkdir commands for $DEST and for $DEST/MaxScale vraatikka 2013-07-24 12:56:56 +03:00
  • 8cb1072d34 Protection against double entry on the zombie queue Mark Riddoch 2013-07-23 14:33:50 +02:00
  • 521a66f9c1 Fix for redefinition of MIN and MAX macros Mark Riddoch 2013-07-23 13:19:36 +02:00
  • 6ed63b12d4 Cleanup of fprintf's Mark Riddoch 2013-07-23 13:17:32 +02:00
  • 016e759b2b Addition of hashtable iterator Mark Riddoch 2013-07-23 12:16:22 +02:00
  • 36f62637c9 Addition of daignostics for failure to add users Mark Riddoch 2013-07-23 10:46:58 +02:00
  • d536ca1c2c Addition of default username and password in the monitor Mark Riddoch 2013-07-23 10:02:47 +02:00
  • f559871e7f Added secretsc and .h for read/write masxcale secrets Massimiliano Pinto 2013-07-23 09:50:19 +02:00
  • e63b3a0f4e Added support for blanks between '-c' and config file name vraatikka 2013-07-23 09:11:10 +03:00
  • 5439f01adb Merge vraatikka 2013-07-23 08:36:26 +03:00
  • baed0e846f Changed log_manager to use block-siuze buffers instead of small write buffers. Added new test cases and added iterations. Added possibility to test with dummy disk write which sleeps constantly for 5ms instead of performing disk write. vraatikka 2013-07-23 08:34:43 +03:00
  • f7ddfa73bf Fixed some issues on GTID implementation and added support for storing table replication consistency metadata on MySQL server. Jan Lindström 2013-07-23 07:44:28 +03:00
  • c84f4e099a Replaced hard-coded path with $(HOME)/... vraatikka 2013-07-22 21:50:15 +03:00
  • 949db0fe5b Replaced hard-coded path to home directory with $(HOME)/... Added -lcrypt to core/Makefile so that dynamic linker can resolve reference to it from authuser.o vraatikka 2013-07-22 21:48:10 +03:00
  • 2bd7832a11 Added support for MAXSCALE_HOME env var Massimiliano Pinto 2013-07-22 20:06:34 +02:00
  • 81712f93a9 create_keys.c generates passphrase and init vector for AES in ./secrets.ksey Massimiliano Pinto 2013-07-22 19:56:52 +02:00
  • 64c15fd4fb Fix for documentation issues Mark Riddoch 2013-07-22 17:29:42 +02:00
  • 3407dff210 Addition of a Galera Cluster monitor - sets state of joined on nodes that are joined to the cluster. Mark Riddoch 2013-07-22 17:24:15 +02:00
  • 233b3afd81 Force MYSQL_HOME within the gateway Mark Riddoch 2013-07-22 15:06:54 +02:00
  • f2fe919089 Fix for typo in command help Mark Riddoch 2013-07-22 15:05:21 +02:00
  • 9c34396766 Changed user auth info to 'maxuser', and 'maxpwd' to avoid misuse of my name. vraatikka 2013-07-22 08:15:29 +03:00
  • bce6f88efe Add depend make target and resolve conflict in query_classifier.cc Mark Riddoch 2013-07-19 15:05:21 +02:00
  • 5989a93b0d AES encrypt/decrypt demo programs. Massimiliano Pinto 2013-07-19 14:31:18 +02:00
  • 075f1a2903 Comments added Massimiliano Pinto 2013-07-19 10:31:17 +02:00
  • b9098e04a9 Most fprintf commented Massimiliano Pinto 2013-07-18 14:06:15 +02:00
  • fb68e83888 Fix to debugCLI help Mark Riddoch 2013-07-18 12:42:38 +02:00
  • bdb3bb8763 Added CO_QUIT to session write. Massimiliano Pinto 2013-07-18 11:58:05 +02:00
  • e4f13c678e Addition of admin user support Mark Riddoch 2013-07-18 10:31:16 +02:00
  • 5bfaea1447 Removed fprintf for delayq Massimiliano Pinto 2013-07-17 18:23:34 +02:00
  • d9b47a9651 Addition of login authentication for telnet debug CLI - currently username and password are fixed as admin/skysql Mark Riddoch 2013-07-17 18:12:32 +02:00
  • 9025f7a1be Fprintf removed Massimiliano Pinto 2013-07-17 18:05:57 +02:00
  • 50068f4c97 mysql_client_server_protocol.h in included in readconnroute.c Massimiliano Pinto 2013-07-17 16:12:53 +02:00
  • 9a3dd78926 Addition of reload commands in the debug CLI for users and configuration Mark Riddoch 2013-07-17 16:06:08 +02:00
  • 7ea4d543a1 Updated README in line with the name changes Mark Riddoch 2013-07-17 14:58:49 +02:00
  • 02e60e215b Name change to MaxScale rather than gateway Mark Riddoch 2013-07-17 13:32:04 +02:00
  • 53c6d6daa6 Updates for make install rules Mark Riddoch 2013-07-17 13:31:18 +02:00
  • b6cbe3a34c ReadConnRoute can handle now COM_CHANGE_USER Massimiliano Pinto 2013-07-17 10:39:08 +02:00
  • 91f1b4bc6f Added router command values: they will be used: Massimiliano Pinto 2013-07-16 19:43:39 +02:00
  • 17e33d2ef9 Added command type to: gwbuf struct dcb struct Massimiliano Pinto 2013-07-16 19:32:00 +02:00
  • 7e7737af05 Addition of top level Makefile Mark Riddoch 2013-07-16 16:47:20 +02:00
  • bfc45c570e Added MYSQL_SESSION_CHANGE Massimiliano Pinto 2013-07-16 09:18:16 +02:00
  • e0d9d45f3b Read write split router can reply the master packet to client in session change. Massimiliano Pinto 2013-07-15 18:56:14 +02:00
  • 0d3e798b73 Added descrtiption for auth and generic func pointers Massimiliano Pinto 2013-07-15 13:42:12 +02:00