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
30632c44
Commit
30632c44
authored
May 12, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move trx_commit_for_mysql(trx) calls in row0mysql.c before calls to
row_mysql_unlock_data_dictionary(trx), fixing bug #19727.
parent
2d04dfb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
row/row0mysql.c
row/row0mysql.c
+10
-10
No files found.
row/row0mysql.c
View file @
30632c44
...
...
@@ -2540,10 +2540,10 @@ do not allow the discard. We also reserve the data dictionary latch. */
}
funct_exit:
row_mysql_unlock_data_dictionary
(
trx
);
trx_commit_for_mysql
(
trx
);
row_mysql_unlock_data_dictionary
(
trx
);
trx
->
op_info
=
""
;
return
((
int
)
err
);
...
...
@@ -2673,10 +2673,10 @@ row_import_tablespace_for_mysql(
}
funct_exit:
row_mysql_unlock_data_dictionary
(
trx
);
trx_commit_for_mysql
(
trx
);
row_mysql_unlock_data_dictionary
(
trx
);
trx
->
op_info
=
""
;
return
((
int
)
err
);
...
...
@@ -3304,6 +3304,8 @@ fputs(" InnoDB: You are trying to drop table ", stderr);
}
funct_exit:
trx_commit_for_mysql
(
trx
);
if
(
locked_dictionary
)
{
row_mysql_unlock_data_dictionary
(
trx
);
}
...
...
@@ -3312,8 +3314,6 @@ funct_exit:
mem_free
(
dir_path_of_temp_table
);
}
trx_commit_for_mysql
(
trx
);
trx
->
op_info
=
""
;
#ifndef UNIV_HOTBACKUP
...
...
@@ -3392,10 +3392,10 @@ loop:
}
}
row_mysql_unlock_data_dictionary
(
trx
);
trx_commit_for_mysql
(
trx
);
row_mysql_unlock_data_dictionary
(
trx
);
trx
->
op_info
=
""
;
return
(
err
);
...
...
@@ -3788,6 +3788,8 @@ end:
}
funct_exit:
trx_commit_for_mysql
(
trx
);
if
(
!
recovering_temp_table
)
{
row_mysql_unlock_data_dictionary
(
trx
);
}
...
...
@@ -3796,8 +3798,6 @@ funct_exit:
mem_heap_free
(
heap
);
}
trx_commit_for_mysql
(
trx
);
trx
->
op_info
=
""
;
return
((
int
)
err
);
...
...
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