Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
cea27d30
Commit
cea27d30
authored
Aug 16, 2011
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed build failure in embedded library regarding that decrease_user_connections() was not declared
parent
a75dbb41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
sql/mysql_priv.h
sql/mysql_priv.h
+3
-0
sql/sql_acl.cc
sql/sql_acl.cc
+0
-1
No files found.
sql/mysql_priv.h
View file @
cea27d30
...
...
@@ -809,6 +809,7 @@ inline bool check_merge_table_access(THD *thd, char *db, TABLE_LIST *table_list)
inline
bool
check_some_routine_access
(
THD
*
thd
,
const
char
*
db
,
const
char
*
name
,
bool
is_proc
)
{
return
false
;
}
#define decrease_user_connections(X) do { } while(0)
/* nothing */
#endif
/*NO_EMBEDDED_ACCESS_CHECKS*/
bool
multi_update_precheck
(
THD
*
thd
,
TABLE_LIST
*
tables
);
...
...
@@ -1042,7 +1043,9 @@ bool init_new_connection_handler_thread();
void
reset_mqh
(
LEX_USER
*
lu
,
bool
get_them
);
bool
check_mqh
(
THD
*
thd
,
uint
check_command
);
void
time_out_user_resource_limits
(
THD
*
thd
,
USER_CONN
*
uc
);
#ifndef NO_EMBEDDED_ACCESS_CHECKS
void
decrease_user_connections
(
USER_CONN
*
uc
);
#endif
bool
thd_init_client_charset
(
THD
*
thd
,
uint
cs_number
);
inline
bool
is_supported_parser_charset
(
CHARSET_INFO
*
cs
)
{
...
...
sql/sql_acl.cc
View file @
cea27d30
...
...
@@ -6977,7 +6977,6 @@ bool check_routine_level_acl(THD *thd, const char *db, const char *name,
#undef HAVE_OPENSSL
#ifdef NO_EMBEDDED_ACCESS_CHECKS
#define initialized 0
#define decrease_user_connections(X)
/* nothing */
#define check_for_max_user_connections(X,Y) 0
#define get_or_create_user_conn(A,B,C,D) 0
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment