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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2fd0acd3
Commit
2fd0acd3
authored
Dec 07, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the 64-bit Windows build
parent
a02cac47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_acl.cc
sql/sql_acl.cc
+2
-2
No files found.
sql/sql_acl.cc
View file @
2fd0acd3
...
@@ -9621,7 +9621,7 @@ static int handle_grant_struct(enum enum_acl_lists struct_no, bool drop,
...
@@ -9621,7 +9621,7 @@ static int handle_grant_struct(enum enum_acl_lists struct_no, bool drop,
elements
=
acl_users
.
elements
;
elements
=
acl_users
.
elements
;
break
;
break
;
case
DB_ACL
:
case
DB_ACL
:
elements
=
acl_dbs
.
elements
(
);
elements
=
int
(
acl_dbs
.
elements
()
);
break
;
break
;
case
COLUMN_PRIVILEGES_HASH
:
case
COLUMN_PRIVILEGES_HASH
:
grant_name_hash
=
&
column_priv_hash
;
grant_name_hash
=
&
column_priv_hash
;
...
@@ -11274,7 +11274,7 @@ static int show_database_grants(THD *thd, SHOW_VAR *var, char *buff,
...
@@ -11274,7 +11274,7 @@ static int show_database_grants(THD *thd, SHOW_VAR *var, char *buff,
{
{
var
->
type
=
SHOW_UINT
;
var
->
type
=
SHOW_UINT
;
var
->
value
=
buff
;
var
->
value
=
buff
;
*
(
uint
*
)
buff
=
acl_dbs
.
elements
(
);
*
(
uint
*
)
buff
=
uint
(
acl_dbs
.
elements
()
);
return
0
;
return
0
;
}
}
...
...
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