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
c0aba1ab
Commit
c0aba1ab
authored
Sep 06, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #5413 mysqlcheck segfaults when user has to few permissions
parent
130d2fd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
client/mysqlcheck.c
client/mysqlcheck.c
+4
-4
No files found.
client/mysqlcheck.c
View file @
c0aba1ab
...
...
@@ -413,18 +413,18 @@ static int process_all_tables_in_db(char *database)
LINT_INIT
(
res
);
if
(
use_db
(
database
))
return
1
;
if
(
!
(
mysql_query
(
sock
,
"SHOW TABLES"
)
||
(
res
=
mysql_store_result
(
sock
))))
if
(
mysql_query
(
sock
,
"SHOW TABLES"
)
||
!
((
res
=
mysql_store_result
(
sock
))))
return
1
;
if
(
opt_all_in_1
)
{
/*
/*
We need table list in form `a`, `b`, `c`
that's why we need 4 more chars added to to each table name
space is for more readable output in logs and in case of error
*/
char
*
tables
,
*
end
;
uint
tot_length
=
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