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
0e14cb55
Commit
0e14cb55
authored
Jun 07, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Document dict_rename_indexes() better.
parent
b7d65c8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
dict/dict0dict.c
dict/dict0dict.c
+5
-6
include/dict0dict.h
include/dict0dict.h
+3
-3
No files found.
dict/dict0dict.c
View file @
0e14cb55
...
...
@@ -4811,13 +4811,13 @@ dict_redo_remove_index(
}
/**************************************************************************
Add the indexes to SYS_INDEX.*/
Add the indexes to SYS_INDEX.
*/
ulint
dict_rename_indexes
(
/*================*/
trx_t
*
trx
,
/* in: transaction */
ibool
commit_flag
)
/* in: UNUSED
*/
trx_t
*
trx
,
/* in: transaction */
ibool
commit_flag
)
/* in: TRUE=commit, FALSE=rollback
*/
{
dict_redo_t
*
dict_redo
;
ulint
err
=
DB_SUCCESS
;
...
...
@@ -4835,10 +4835,9 @@ dict_rename_indexes(
ut_a
(
index
->
table
);
ut_a
(
!
ut_dulint_is_zero
(
index
->
id
));
ut_a
(
index
->
space
==
index
->
table
->
space
);
#if
def UNIV_DEBUG
#if
0
fprintf(stderr, "Renaming index: %s\n", index->name);
#endif
/* UNIV_DEBUG */
#endif
err
=
row_merge_rename_index
(
trx
,
index
->
table
,
index
);
dict_redo
=
UT_LIST_GET_NEXT
(
node
,
dict_redo
);
...
...
include/dict0dict.h
View file @
0e14cb55
...
...
@@ -1174,13 +1174,13 @@ dict_redo_free_list(
/*================*/
trx_t
*
trx
);
/* in: free this trx's redo list */
/**************************************************************************
Add the indexes to SYS_INDEX.*/
Add the indexes to SYS_INDEX.
*/
ulint
dict_rename_indexes
(
/*================*/
trx_t
*
trx
,
/* in: transaction */
ibool
commit_flag
);
/* in: ignored for now
*/
trx_t
*
trx
,
/* in: transaction */
ibool
commit_flag
);
/* in: TRUE=commit, FALSE=rollback
*/
/**************************************************************************
Remove the index from the transaction's REDO list.*/
...
...
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