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
e7348d51
Commit
e7348d51
authored
Jul 06, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
parents
f398a0bd
ac6e6c12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
sql/sql_acl.cc
sql/sql_acl.cc
+4
-1
No files found.
BitKeeper/etc/logging_ok
View file @
e7348d51
...
...
@@ -11,6 +11,7 @@ administrador@light.hegel.local
ahlentz@co3064164-a.rochd1.qld.optusnet.com.au
akishkin@work.mysql.com
antony@ltantony.dsl-verizon.net
antony@ltantony.rdg.cyberkinetica.com
antony@ltantony.rdg.cyberkinetica.homeunix.net
arjen@bitbike.com
arjen@co3064164-a.bitbike.com
...
...
sql/sql_acl.cc
View file @
e7348d51
...
...
@@ -1790,11 +1790,13 @@ GRANT_TABLE::GRANT_TABLE(TABLE *form, TABLE *col_privs)
col_privs
->
field
[
3
]
->
pack_length
());
key_copy
(
key
,
col_privs
,
0
,
key_len
);
col_privs
->
field
[
4
]
->
store
(
""
,
0
,
&
my_charset_latin1
);
if
(
col_privs
->
file
->
index_read_idx
(
col_privs
->
record
[
0
],
0
,
col_privs
->
file
->
ha_index_init
(
0
);
if
(
col_privs
->
file
->
index_read
(
col_privs
->
record
[
0
],
(
byte
*
)
col_privs
->
field
[
0
]
->
ptr
,
key_len
,
HA_READ_KEY_EXACT
))
{
cols
=
0
;
/* purecov: deadcode */
col_privs
->
file
->
ha_index_end
();
return
;
}
do
...
...
@@ -1814,6 +1816,7 @@ GRANT_TABLE::GRANT_TABLE(TABLE *form, TABLE *col_privs)
my_hash_insert
(
&
hash_columns
,
(
byte
*
)
mem_check
);
}
while
(
!
col_privs
->
file
->
index_next
(
col_privs
->
record
[
0
])
&&
!
key_cmp_if_same
(
col_privs
,
key
,
0
,
key_len
));
col_privs
->
file
->
ha_index_end
();
}
}
...
...
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