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
658f66e3
Commit
658f66e3
authored
Dec 03, 2007
by
tnurnberg@mysql.com/white.intern.koehntopp.de
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#31177: Server variables can't be set to their current values
additional fixes for 64-bit
parent
31d4e58a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
mysql-test/t/variables.test
mysql-test/t/variables.test
+1
-1
mysys/my_getopt.c
mysys/my_getopt.c
+3
-1
No files found.
mysql-test/t/variables.test
View file @
658f66e3
...
...
@@ -126,7 +126,7 @@ set GLOBAL query_cache_size=100000;
set
GLOBAL
myisam_max_sort_file_size
=
2000000
;
show
global
variables
like
'myisam_max_sort_file_size'
;
set
GLOBAL
myisam_max_sort_file_size
=
default
;
--
replace_result
2147482624
FILE_SIZE
2146435072
FILE_SIZE
--
replace_result
9223372036853727232
FILE_SIZE
2146435072
FILE_SIZE
show
variables
like
'myisam_max_sort_file_size'
;
set
global
net_retry_count
=
10
,
session
net_retry_count
=
10
;
...
...
mysys/my_getopt.c
View file @
658f66e3
...
...
@@ -799,7 +799,7 @@ ulonglong getopt_ull_limit_value(ulonglong num, const struct my_option *optp,
bool
*
fix
)
{
bool
adjusted
=
FALSE
;
ulonglong
old
=
num
,
mod
;
ulonglong
old
=
num
;
char
buf1
[
255
],
buf2
[
255
];
if
((
ulonglong
)
num
>
(
ulonglong
)
optp
->
max_value
&&
...
...
@@ -824,6 +824,8 @@ ulonglong getopt_ull_limit_value(ulonglong num, const struct my_option *optp,
num
=
((
ulonglong
)
ULONG_MAX
);
adjusted
=
TRUE
;
}
#else
num
=
min
(
num
,
LONG_MAX
);
#endif
break
;
default:
...
...
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