MassimilianoPinto
970511a275
Update for message errors in DB authentication
...
Update for message errors in DB authentication
2014-10-24 12:20:50 +02:00
MassimilianoPinto
a834b4eeb0
Users correctly counted (with or without dbgrants)
...
Users correctly counted (with or without dbgrants)
2014-10-23 18:31:02 +02:00
MassimilianoPinto
78227bbe30
Added routine documentation
...
Added routine documentation
2014-10-23 17:40:14 +02:00
MassimilianoPinto
cd1ef3722a
db grant log while adding user
...
db grant log while adding user
2014-10-22 18:18:54 +02:00
MassimilianoPinto
6dae7a3c01
Added logging for dbnames
...
Added logging for dbnames
2014-10-22 17:45:17 +02:00
MassimilianoPinto
75001fa90b
added dbnames refresh on auth failure
...
added dbnames refresh on auth failure.
DB authentication will take place only if both dbnames and db grants
are loaded
2014-10-22 12:51:44 +02:00
MassimilianoPinto
e910099586
Merge branch 'develop' into MAX-309
...
Merge branch 'develop' into MAX-309
2014-10-21 18:00:16 +02:00
MassimilianoPinto
761de0ac8a
Removed possible uninitialised pointer value
...
Removed possible uninitialised pointer value in host parsing for
wildcard
2014-10-21 17:51:11 +02:00
MassimilianoPinto
a1f621da30
MySQL authentication with db name
...
MySQL authentication with db name
2014-10-21 16:46:52 +02:00
MassimilianoPinto
3cdb1dc2ae
Added db names as hashtable
...
Added db names as hashtable
2014-10-20 19:26:13 +02:00
MassimilianoPinto
2dfa01fccc
MySQL Auth with dbname check
...
MySQL Auth with dbname check
Unknown database ‘xxxxx’ is returned to client
Proper error number is still missing and also com_change_user need to
be fixed
2014-10-16 19:17:15 +02:00
MassimilianoPinto
a82d18f517
get wildcard loop tidy up
...
get wildcard loop tidy up
2014-10-16 18:11:29 +02:00
MassimilianoPinto
0769deed7f
MySQL Authentication with DBname
...
MySQL Authentication with DBname
2014-10-15 17:26:46 +02:00
MassimilianoPinto
0ae522f1bd
Memory leak in getUsers()
...
Memory leak in getUsers() when no users are loaded due to an error
2014-10-14 12:53:31 +02:00
MassimilianoPinto
6813a0381d
fprintf removed
...
fprintf removed
2014-10-13 10:52:34 +02:00
MassimilianoPinto
d829c323b9
Header history update
...
Header history update
2014-10-13 09:55:42 +02:00
MassimilianoPinto
ee54310a73
Implementation of db auth
...
Implementation of db auth
2014-10-13 09:50:55 +02:00
MassimilianoPinto
dbe078f358
MySQL Authentication with wildcards in hosts
...
MySQL Authentication:
Added support for wildcards in hosts:
a.b.c.%
a.b.%.%
a.%.%.%
2014-10-03 17:26:41 +02:00
MassimilianoPinto
48489234be
Merge branch 'develop' into MAX-268
2014-10-03 16:28:38 +02:00
Markus Makela
b0683d9b4d
Updated the licensing year from 2013 to 2013-2014
2014-10-01 14:37:12 +03:00
Markus Makela
f4e591e382
Changed 'SkySQL Gateway' to 'MariaDB Corporation MaxScale'
2014-09-30 13:15:03 +03:00
Markus Makela
c344231f80
Renamed all occurences of SkySQL to MariaDB Corporation
2014-09-30 13:02:10 +03:00
MassimilianoPinto
5f6d04e7db
Match for Class C,B,A in hosts with %
...
Match for Class C,B,A in hosts with %
2014-09-29 16:50:21 +02:00
MassimilianoPinto
42d0b3c743
Fix for % detection
...
Fix for % detection
2014-09-29 13:02:06 +02:00
MassimilianoPinto
2268bf89aa
Fixed wrong chars
...
Fixed wrong chars
2014-09-29 12:41:15 +02:00
MassimilianoPinto
76320c056b
Match Class C,B,A addresses
...
Match Class C,B,A addresses
2014-09-29 12:08:10 +02:00
MassimilianoPinto
a11303bd58
wildcard in host printed via show dbusers
...
wildcard in host printed via show dbusers
2014-09-29 10:31:04 +02:00
MassimilianoPinto
717f24ce48
Added first support for user@x.y.z.%
...
Added first support for user@x.y.z.%
2014-09-25 13:08:12 +02:00
MassimilianoPinto
4e88833d3e
Fixed memory leak in getUsers bug 439
...
Fixed memory leak in getUsers bug 439
2014-09-15 15:53:09 +02:00
Markus Makela
cc5922b218
Merge branch 'MAX-237' into Z3
2014-09-02 16:58:20 +03:00
VilhoRaatikka
0fed5c2c5b
Fix to bug #510 , http://bugs.skysql.com/show_bug.cgi?id=510 , made every MaxScale thread to call mysql_thread_init() before entering poll_waitevents. Also main thread does this before starting services. Removed all calls to mysql_thread_init() and to mysql_thread_end() from elsewhere than from poll.c:poll_waitevents and from gateway.c:main
...
skygw_utils.cc: replace_literal: fixed memory leak
2014-09-01 19:37:31 +03:00
Markus Makela
164d8b1e32
Fixed various memory leaks
...
dbuser.c: key.user value was never freed
skygw_utils.cc: replace_literal values were not always freed
2014-09-01 13:40:52 +03:00
VilhoRaatikka
7e6cb7afc2
Snapshot of failure tolerance changes.
...
Added a lot of logging to error, trace and message logs which should help the user to handle errors which can't be automatically resolved, like attempt to use nonexisting database.
2014-06-06 23:32:04 +03:00
VilhoRaatikka
70115d35c9
Fix to bug #438 http://bugs.skysql.com/show_bug.cgi?id=438
...
Fixed some compiler warnings, added header includes, return values etc.
2014-05-27 17:07:41 +03:00
MassimilianoPinto
378d00983d
merge from branch 'cenh'
...
merge from branch ‘cenh’
2014-05-26 12:15:34 +02:00
Mark Riddoch
1d08b0100f
Initial binlog prototype
...
Supports pulling binlogs from the master, caching to a local file and relaying to a slave.
Only tested with a single slave and a single MaxScale thread.
2014-05-13 16:06:05 +01:00
VilhoRaatikka
8be4aba223
Added new state to SESSION: SESSION_STATE_STOPPING, which is set in protocol module before calling closeSession (router). THe new state tells that session is closing and DCBs included may not be polling anymore.
...
Fixed some crash scenarios.
2014-05-08 23:17:35 +03:00
MassimilianoPinto
40b7ce6d43
Buffer for users' table SHA1 hash is set to zero before using it and strncopy used instead of snprintf
...
Buffer for users' table SHA1 hash is set to zero before using it and
strncopy used instead of snprintf
2014-03-27 17:19:10 +01:00
MassimilianoPinto
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
MassimilianoPinto
92d94e16ac
Removed duplicated code
...
Removed duplicated code
2014-02-28 17:55:57 +01:00
MassimilianoPinto
bc31ac2ed3
Branch updated from develop
...
Branch updated from develop
2014-02-28 17:36:48 +01:00
MassimilianoPinto
1f533c64ff
Files updated for user@host mysql auth
...
Files updated for user@host mysql auth
2014-02-28 15:47:11 +01:00
MassimilianoPinto
22947109b4
Removed extra header file inclusion
...
Removed extra header file inclusion
2014-02-28 15:07:01 +01:00
MassimilianoPinto
a2285e9e00
Compile errors fixed
...
Compile errors fixed
2014-02-28 12:56:09 +01:00
MassimilianoPinto
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
MassimilianoPinto
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
MassimilianoPinto
17b328cb9a
Added USERS_HASHTABLE_SIZE
...
Added USERS_HASHTABLE_SIZE, default size is 52
2014-02-21 17:08:27 +01:00
MassimilianoPinto
086399bb20
uh_cmpfun: resolved error in NULL check
...
uh_cmpfun: resolved error in NULL check
2014-02-14 18:00:19 +01:00
MassimilianoPinto
6a12e99001
MySQL authentication with user@host
...
MySQL authentication with user@host: user, host and pass word are
loaded from backend servers.
Host is currently handled as IPv4 address
2014-02-14 15:56:48 +01:00
MassimilianoPinto
e4876b3abb
Enable/disable root user in services
...
Added support for enable/disable root user, this is currently used in
MySQL authentication
2014-02-06 15:58:37 +01:00