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
a0aac3e3
Commit
a0aac3e3
authored
Feb 24, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#ifdef innodb specific code, (old_innodb_table_locks)
parent
b90e9e4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
sql/sql_parse.cc
sql/sql_parse.cc
+8
-1
No files found.
sql/sql_parse.cc
View file @
a0aac3e3
...
...
@@ -1866,7 +1866,11 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
mysqld_list_fields
(
thd
,
&
table_list
,
fields
);
thd
->
lex
->
unit
.
cleanup
();
thd
->
cleanup_after_query
();
#ifdef HAVE_INNOBASE_DB
release_local_lock
(
thd
,
locked_tables
,
old_innodb_table_locks
);
#else
release_local_lock
(
thd
,
locked_tables
,
false
);
#endif
break
;
}
#endif
...
...
@@ -4597,8 +4601,11 @@ cleanup:
if
(
thd
->
lock
==
thd
->
locked_tables
)
thd
->
lock
=
0
;
}
#ifdef HAVE_INNOBASE_DB
release_local_lock
(
thd
,
locked_tables
,
old_innodb_table_locks
);
#else
release_local_lock
(
thd
,
locked_tables
,
false
);
#endif
DBUG_RETURN
(
res
||
thd
->
net
.
report_error
);
}
...
...
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