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
3eaca005
Commit
3eaca005
authored
Dec 05, 2017
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure that mysqladmin also works with MariaDB 10.3 + more
Increase the number of status variabels that can be handled
parent
51c73a43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
client/mysqladmin.cc
client/mysqladmin.cc
+4
-4
No files found.
client/mysqladmin.cc
View file @
3eaca005
...
...
@@ -34,9 +34,9 @@
char
*
host
=
NULL
,
*
user
=
0
,
*
opt_password
=
0
,
*
default_charset
=
(
char
*
)
MYSQL_AUTODETECT_CHARSET_NAME
;
char
truncated_var_names
[
MAX_MYSQL_VAR
][
MAX_TRUNC_LENGTH
];
char
ex_var_names
[
MAX_MYSQL_VAR
][
FN_REFLEN
];
ulonglong
last_values
[
MAX_MYSQL_VAR
];
char
truncated_var_names
[
MAX_MYSQL_VAR
+
100
][
MAX_TRUNC_LENGTH
];
char
ex_var_names
[
MAX_MYSQL_VAR
+
100
][
FN_REFLEN
];
ulonglong
last_values
[
MAX_MYSQL_VAR
+
100
];
static
int
interval
=
0
;
static
my_bool
option_force
=
0
,
interrupted
=
0
,
new_line
=
0
,
opt_compress
=
0
,
opt_local
=
0
,
opt_relative
=
0
,
opt_verbose
=
0
,
...
...
@@ -885,7 +885,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
return
-
1
;
}
DBUG_ASSERT
(
mysql_num_rows
(
res
)
<
MAX_MYSQL_VAR
);
DBUG_ASSERT
(
mysql_num_rows
(
res
)
<
MAX_MYSQL_VAR
+
100
);
if
(
!
opt_vertical
)
print_header
(
res
);
...
...
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