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
0a78d0aa
Commit
0a78d0aa
authored
May 03, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-review changes.
parent
ad370e3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_test.cc
sql/sql_test.cc
+2
-2
No files found.
sql/sql_test.cc
View file @
0a78d0aa
...
...
@@ -252,7 +252,7 @@ print_plan(JOIN* join, uint idx, double record_count, double read_time,
else
{
fprintf
(
DBUG_FILE
,
"%s; idx:%u, best: %g, a
time: %g, itime
: %g, count: %g
\n
"
,
"%s; idx:%u, best: %g, a
ccumulated: %g, increment
: %g, count: %g
\n
"
,
info
,
idx
,
join
->
best_read
,
current_read_time
,
read_time
,
record_count
);
}
...
...
@@ -272,9 +272,9 @@ print_plan(JOIN* join, uint idx, double record_count, double read_time,
Print the tables in JOIN->best_positions only if at least one complete plan
has been found. An indicator for this is the value of 'join->best_read'.
*/
fputs
(
"BEST_POSITIONS: "
,
DBUG_FILE
);
if
(
join
->
best_read
<
DBL_MAX
)
{
fputs
(
"BEST_POSITIONS: "
,
DBUG_FILE
);
for
(
i
=
0
;
i
<
idx
;
i
++
)
{
pos
=
join
->
best_positions
[
i
];
...
...
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