6071f89b4f 
					 
					
						
						
							
							Commit, again bzr merge  
						
						 
						
						
						
						
					 
					
						2013-06-14 17:36:31 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						438ba42f0a 
					 
					
						
						
							
							Commit these files, fixing bzr merge message  
						
						 
						
						
						
						
					 
					
						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. 
						
						
					 
					
						2013-06-14 17:05:00 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2260bf7587 
					 
					
						
						
							
							Addition of Read Connection Balancer for Query Routing  
						
						 
						
						
						
						
					 
					
						2013-06-14 16:26:22 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6690320542 
					 
					
						
						
							
							Commiting these files  
						
						 
						
						
						
						
					 
					
						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 
						
						
					 
					
						2013-06-14 11:51:54 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						748230a7bb 
					 
					
						
						
							
							Merge commit  
						
						 
						
						
						
						
					 
					
						2013-06-13 18:44:29 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a5e1441cb8 
					 
					
						
						
							
							Some fprintf removed.  
						
						 
						
						... 
						
						
						
						Fixed an if statement without brackets 
						
						
					 
					
						2013-06-13 18:38:03 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						61cf0c6187 
					 
					
						
						
							
							Addition of interface for loading external modules as shared library objects  
						
						 
						
						
						
						
					 
					
						2013-06-13 18:30:15 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						269bef8280 
					 
					
						
						
							
							Authentication FAILED  triggers client and backend connection close.  
						
						 
						
						... 
						
						
						
						mysqlslap tests show some memory is nod deallocated, probably some gwbuffer incorrect use or the error handling is not triggering any consume action on buffers. 
						
						
					 
					
						2013-06-13 18:09:14 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a89c2bc1c0 
					 
					
						
						
							
							Added gw_mysql_do_authentication() for checking authentication.  
						
						 
						
						... 
						
						
						
						I uses the mysql protocol 4.1 authentication method.
