Commit Graph

880 Commits

Author SHA1 Message Date
c28892323a Added support for session commands to readwrite split router.
Added support for multi-statement packets.

This is an intermediate commit to save work. Code is not cleaned and there are debug prints and prototypes to be removed.
2014-03-07 20:53:33 +02:00
513839a43d fix ldconfig file in the package 2014-03-07 02:49:15 +02:00
0d332d8af2 fix ldconfig file in the package 2014-03-07 02:34:05 +02:00
90a6560e6a add ldconfig file and command 2014-03-07 02:17:17 +02:00
27739261fd add make clean 2014-03-06 22:27:41 +02:00
422d6faa9d add more BuildRequires and proper parameters for make command 2014-03-06 15:25:05 +02:00
993f3375fa fix .spec 2014-03-06 13:14:16 +02:00
4f60625a54 Server connection counter is updated in closeSession
Server connection counter is updated in closeSession
2014-03-06 08:45:51 +01:00
895ef4548e MySQL authentication with hostname 2014-03-04 11:23:38 +01:00
3413828242 MySQL authentication with hostname 2014-03-04 11:23:20 +01:00
963c61a83b Merge branch 'master' of https://github.com/skysql/MaxScale 2014-03-04 11:21:16 +01:00
f5a687d30b MySQL authentication with hostname 2014-03-04 11:21:06 +01:00
7154a3f742 Merge branch 'master' of https://github.com/skysql/MaxScale 2014-03-04 11:20:53 +01:00
aa1f5adc9a MySQL authentication with hostname 2014-03-04 11:20:41 +01:00
1a2521f213 Merge branch 'master' of https://github.com/skysql/MaxScale 2014-03-04 11:20:03 +01:00
5488a2862d MySQL authentication with hostname 2014-03-04 11:19:48 +01:00
ad56bed497 Merge branch 'master' of https://github.com/skysql/MaxScale 2014-03-04 11:19:24 +01:00
7fddb625d3 MySQL authentication with hostname 2014-03-04 11:18:50 +01:00
e48e634675 Merge branch 'feature-MAX-2' into develop for Documentation update 2014-03-04 10:44:57 +01:00
32d3b0492d Documentation update for MySQL authentication
Documentation update for MySQL authentication
2014-03-04 10:44:05 +01:00
415221f0c4 Documentation update
Documentation update
2014-03-03 18:34:27 +01:00
c9cdb063ae Merge branch 'master' into develop 2014-03-03 17:55:16 +01:00
0a0463c42c Fix for bug-406
Fix for bug-406 in dcb_alloc()
2014-03-03 17:54:39 +01:00
6322586832 Merge branch 'master' into feature-MAX-2 2014-03-03 17:43:52 +01:00
dfb965e094 Fix for bug 406
Fix for bug 406
2014-03-03 17:30:33 +01:00
c6cfc99ee3 At service startup service->rate_limit.last is set back to USERS_REFRESH_TIME
At service startup service->rate_limit.last is set back to
USERS_REFRESH_TIME
This allows reloading users’ table as soon as possible

Fixed mysql_users_alloc instead of users_alloc in replace_mysql_users()
and added MYSQL_USER_MAXLEN where missing
2014-02-28 18:26:24 +01:00
92d94e16ac Removed duplicated code
Removed duplicated code
2014-02-28 17:55:57 +01:00
bc31ac2ed3 Branch updated from develop
Branch updated from develop
2014-02-28 17:36:48 +01:00
1f533c64ff Files updated for user@host mysql auth
Files updated for user@host mysql auth
2014-02-28 15:47:11 +01:00
22947109b4 Removed extra header file inclusion
Removed extra header file inclusion
2014-02-28 15:07:01 +01:00
a2285e9e00 Compile errors fixed
Compile errors fixed
2014-02-28 12:56:09 +01:00
45543eceed Merge branch 'fix-127' into feature-MAX-2
Conflicts:
server/core/dbusers.c
server/core/service.c
server/core/users.c
server/include/dbusers.h
server/include/users.h
server/modules/protocol/mysql_client.c
server/modules/protocol/mysql_common.c
2014-02-28 12:28:14 +01:00
78799e505f Fix for bug 127 and 345 as part of it
Fix for bug 127 and 345 as part of it
http://bugs.skysql.com/show_bug.cgi?id=127
http://bugs.skysql.com/show_bug.cgi?id=345
2014-02-28 11:29:55 +01:00
9b27c78649 Develop branch updated from Master 2014-02-28 09:43:10 +01:00
9e4a6b3994 Fixed Project Name in doxygate file 2014-02-27 17:01:40 +00:00
3e111534a1 Support for mysql session variable commands, for example, SET AUTOCOMMIT=0
Session commands are identified by query clasisfier, and added to the session command property list in router client session object.
Session commands are then executed in existing backend servers but only one of them will reply to client.
2014-02-26 20:07:09 +02:00
d6180b1eb1 branch 'develop' updated from 'master' 2014-02-21 17:24:41 +01:00
a2c9437385 Merge branch 'feature-MAX-2' into develop 2014-02-21 17:12:30 +01:00
17b328cb9a Added USERS_HASHTABLE_SIZE
Added USERS_HASHTABLE_SIZE,  default size is 52
2014-02-21 17:08:27 +01:00
6a67bfd713 Merge "Traffic is routed to the master if no slaves available". Fix bug-129 2014-02-21 12:32:54 +01:00
9ebf3c3237 Merge "Traffic is routed to the master if no slaves available". Fix bug-129 2014-02-21 12:30:39 +01:00
0e8f29d62a Merge for Fix MySQL 5.1 server handshake 2014-02-21 11:10:14 +01:00
3bb0d650f8 Fix for MySQL 5.1 server handshake
Fix for MySQL 5.1 server handshake
2014-02-21 09:55:41 +01:00
ec7d748275 Code clean up and removed text typos in comments
Code clean up and removed text typos in comments
2014-02-20 16:28:54 +01:00
fa14dceb4b Traffic is routed to the master if no slaves available
Traffic is routed to the master if no slaves available, this applies
for router_options=slave in config file
2014-02-20 13:26:16 +01:00
8d0f893bb8 Added test file for mysql authentication (user@host, passwd)
Added test file for mysql authentication (user@host, passwd)

make -f ./makefile.mysql_users testall
2014-02-17 16:22:52 +01:00
e8d68d7271 Added localhost check in gw_find_mysql_user_password_sha()
Added localhost check in gw_find_mysql_user_password_sha1().
The wilcard check is skipped if user@localhost failed
2014-02-17 10:17:22 +01:00
7ecea7ae7d set dcb->ipv4 for mysql user@host authentication
set dcb->ipv4 for mysql user@host authentication
2014-02-14 18:37:04 +01:00
086399bb20 uh_cmpfun: resolved error in NULL check
uh_cmpfun: resolved error in NULL check
2014-02-14 18:00:19 +01:00
9b6ad904f6 MySQL authentication with user@host, resolved compile errors
MySQL authentication with user@host, resolved compile errors
2014-02-14 17:27:17 +01:00