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
b3fb88dc
Commit
b3fb88dc
authored
Dec 17, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use symlinks when using HAVE_purify.
Fix compile problem in sql_cache.cc
parent
4dbd9e06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
sql/mysqld.cc
sql/mysqld.cc
+7
-0
sql/sql_cache.cc
sql/sql_cache.cc
+2
-0
No files found.
sql/mysqld.cc
View file @
b3fb88dc
...
...
@@ -3556,7 +3556,14 @@ static void get_options(int argc,char **argv)
int
c
,
option_index
=
0
;
myisam_delay_key_write
=
1
;
// Allow use of this
#ifndef HAVE_purify
my_use_symdir
=
1
;
// Use internal symbolic links
#else
/* Symlinks gives too many warnings with purify */
my_disable_symlinks
=
1
;
my_use_symdir
=
0
;
have_symlink
=
SHOW_OPTION_DISABLED
;
#endif
optind
=
0
;
// setup in case getopt() was called previously
while
((
c
=
getopt_long
(
argc
,
argv
,
"ab:C:h:#::T::?l::L:O:P:sS::t:u:noVvWI?"
,
...
...
sql/sql_cache.cc
View file @
b3fb88dc
...
...
@@ -2160,7 +2160,9 @@ uint Query_cache::find_bin(ulong size)
}
uint
bin
=
steps
[
left
].
idx
-
(
uint
)((
size
-
steps
[
left
].
size
)
/
steps
[
left
].
increment
);
#ifndef DBUG_OFF
bins_dump
();
#endif
DBUG_PRINT
(
"qcache"
,
(
"bin %u step %u, size %lu step size %lu"
,
bin
,
left
,
size
,
steps
[
left
].
size
));
DBUG_RETURN
(
bin
);
...
...
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