The actual implementation requires the password is excatly equal to the username.
The client sends user: "user" and the password must be "user"
The gateway converts "user" in SHA1(SHA1("user") and then using the algorithm check all the data.
if the clients sends anything else than "user" the password algorithm check will fail.
IN the next release we must load into memory the content of mysql.user table, with fields user and password in memory.
The gateway will then find the HEX(SHA1(SHA1(real_password))) fro tahta table and check the incoming data.
Please note that real_password is not stored in any place: not in mysql db nor in the gateway. 
						
						
					 
					
						2013-06-13 14:34:37 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						732ff1732f 
					 
					
						
						
							
							Added username detection ofr authentication  
						
						 
						
						
						
						
					 
					
						2013-06-13 10:32:42 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bf36f01c33 
					 
					
						
						
							
							Initial work on client flags(comprtess, client connect with db), next is authentication check  
						
						 
						
						
						
						
					 
					
						2013-06-13 10:13:43 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e31957f2d1 
					 
					
						
						
							
							Initial work on local authentication  
						
						 
						
						
						
						
					 
					
						2013-06-13 10:12:50 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						84ec7ffd51 
					 
					
						
						
							
							Some fprintf has been removed  
						
						 
						
						
						
						
					 
					
						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  
						
						 
						
						
						
						
					 
					
						2013-06-12 23:58:41 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2a9e0b06ef 
					 
					
						
						
							
							New version  
						
						 
						
						
						
						
					 
					
						2013-06-12 22:23:09 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a9bcc3841a 
					 
					
						
						
							
							Converted mysql_send_ok and MySQLSendHandshake to use the new buffer management  
						
						 
						
						... 
						
						
						
						Also added the -p option to set listener port. This is a short term measure for testing only
until we have the proper configuration in place. 
						
						
					 
					
						2013-06-12 17:13:04 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						82b70e3877 
					 
					
						
						
							
							New version, state2string updated  
						
						 
						
						
						
						
					 
					
						2013-06-12 17:18:22 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2cf646d948 
					 
					
						
						
							
							in utils.c see line 88 for modifications  
						
						 
						
						
						
						
					 
					
						2013-06-12 15:15:09 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						08549ad5ae 
					 
					
						
						
							
							Addition of some basic statistics on the DCB  
						
						 
						
						
						
						
					 
					
						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 
						
						
					 
					
						2013-06-12 12:57:09 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						329a70eccd 
					 
					
						
						
							
							Addition of example buffer handling  
						
						 
						
						
						
						
					 
					
						2013-06-12 10:01:02 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a70974d8a1 
					 
					
						
						
							
							EPOLLER | EPOLLHUP moved at the begininning of the loop  
						
						 
						
						
						
						
					 
					
						2013-06-12 09:54:27 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						037055d33e 
					 
					
						
						
							
							Added clean rule  
						
						 
						
						
						
						
					 
					
						2013-06-12 08:07:50 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d46e256b9a 
					 
					
						
						
							
							added int parameter to close function  
						
						 
						
						
						
						
					 
					
						2013-06-11 17:08:30 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2a82ba152f 
					 
					
						
						
							
							Updated GWPROTOCOL structure with new entry points and some documentation  
						
						 
						
						
						
						
					 
					
						2013-06-11 16:04:49 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e820e36aa3 
					 
					
						
						
							
							Updated structure and added makefile  
						
						 
						
						
						
						
					 
					
						2013-06-11 14:58:21 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bbe339ac78 
					 
					
						
						
							
							Test  
						
						 
						
						
						
						
					 
					
						2013-06-11 15:57:10 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b768069a1d 
					 
					
						
						
							
							repotest  
						
						 
						
						
						
						
					 
					
						2013-06-11 16:52:39 +03:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0352705b67 
					 
					
						
						
							
							New files and new versions  
						
						 
						
						
						
						
					 
					
						2013-06-11 13:02:26 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0c8fdaed01 
					 
					
						
						
							
							New versions  
						
						 
						
						
						
						
					 
					
						2013-06-11 12:28:37 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b6411bf40a 
					 
					
						
						
							
							New version, with client socket closed detection  
						
						 
						
						
						
						
					 
					
						2013-06-10 19:48:17 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ac08cb4368 
					 
					
						
						
							
							New version for gw_mysql_close()  
						
						 
						
						
						
						
					 
					
						2013-06-10 15:11:03 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3413f29e5a 
					 
					
						
						
							
							New version with DCB_STATE_DISCONNECTED state  
						
						 
						
						
						
						
					 
					
						2013-06-10 13:46:59 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0c2d273a83 
					 
					
						
						
							
							New version and new file  
						
						 
						
						
						
						
					 
					
						2013-06-10 11:02:13 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dc4cf3ab17 
					 
					
						
						
							
							New files  
						
						 
						
						
						
						
					 
					
						2013-06-10 10:22:53 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2f7d3a1335 
					 
					
						
						
							
							New version  
						
						 
						
						
						
						
					 
					
						2013-06-10 09:29:23 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						912e73f8ee 
					 
					
						
						
							
							Gateway utils  
						
						 
						
						
						
						
					 
					
						2013-06-10 09:21:02 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d82a719ada 
					 
					
						
						
							
							New version: added ifdef GW_EVENT_DEBUG  
						
						 
						
						
						
						
					 
					
						2013-06-10 09:17:50 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ddeaead2d1 
					 
					
						
						
							
							New version  
						
						 
						
						
						
						
					 
					
						2013-06-10 09:03:13 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ac01de7782 
					 
					
						
						
							
							First commit, test bazaar  
						
						 
						
						
						
						
					 
					
						2013-06-07 19:51:05 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5f4a14a5c6 
					 
					
						
						
							
							Fixed the right order in skysql_send_eof:  
						
						 
						
						... 
						
						
						
						1. Send the skysql_warning_count
2. Send the skysql_server_status 
						
						
					 
					
						2013-05-12 22:16:39 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						be1f43af6f 
					 
					
						
						
							
							New version, unused variables deleted.  
						
						 
						
						
						
						
					 
					
						2013-05-12 22:11:46 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d426ddba04 
					 
					
						
						
							
							New vwersion  
						
						 
						
						
						
						
					 
					
						2013-05-12 21:44:26 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						878f3f8518 
					 
					
						
						
							
							New version  
						
						 
						
						
						
						
					 
					
						2013-05-12 21:09:16 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4377d2ec9e 
					 
					
						
						
							
							New version  
						
						 
						
						
						
						
					 
					
						2013-05-12 21:00:25 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						60605e8ca3 
					 
					
						
						
							
							New version  
						
						 
						
						
						
						
					 
					
						2013-05-12 20:57:54 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						296dffc599 
					 
					
						
						
							
							New gateway configuration for virtualhosts http  
						
						 
						
						... 
						
						
						
						Examples with curl: view/change the configuration 
						
						
					 
					
						2013-04-16 09:31:56 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2359b2bb19 
					 
					
						
						
							
							GPL Header added  
						
						 
						
						
						
						
					 
					
						2013-04-15 18:16:02 +02:00