Commit Graph

  • 53b6bc0a25 A number of updates to do with service startup Mark Riddoch 2013-06-19 12:31:40 +02:00
  • 461dc31578 Fixed: Massimiliano Pinto 2013-06-19 11:32:53 +02:00
  • 0fed3d624e Separated libmysqld apart from other libs because it is not used in every case vraatikka 2013-06-18 21:28:56 +03:00
  • a7229a6c24 Separated libmysqld from list of libs which is used in every link command line. vraatikka 2013-06-18 21:28:06 +03:00
  • c5889b606a First version of log_writer and test. Includes objects : logfile, filewriter. Routines : skygw_message_t, simple_mutex. Actual file handling is missing and some clean-up routines as well. Compiles and runs but doesn't do much. vraatikka 2013-06-18 21:17:20 +03:00
  • ec688e6222 Addition of the service, server, serv_protocol and session structure needed to tie the elements together. Mark Riddoch 2013-06-18 16:59:01 +02:00
  • 4d5215e267 mysql_client_server_protocol.h, new file name that avoids conflicts with previous one Massimiliano Pinto 2013-06-17 22:47:14 +02:00
  • f4711f5980 Added Massimiliano Pinto 2013-06-17 21:25:15 +02:00
  • a9e6e14e5d i vraatikka 2013-06-17 18:35:39 +03:00
  • 81bb5bdde8 Adding this too under skygateway vraatikka 2013-06-17 18:32:01 +03:00
  • 4854b56aba try to add query_classifier under skygteway vraatikka 2013-06-17 18:19:46 +03:00
  • 525861cab3 Moved from query_classifier vraatikka 2013-06-17 18:05:53 +03:00
  • aa517205b7 Added mysql_common.c for mysql common routines First attempt to split MySQL routines in client and backend libraries. Compiled on Centos but not tested Massimiliano Pinto 2013-06-17 16:25:22 +02:00
  • 6afc2e432b Addition of -Wall to CFLAGS Cleanup warnings produced by above with the exception of those files requiring reorganisation Mark Riddoch 2013-06-17 14:25:32 +02:00
  • 1300c5d089 Addition of dependencies to the makefile New make target of "make depend" Addition of doxygen building ability Cleanup of docygen comment blocks Initial telnetd protocol module structure Mark Riddoch 2013-06-17 14:03:05 +02:00
  • 876af46cdd Added 3 func defs Massimiliano Pinto 2013-06-17 09:33:07 +02:00
  • 939d2bf46c Addition of a version of printf that can print to a DCB Mark Riddoch 2013-06-15 12:12:21 +01:00
  • fad37adfbf Added comments for gw_mysql_do_authentication Massimiliano Pinto 2013-06-14 18:39:42 +02:00
  • eef179e6d4 Added Massimiliano Pinto 2013-06-14 18:32:51 +02:00
  • 0a5becbe81 Added skeletons for the two MySQL protocol modules. The actual code still needs to be moved into the modules Mark Riddoch 2013-06-14 18:29:08 +02:00
  • cc448f4bb9 Updated testroute after modification to entry point definition Mark Riddoch 2013-06-14 18:28:34 +02:00
  • aa006a9406 gw_mysql_do_authentication puts user, db, and client_sha1 in the (MYSQL_session *) session->data of client DCB. gw_mysql_connect can now access this session->data for transparent authentication Massimiliano Pinto 2013-06-14 18:27:43 +02:00
  • 936ccfeda3 Merged Massimiliano Pinto 2013-06-14 18:13:23 +02:00
  • 1239420be1 create_backend_connection added. Massimiliano Pinto 2013-06-14 18:05:29 +02:00
  • 34372fbc5d Addition of connect function to dcb functions and added dcb_connect routine Mark Riddoch 2013-06-14 17:55:31 +02:00
  • ebbe4bf035 Fixed a space at the beginning of comment Massimiliano Pinto 2013-06-14 17:50:13 +02:00
  • e8d6289ca2 Added void *data for generic session data Massimiliano Pinto 2013-06-14 17:46:44 +02:00
  • 6071f89b4f Commit, again bzr merge Massimiliano Pinto 2013-06-14 17:36:31 +02:00
  • 438ba42f0a Commit these files, fixing bzr merge message Massimiliano Pinto 2013-06-14 17:35:14 +02:00
  • cf6b18a4fe A slight rejig of the server/service setup for the backend databases. Also including the protocol module names. Mark Riddoch 2013-06-14 17:05:00 +02:00
  • 2260bf7587 Addition of Read Connection Balancer for Query Routing Mark Riddoch 2013-06-14 16:26:22 +02:00
  • 6690320542 Commiting these files Massimiliano Pinto 2013-06-14 14:27:43 +02:00
  • 3b86c93adf Addition of global Makefile First example external module, testroute, has been added. This serves more as an example than a real router Updated module loading to used fixed GetModuleObject route and addition of ModuleInit routine Mark Riddoch 2013-06-14 11:51:54 +02:00
  • 748230a7bb Merge commit Massimiliano Pinto 2013-06-13 18:44:29 +02:00
  • a5e1441cb8 Some fprintf removed. Fixed an if statement without brackets Massimiliano Pinto 2013-06-13 18:38:03 +02:00
  • 61cf0c6187 Addition of interface for loading external modules as shared library objects Mark Riddoch 2013-06-13 18:30:15 +02:00
  • 269bef8280 Authentication FAILED triggers client and backend connection close. Massimiliano Pinto 2013-06-13 18:09:14 +02:00
  • a89c2bc1c0 Added gw_mysql_do_authentication() for checking authentication. Massimiliano Pinto 2013-06-13 14:34:37 +02:00
  • 732ff1732f Added username detection ofr authentication Massimiliano Pinto 2013-06-13 10:32:42 +02:00
  • bf36f01c33 Initial work on client flags(comprtess, client connect with db), next is authentication check Massimiliano Pinto 2013-06-13 10:13:43 +02:00
  • e31957f2d1 Initial work on local authentication Massimiliano Pinto 2013-06-13 10:12:50 +02:00
  • 84ec7ffd51 Some fprintf has been removed Massimiliano Pinto 2013-06-13 00:31:35 +02:00
  • 368ce2d8b7 New funcion for reading and store data in gwbuff, and its use in reading from client Massimiliano Pinto 2013-06-12 23:58:41 +02:00
  • 2a9e0b06ef New version Massimiliano Pinto 2013-06-12 22:23:09 +02:00
  • a9bcc3841a Converted mysql_send_ok and MySQLSendHandshake to use the new buffer management Mark Riddoch 2013-06-12 17:13:04 +01:00
  • 82b70e3877 New version, state2string updated Massimiliano Pinto 2013-06-12 17:18:22 +02:00
  • 2cf646d948 in utils.c see line 88 for modifications Massimiliano Pinto 2013-06-12 15:15:09 +02:00
  • 08549ad5ae Addition of some basic statistics on the DCB Mark Riddoch 2013-06-12 13:08:33 +01:00
  • c7f533abaf Split the backend read function as an example, this still needs to be reorganised into protocols Addition of DCB diagnostics, and free routine Mark Riddoch 2013-06-12 12:57:09 +01:00
  • 329a70eccd Addition of example buffer handling Mark Riddoch 2013-06-12 10:01:02 +01:00
  • a70974d8a1 EPOLLER | EPOLLHUP moved at the begininning of the loop Massimiliano Pinto 2013-06-12 09:54:27 +02:00
  • 037055d33e Added clean rule Mark Riddoch 2013-06-12 08:07:50 +01:00
  • d46e256b9a added int parameter to close function Massimiliano Pinto 2013-06-11 17:08:30 +02:00
  • 2a82ba152f Updated GWPROTOCOL structure with new entry points and some documentation Mark Riddoch 2013-06-11 16:04:49 +01:00
  • e820e36aa3 Updated structure and added makefile Mark Riddoch 2013-06-11 14:58:21 +01:00
  • bbe339ac78 Test Massimiliano Pinto 2013-06-11 15:57:10 +02:00
  • b768069a1d repotest Timofey Turenko 2013-06-11 16:52:39 +03:00
  • 0352705b67 New files and new versions Massimiliano Pinto 2013-06-11 13:02:26 +02:00
  • 0c8fdaed01 New versions Massimiliano Pinto 2013-06-11 12:28:37 +02:00
  • b6411bf40a New version, with client socket closed detection Massimiliano Pinto 2013-06-10 19:48:17 +02:00
  • ac08cb4368 New version for gw_mysql_close() Massimiliano Pinto 2013-06-10 15:11:03 +02:00
  • 3413f29e5a New version with DCB_STATE_DISCONNECTED state Massimiliano Pinto 2013-06-10 13:46:59 +02:00
  • 0c2d273a83 New version and new file Massimiliano Pinto 2013-06-10 11:02:13 +02:00
  • dc4cf3ab17 New files Massimiliano Pinto 2013-06-10 10:22:53 +02:00
  • 2f7d3a1335 New version Massimiliano Pinto 2013-06-10 09:29:23 +02:00
  • 912e73f8ee Gateway utils Massimiliano Pinto 2013-06-10 09:21:02 +02:00
  • d82a719ada New version: added ifdef GW_EVENT_DEBUG Massimiliano Pinto 2013-06-10 09:17:50 +02:00
  • ddeaead2d1 New version Massimiliano Pinto 2013-06-10 09:03:13 +02:00
  • ac01de7782 First commit, test bazaar Massimiliano Pinto 2013-06-07 19:51:05 +02:00
  • 5f4a14a5c6 Fixed the right order in skysql_send_eof: Massimiliano Pinto 2013-05-12 22:16:39 +02:00
  • be1f43af6f New version, unused variables deleted. Massimiliano Pinto 2013-05-12 22:11:46 +02:00
  • d426ddba04 New vwersion Massimiliano Pinto 2013-05-12 21:44:26 +02:00
  • 878f3f8518 New version Massimiliano Pinto 2013-05-12 21:09:16 +02:00
  • 4377d2ec9e New version Massimiliano Pinto 2013-05-12 21:00:25 +02:00
  • 60605e8ca3 New version Massimiliano Pinto 2013-05-12 20:57:54 +02:00
  • 296dffc599 New gateway configuration for virtualhosts http Massimiliano Pinto 2013-04-16 09:31:56 +02:00
  • 2359b2bb19 GPL Header added Massimiliano Pinto 2013-04-15 18:16:02 +02:00
  • 9a8c9ab403 New version Massimiliano Pinto 2013-04-09 16:05:47 +02:00
  • 92d3a89fcb Compression supported change_user added: auth token still to be extracted from COM_CHANGE_USER Massimiliano Pinto 2013-01-28 13:48:14 +01:00
  • 27f2bb85a5 New version compatible with prepared statements Massimiliano Pinto 2012-12-14 16:42:14 +01:00
  • fa0b97ac61 New version compatible with prepared statements Massimiliano Pinto 2012-12-14 16:40:34 +01:00
  • 063af3684e Apache 2.4.2 configuration file for SkySql Gateway Massimiliano Pinto 2012-11-21 16:33:39 +01:00
  • 9b756500c5 timeout disabled for tests Massimiliano Pinto 2012-11-21 16:21:20 +01:00
  • efcd6aaf48 First commit of SkySql Gateway with Mysql protocol implemented by Massimiliano Massimiliano Pinto 2012-11-21 11:50:43 +01:00
  • 5178059706 First file Massimiliano Pinto 2012-07-27 17:30:32 +02:00