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
e40a88ea
Commit
e40a88ea
authored
Feb 25, 2005
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1
into hundin.mysql.fi:/home/heikki/mysql-4.1
parents
88e1ebd0
5f427ec3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
innobase/row/row0sel.c
innobase/row/row0sel.c
+7
-2
No files found.
innobase/row/row0sel.c
View file @
e40a88ea
...
...
@@ -2912,14 +2912,19 @@ row_search_for_mysql(
ut_error
;
}
if
(
trx
->
n_mysql_tables_in_use
==
0
)
{
if
(
trx
->
n_mysql_tables_in_use
==
0
&&
prebuilt
->
select_lock_type
==
LOCK_NONE
)
{
/* Note that if MySQL uses an InnoDB temp table that it
created inside LOCK TABLES, then n_mysql_tables_in_use can
be zero; in that case select_lock_type is set to LOCK_X in
::start_stmt. */
fputs
(
"InnoDB: Error: MySQL is trying to perform a SELECT
\n
"
"InnoDB: but it has not locked any tables in ::external_lock()!
\n
"
,
stderr
);
trx_print
(
stderr
,
trx
);
fputc
(
'\n'
,
stderr
);
ut_a
(
0
);
}
/* fprintf(stderr, "Match mode %lu\n search tuple ", (ulong) match_mode);
...
...
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