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
3194e335
Commit
3194e335
authored
Oct 05, 2012
by
Michael Widenius
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge
parents
ac891c61
00433b1b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
4 deletions
+10
-4
sql/handler.cc
sql/handler.cc
+2
-1
sql/item_subselect.cc
sql/item_subselect.cc
+1
-1
sql/rpl_mi.cc
sql/rpl_mi.cc
+2
-1
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+1
-0
storage/xtradb/handler/ha_innodb.cc
storage/xtradb/handler/ha_innodb.cc
+2
-1
support-files/compiler_warnings.supp
support-files/compiler_warnings.supp
+2
-0
No files found.
sql/handler.cc
View file @
3194e335
...
...
@@ -2671,7 +2671,8 @@ int handler::update_auto_increment()
if
(
unlikely
(
nr
==
ULONGLONG_MAX
))
DBUG_RETURN
(
HA_ERR_AUTOINC_ERANGE
);
DBUG_PRINT
(
"info"
,(
"auto_increment: %lu"
,
(
ulong
)
nr
));
DBUG_PRINT
(
"info"
,(
"auto_increment: %llu nb_reserved_values: %llu"
,
nr
,
nb_reserved_values
));
/* Store field without warning (Warning will be printed by insert) */
save_count_cuted_fields
=
thd
->
count_cuted_fields
;
...
...
sql/item_subselect.cc
View file @
3194e335
...
...
@@ -220,7 +220,7 @@ bool Item_subselect::fix_fields(THD *thd_param, Item **ref)
uint8
uncacheable
;
bool
res
;
status_var_increment
(
thd
->
status_var
.
feature_subquery
);
status_var_increment
(
thd
_param
->
status_var
.
feature_subquery
);
DBUG_ASSERT
(
fixed
==
0
);
engine
->
set_thd
((
thd
=
thd_param
));
...
...
sql/rpl_mi.cc
View file @
3194e335
...
...
@@ -666,7 +666,8 @@ void create_logfile_name_with_suffix(char *res_file_name, uint length,
length
-=
(
suffix
->
length
-
ext_pos
);
/* Leave place for extension */
p
=
res_file_name
+
ext_pos
;
*
p
++=
'-'
;
/* Add separator */
p
=
strmake
(
p
,
res
,
min
(
length
-
(
p
-
res_file_name
),
res_length
));
p
=
strmake
(
p
,
res
,
min
((
size_t
)
(
length
-
(
p
-
res_file_name
)),
res_length
));
/* Add back extension. We have checked above that there is space for it */
strmov
(
p
,
ext
);
}
...
...
storage/innobase/handler/ha_innodb.cc
View file @
3194e335
...
...
@@ -10299,6 +10299,7 @@ ha_innobase::get_auto_increment(
take care of this */
prebuilt
->
autoinc_last_value
=
0
;
dict_table_autoinc_unlock
(
prebuilt
->
table
);
*
nb_reserved_values
=
0
;
return
;
}
*
nb_reserved_values
=
trx
->
n_autoinc_rows
;
...
...
storage/xtradb/handler/ha_innodb.cc
View file @
3194e335
...
...
@@ -11249,6 +11249,7 @@ ha_innobase::get_auto_increment(
take care of this */
prebuilt
->
autoinc_last_value
=
0
;
dict_table_autoinc_unlock
(
prebuilt
->
table
);
*
nb_reserved_values
=
0
;
return
;
}
*
nb_reserved_values
=
trx
->
n_autoinc_rows
;
...
...
@@ -13043,7 +13044,7 @@ static MYSQL_SYSVAR_ENUM(corrupt_table_action, srv_pass_corrupt_table,
"Warn corruptions of user tables as 'corrupt table' instead of not crashing itself, "
"when used with file_per_table. "
"All file io for the datafile after detected as corrupt are disabled, "
"except for the deletion."
,
"except for the deletion.
Possible options are 'assert', 'warn' & 'salvage'
"
,
NULL
,
NULL
,
0
,
&
corrupt_table_action_typelib
);
static
MYSQL_SYSVAR_ULINT
(
lazy_drop_table
,
srv_lazy_drop_table
,
...
...
support-files/compiler_warnings.supp
View file @
3194e335
...
...
@@ -193,6 +193,8 @@ ma_packrec\.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 550
#
.* : .*no matching operator delete found; memory will not be freed if initialization throws an exception.*
ctype-simple\.c : .*unary minus operator applied to unsigned type, result still unsigned.*
sql/sys_vars\.cc : invalid access to non-static data member
sql/sys_vars\.cc : perhaps the 'offsetof' macro was used incorrectly
# Wrong warning due to GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478
regexec\.c : passing argument 3 of.*matcher.* discards qualifiers from pointer target type
...
...
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