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
cd02b19f
Commit
cd02b19f
authored
Jan 24, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug in --relative (-r)
parent
500b90f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
client/mysqladmin.c
client/mysqladmin.c
+2
-2
No files found.
client/mysqladmin.c
View file @
cd02b19f
...
...
@@ -24,7 +24,7 @@
#endif
#define ADMIN_VERSION "8.23"
#define MAX_MYSQL_VAR
64
#define MAX_MYSQL_VAR
256
#define SHUTDOWN_DEF_TIMEOUT 3600
/* Wait for shutdown */
#define MAX_TRUNC_LENGTH 3
...
...
@@ -986,7 +986,7 @@ static void print_relative_row(MYSQL_RES *result, MYSQL_ROW cur, uint row)
printf
(
"| %-*s|"
,
field
->
max_length
+
1
,
cur
[
0
]);
field
=
mysql_fetch_field
(
result
);
tmp
=
cur
[
1
]
?
strtoull
(
cur
[
1
],
NULL
,
0
)
:
(
ulonglong
)
0
;
tmp
=
cur
[
1
]
?
strtoull
(
cur
[
1
],
NULL
,
1
0
)
:
(
ulonglong
)
0
;
printf
(
" %-*s|
\n
"
,
field
->
max_length
+
1
,
llstr
((
tmp
-
last_values
[
row
]),
buff
));
last_values
[
row
]
=
tmp
;
...
...
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