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
03658e7e
Commit
03658e7e
authored
May 20, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: ha_innodb.cc: Clean up some comments.
parent
e5a4fee2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
handler/ha_innodb.cc
handler/ha_innodb.cc
+8
-3
No files found.
handler/ha_innodb.cc
View file @
03658e7e
...
@@ -5111,8 +5111,8 @@ ha_innobase::change_active_index(
...
@@ -5111,8 +5111,8 @@ ha_innobase::change_active_index(
/**************************************************************************
/**************************************************************************
Positions an index cursor to the index specified in keynr. Fetches the
Positions an index cursor to the index specified in keynr. Fetches the
row if any.
*/
row if any.
/*
??? This is only used to read whole keys ??? */
??? This is only used to read whole keys ??? */
UNIV_INTERN
UNIV_INTERN
int
int
ha_innobase
::
index_read_idx
(
ha_innobase
::
index_read_idx
(
...
@@ -8636,11 +8636,16 @@ ha_innobase::get_auto_increment(
...
@@ -8636,11 +8636,16 @@ ha_innobase::get_auto_increment(
dict_table_autoinc_unlock
(
prebuilt
->
table
);
dict_table_autoinc_unlock
(
prebuilt
->
table
);
}
}
/* See comment in handler.h */
/***********************************************************************
Reset the auto-increment counter to the given value, i.e. the next row
inserted will get the given value. This is called e.g. after TRUNCATE
is emulated by doing a 'DELETE FROM t'. HA_ERR_WRONG_COMMAND is
returned by storage engines that don't support this operation. */
UNIV_INTERN
UNIV_INTERN
int
int
ha_innobase
::
reset_auto_increment
(
ha_innobase
::
reset_auto_increment
(
/*==============================*/
/*==============================*/
/* out: 0 or error code */
ulonglong
value
)
/* in: new value for table autoinc */
ulonglong
value
)
/* in: new value for table autoinc */
{
{
DBUG_ENTER
(
"ha_innobase::reset_auto_increment"
);
DBUG_ENTER
(
"ha_innobase::reset_auto_increment"
);
...
...
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