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
af357180
Commit
af357180
authored
Jun 17, 2004
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cset exclude: marko@hundin.mysql.fi|ChangeSet|20040316101802|63386
parent
0e4d79c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
3 deletions
+35
-3
innobase/include/que0que.h
innobase/include/que0que.h
+16
-0
innobase/include/que0que.ic
innobase/include/que0que.ic
+18
-0
innobase/que/que0que.c
innobase/que/que0que.c
+1
-3
No files found.
innobase/include/que0que.h
View file @
af357180
...
...
@@ -307,6 +307,22 @@ que_thr_peek_stop(
mutex reserved is necessary before deciding
the actual stopping */
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
mutex with the exceptions named below */
...
...
innobase/include/que0que.ic
View file @
af357180
...
...
@@ -238,3 +238,21 @@ que_thr_peek_stop(
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 @
af357180
...
...
@@ -1034,10 +1034,9 @@ que_thr_stop_for_mysql_no_error(
trx
->
n_active_thrs
--
;
}
#ifdef UNIV_DEBUG
/**************************************************************************
Prints info of an SQL query graph node. */
static
void
que_node_print_info
(
/*================*/
...
...
@@ -1094,7 +1093,6 @@ que_node_print_info(
fprintf
(
stderr
,
"Node type %lu: %s, address %p
\n
"
,
type
,
str
,
node
);
}
#endif
/* UNIV_DEBUG */
/**************************************************************************
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