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
1ff1cb10
Commit
1ff1cb10
authored
Jun 06, 2013
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compile error
parent
5cf5a9a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/sql_acl.cc
sql/sql_acl.cc
+1
-1
No files found.
sql/sql_acl.cc
View file @
1ff1cb10
...
@@ -968,7 +968,7 @@ static my_bool acl_load(THD *thd, TABLE_LIST *tables)
...
@@ -968,7 +968,7 @@ static my_bool acl_load(THD *thd, TABLE_LIST *tables)
{
{
/* Starting from 5.0.3 we have max_user_connections field */
/* Starting from 5.0.3 we have max_user_connections field */
ptr
=
get_field
(
thd
->
mem_root
,
table
->
field
[
next_field
++
]);
ptr
=
get_field
(
thd
->
mem_root
,
table
->
field
[
next_field
++
]);
user
.
user_resource
.
user_conn
=
ptr
?
ato
ll
(
ptr
)
:
0
;
user
.
user_resource
.
user_conn
=
ptr
?
ato
i
(
ptr
)
:
0
;
}
}
if
(
table
->
s
->
fields
>=
41
)
if
(
table
->
s
->
fields
>=
41
)
...
...
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