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
bfd6c218
Commit
bfd6c218
authored
Nov 17, 2004
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/dbdata/psergey/mysql-4.1-heap-bug
parents
1cc999fb
2b111770
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
12 deletions
+10
-12
sql/ha_innodb.cc
sql/ha_innodb.cc
+9
-11
sql/item_func.cc
sql/item_func.cc
+1
-1
No files found.
sql/ha_innodb.cc
View file @
bfd6c218
...
...
@@ -1505,17 +1505,14 @@ innobase_close_connection(
*****************************************************************************/
/********************************************************************
This function is not relevant since we store the tables and indexes
into our own tablespace, not as files, whose extension this function would
give. */
Gives the file extension of an InnoDB single-table tablespace. */
const
char
**
ha_innobase
::
bas_ext
()
const
/*========================*/
/* out: file extension strings, currently not
used */
/* out: file extension string */
{
static
const
char
*
ext
[]
=
{
".
InnoDB
"
,
NullS
};
static
const
char
*
ext
[]
=
{
".
ibd
"
,
NullS
};
return
(
ext
);
}
...
...
@@ -2390,8 +2387,9 @@ ha_innobase::write_row(
same SQL statement! */
if
(
auto_inc
==
0
&&
user_thd
->
next_insert_id
!=
0
)
{
auto_inc
=
user_thd
->
next_insert_id
;
auto_inc_counter_for_this_stat
=
auto_inc
;
auto_inc_counter_for_this_stat
=
user_thd
->
next_insert_id
;
}
if
(
auto_inc
==
0
&&
auto_inc_counter_for_this_stat
)
{
...
...
@@ -2399,14 +2397,14 @@ ha_innobase::write_row(
this SQL statement with SET INSERT_ID. We must
assign sequential values from the counter. */
auto_inc_counter_for_this_stat
++
;
incremented_auto_inc_for_stat
=
TRUE
;
auto_inc
=
auto_inc_counter_for_this_stat
;
/* We give MySQL a new value to place in the
auto-inc column */
user_thd
->
next_insert_id
=
auto_inc
;
auto_inc_counter_for_this_stat
++
;
incremented_auto_inc_for_stat
=
TRUE
;
}
if
(
auto_inc
!=
0
)
{
...
...
sql/item_func.cc
View file @
bfd6c218
...
...
@@ -264,7 +264,7 @@ Item_func::Item_func(THD *thd, Item_func *item)
Sets as a side effect the following class variables:
maybe_null Set if any argument may return NULL
with_sum_func Set if any of the arguments contains a sum function
used_table
_cache Set to union of the arguments used table
used_table
s_cache Set to union of the tables used by arguments
str_value.charset If this is a string function, set this to the
character set for the first argument.
...
...
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