Massimiliano Pinto
77c759ac33
New version of mysql async connect: preparing for the new connect()
2013-07-03 10:01:35 +02:00
Massimiliano Pinto
903b906044
Added the backend delayq: this will assure incoming data are queued before mysql backend connection is complete
...
After connection data will be written to backend
2013-07-03 09:34:22 +02:00
Massimiliano Pinto
cd692bc020
gw_write_backend_event and gw_MySQLWrite_backend modified
2013-07-02 14:41:36 +02:00
Massimiliano Pinto
6b8ab60628
Added strdup in log_manager call
2013-07-01 17:59:10 +02:00
Massimiliano Pinto
5408ec1a93
Added SS_DEBUG for logmanager
2013-07-01 17:58:32 +02:00
Massimiliano Pinto
e3f08e392b
Comment modified in gw_MySQLWrite_backend
2013-07-01 17:44:39 +02:00
vraatikka
fd52e967db
I hope that I don't break anything. Did some changes to Makefiles and sources so that liblog_manager.so can be linked-in and used.
2013-06-27 23:28:13 +03:00
vraatikka
3af4089c87
Modified Makefiles so that liblog_manager.so can be linked in in compilation of core/gateway.c modules/protocol/mysql_backend.c and in modules/routing readconnroute.c.
...
Modified source files by adding a few logging commands (skygw_log_write) to them, and by adding includes of necessary header files.
2013-06-27 23:14:33 +03:00
Massimiliano Pinto
d965b991e6
Fixed the server_capabilities and final_capabilities initialization
2013-06-27 12:09:28 +02:00
Massimiliano Pinto
c1981b4dc6
Removed othere fprintf
2013-06-27 00:38:55 +02:00
Massimiliano Pinto
60c4ef45be
Removed a fprintf with a uint8_t pointer that is not NULL terminated
2013-06-27 00:22:21 +02:00
Massimiliano Pinto
f2455467ad
Added same size for buffer in read and write to backend socket
2013-06-26 23:29:26 +02:00
Massimiliano Pinto
031b6e4978
New version with all warning fixed
2013-06-26 12:33:47 +02:00
Massimiliano Pinto
462f34c2ca
Fixed some compile warnings
2013-06-26 12:18:48 +02:00
Massimiliano Pinto
243c4870e7
Reverted versions
2013-06-26 12:07:38 +02:00
Massimiliano Pinto
b0c193c160
Authentication funcs changed:
...
support for user without password.
Some better documentation in gw_mysql_connect.
2013-06-25 16:39:07 +02:00
Massimiliano Pinto
8209c268e6
Removed useless comment
2013-06-25 08:50:52 +02:00
Massimiliano Pinto
626699170f
Removed a fprintf with wrong data to print
2013-06-24 19:29:41 +02:00
Massimiliano Pinto
e767c70acb
Added backend connections via session_alloc called after AUTH_OK
...
the newSession calls connect_dcb and then the connect() in mysql_backend.c
The selected backend is always the last one ath the moment.
For the transparent Authentication dcb->data is used to store MySQL session data before starting the session.
This could be revisited.
Please note the COM_QUIT in mysql_client.c has the close functionalities but they are now disabled for testing/debug
2013-06-21 13:05:51 +02:00
Mark Riddoch
78c371e92f
Changes to connect infrastructure
2013-06-19 19:11:35 +02:00
Mark Riddoch
0fc2f9dda3
Removed the passing of epoll fd and isolated epoll functionality to
...
a signle file
Addition of show epoll debug CLI command
2013-06-19 16:29:52 +02:00
Massimiliano Pinto
4d5215e267
mysql_client_server_protocol.h, new file name that avoids conflicts with previous one
2013-06-17 22:47:14 +02:00
Massimiliano Pinto
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
mysql_protocol.h header file is coming soon.
2013-06-17 16:25:22 +02:00
Mark Riddoch
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
2013-06-17 14:03:05 +02:00
Mark Riddoch
0a5becbe81
Added skeletons for the two MySQL protocol modules. The actual code still needs to be moved into the modules
2013-06-14 18:29:08 +02:00