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
625c310b
Commit
625c310b
authored
Mar 16, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: remove debug code from non-debug version
parent
a1931a36
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
35 deletions
+3
-35
innobase/include/que0que.h
innobase/include/que0que.h
+0
-16
innobase/include/que0que.ic
innobase/include/que0que.ic
+0
-18
innobase/que/que0que.c
innobase/que/que0que.c
+3
-1
No files found.
innobase/include/que0que.h
View file @
625c310b
...
@@ -307,22 +307,6 @@ que_thr_peek_stop(
...
@@ -307,22 +307,6 @@ que_thr_peek_stop(
mutex reserved is necessary before deciding
mutex reserved is necessary before deciding
the actual stopping */
the actual stopping */
que_thr_t
*
thr
);
/* in: query thread */
que_thr_t
*
thr
);
/* in: query thread */
/***************************************************************************
Returns TRUE if the query graph is for a SELECT statement. */
UNIV_INLINE
ibool
que_graph_is_select
(
/*================*/
/* out: TRUE if a select */
que_t
*
graph
);
/* in: graph */
/**************************************************************************
Prints info of an SQL query graph node. */
void
que_node_print_info
(
/*================*/
que_node_t
*
node
);
/* in: query graph node */
/* Query graph query thread node: the fields are protected by the kernel
/* Query graph query thread node: the fields are protected by the kernel
mutex with the exceptions named below */
mutex with the exceptions named below */
...
...
innobase/include/que0que.ic
View file @
625c310b
...
@@ -238,21 +238,3 @@ que_thr_peek_stop(
...
@@ -238,21 +238,3 @@ que_thr_peek_stop(
return(FALSE);
return(FALSE);
}
}
/***************************************************************************
Returns TRUE if the query graph is for a SELECT statement. */
UNIV_INLINE
ibool
que_graph_is_select(
/*================*/
/* out: TRUE if a select */
que_t* graph) /* in: graph */
{
if (graph->fork_type == QUE_FORK_SELECT_SCROLL
|| graph->fork_type == QUE_FORK_SELECT_NON_SCROLL) {
return(TRUE);
}
return(FALSE);
}
innobase/que/que0que.c
View file @
625c310b
...
@@ -1034,9 +1034,10 @@ que_thr_stop_for_mysql_no_error(
...
@@ -1034,9 +1034,10 @@ que_thr_stop_for_mysql_no_error(
trx
->
n_active_thrs
--
;
trx
->
n_active_thrs
--
;
}
}
#ifdef UNIV_DEBUG
/**************************************************************************
/**************************************************************************
Prints info of an SQL query graph node. */
Prints info of an SQL query graph node. */
static
void
void
que_node_print_info
(
que_node_print_info
(
/*================*/
/*================*/
...
@@ -1093,6 +1094,7 @@ que_node_print_info(
...
@@ -1093,6 +1094,7 @@ que_node_print_info(
fprintf
(
stderr
,
"Node type %lu: %s, address %p
\n
"
,
type
,
str
,
node
);
fprintf
(
stderr
,
"Node type %lu: %s, address %p
\n
"
,
type
,
str
,
node
);
}
}
#endif
/* UNIV_DEBUG */
/**************************************************************************
/**************************************************************************
Performs an execution step on a query thread. */
Performs an execution step on a query thread. */
...
...
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