5ef7ddfe1f
Bug 653 - Memory overwrite
2014-12-16 15:34:06 +00:00
2d4073267c
Added support for a.%, a.%.% and a.b.%
...
Added support for a.%, a.%.% and a.b.% in dbusers.c
2014-12-04 19:01:17 +01:00
d063df0f4a
Update message
2014-11-26 11:10:59 +00:00
31f5017d6d
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-11-26 11:04:48 +00:00
6ee9a84cef
Updated error messages
2014-11-26 11:04:33 +00:00
398eee8ece
Added a log message for mysql_old_password
...
Added a log message for mysql_old_password detection: user is not loaded
2014-11-26 11:44:38 +01:00
69a1c5aaf5
Changed log messages for dousers
...
Changed log messages for dousers
2014-11-20 11:31:54 +01:00
fd11e6a7f5
Session-specific logging. Added functions
...
void session_enable_log(SESSION* ses, logfile_id_t id)
and
void session_disable_log(SESSION* ses, logfile_id_t id)
Which switch specific log type on/off if the log type in question is not generally enabled.
Each thread carries a thread-specific struct log_info_t which includes members for current session id and bitfield for enabled log types for the current session. That information is checked before actual log write functions are called.
Each file where session-specific logging is used, must include the following exports:
/** Defined in log_manager.cc */
extern int lm_enabled_logfiles_bitmask;
extern size_t log_ses_count[];
extern __thread log_info_t tls_log_info;
2014-11-19 00:08:59 +02:00
238c476d3a
getUsers try selecting a Master server
...
getUsers try selecting a Master server if available.
Next users reload will connect to master server
2014-11-13 17:41:50 +01:00
665315ea5c
Fix to bug #612 , http://bugs.mariadb.com/show_bug.cgi?id=612
...
Also added error logging in cases where memory allocation failed etc.
2014-11-05 22:04:36 +02:00
8b91a5f078
Fix to bug #610 , http://bugs.mariadb.com/show_bug.cgi?id=610
...
Fixes to Coverity issues 72728, 72755, 72745
2014-11-05 14:41:04 +02:00
09b3351427
Added mysqld_error.h in dbusers
...
Added mysqld_error.h in dbusers
2014-10-31 11:22:15 +01:00
fabf62c065
Coverity 72739
...
Coverity 72739
2014-10-30 17:23:24 +01:00
6c0406b7b9
Coverity: 72739
...
Coverity: 72739
2014-10-30 17:03:09 +01:00
728c5d5e3a
Removed db names display
...
Removed db names display, db name will be included in user detail only
2014-10-29 10:00:42 +01:00
9541f6529c
Added missing statement and bracket
...
Added missing statement and bracket
2014-10-24 16:04:47 +02:00
9eb0e3088b
Updated debug log messages
2014-10-24 16:00:55 +02:00
970511a275
Update for message errors in DB authentication
...
Update for message errors in DB authentication
2014-10-24 12:20:50 +02:00
a834b4eeb0
Users correctly counted (with or without dbgrants)
...
Users correctly counted (with or without dbgrants)
2014-10-23 18:31:02 +02:00
78227bbe30
Added routine documentation
...
Added routine documentation
2014-10-23 17:40:14 +02:00
cd1ef3722a
db grant log while adding user
...
db grant log while adding user
2014-10-22 18:18:54 +02:00
6dae7a3c01
Added logging for dbnames
...
Added logging for dbnames
2014-10-22 17:45:17 +02:00
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
e910099586
Merge branch 'develop' into MAX-309
...
Merge branch 'develop' into MAX-309
2014-10-21 18:00:16 +02:00
761de0ac8a
Removed possible uninitialised pointer value
...
Removed possible uninitialised pointer value in host parsing for
wildcard
2014-10-21 17:51:11 +02:00
a1f621da30
MySQL authentication with db name
...
MySQL authentication with db name
2014-10-21 16:46:52 +02:00
3cdb1dc2ae
Added db names as hashtable
...
Added db names as hashtable
2014-10-20 19:26:13 +02:00
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
a82d18f517
get wildcard loop tidy up
...
get wildcard loop tidy up
2014-10-16 18:11:29 +02:00
0769deed7f
MySQL Authentication with DBname
...
MySQL Authentication with DBname
2014-10-15 17:26:46 +02:00
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
6813a0381d
fprintf removed
...
fprintf removed
2014-10-13 10:52:34 +02:00
d829c323b9
Header history update
...
Header history update
2014-10-13 09:55:42 +02:00
ee54310a73
Implementation of db auth
...
Implementation of db auth
2014-10-13 09:50:55 +02:00
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
48489234be
Merge branch 'develop' into MAX-268
2014-10-03 16:28:38 +02:00
b0683d9b4d
Updated the licensing year from 2013 to 2013-2014
2014-10-01 14:37:12 +03:00
f4e591e382
Changed 'SkySQL Gateway' to 'MariaDB Corporation MaxScale'
2014-09-30 13:15:03 +03:00
c344231f80
Renamed all occurences of SkySQL to MariaDB Corporation
2014-09-30 13:02:10 +03:00
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
42d0b3c743
Fix for % detection
...
Fix for % detection
2014-09-29 13:02:06 +02:00
2268bf89aa
Fixed wrong chars
...
Fixed wrong chars
2014-09-29 12:41:15 +02:00
76320c056b
Match Class C,B,A addresses
...
Match Class C,B,A addresses
2014-09-29 12:08:10 +02:00
a11303bd58
wildcard in host printed via show dbusers
...
wildcard in host printed via show dbusers
2014-09-29 10:31:04 +02:00
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
4e88833d3e
Fixed memory leak in getUsers bug 439
...
Fixed memory leak in getUsers bug 439
2014-09-15 15:53:09 +02:00
cc5922b218
Merge branch 'MAX-237' into Z3
2014-09-02 16:58:20 +03:00
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
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
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