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
2877dc2f
Commit
2877dc2f
authored
Jul 16, 2002
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a core dump that occured on AIX and Solaris (and probably others)
in get_options (thanks to Sinisa for fixing this)
parent
8a4502f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/mysqld.cc
sql/mysqld.cc
+3
-3
No files found.
sql/mysqld.cc
View file @
2877dc2f
...
@@ -4493,17 +4493,17 @@ static void get_options(int argc,char **argv)
...
@@ -4493,17 +4493,17 @@ static void get_options(int argc,char **argv)
default_table_type_name
=
ha_table_typelib
.
type_names
[
default_table_type
-
1
];
default_table_type_name
=
ha_table_typelib
.
type_names
[
default_table_type
-
1
];
default_tx_isolation_name
=
tx_isolation_typelib
.
type_names
[
default_tx_isolation
];
default_tx_isolation_name
=
tx_isolation_typelib
.
type_names
[
default_tx_isolation
];
/* To be deleted in MySQL 4.0 */
/* To be deleted in MySQL 4.0 */
if
(
!
thd
->
variables
.
record_rnd_cache_size
)
if
(
thd
&&
!
thd
->
variables
.
record_rnd_cache_size
)
thd
->
variables
.
record_rnd_cache_size
=
my_default_record_cache_size
;
thd
->
variables
.
record_rnd_cache_size
=
my_default_record_cache_size
;
/* Fix variables that are base 1024*1024 */
/* Fix variables that are base 1024*1024 */
myisam_max_temp_length
=
myisam_max_temp_length
=
(
my_off_t
)
min
(((
ulonglong
)
(
my_off_t
)
min
(((
ulonglong
)
thd
->
variables
.
myisam_max_sort_file_size
)
*
1024
*
1024
,
global_system_
variables
.
myisam_max_sort_file_size
)
*
1024
*
1024
,
(
ulonglong
)
MAX_FILE_SIZE
);
(
ulonglong
)
MAX_FILE_SIZE
);
myisam_max_extra_temp_length
=
myisam_max_extra_temp_length
=
(
my_off_t
)
min
(((
ulonglong
)
(
my_off_t
)
min
(((
ulonglong
)
thd
->
variables
.
myisam_max_extra_sort_file_size
)
*
1024
*
1024
,
global_system_
variables
.
myisam_max_extra_sort_file_size
)
*
1024
*
1024
,
(
ulonglong
)
MAX_FILE_SIZE
);
(
ulonglong
)
MAX_FILE_SIZE
);
myisam_block_size
=
(
uint
)
1
<<
my_bit_log2
(
opt_myisam_block_size
);
myisam_block_size
=
(
uint
)
1
<<
my_bit_log2
(
opt_myisam_block_size
);
...
...
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