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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
85a5e58d
Commit
85a5e58d
authored
Jan 17, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5.5.58-38.10
parent
f534eef7
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
13 deletions
+24
-13
storage/xtradb/handler/ha_innodb.cc
storage/xtradb/handler/ha_innodb.cc
+5
-2
storage/xtradb/include/data0type.ic
storage/xtradb/include/data0type.ic
+2
-1
storage/xtradb/include/log0online.h
storage/xtradb/include/log0online.h
+5
-1
storage/xtradb/include/page0zip.ic
storage/xtradb/include/page0zip.ic
+1
-1
storage/xtradb/include/univ.i
storage/xtradb/include/univ.i
+1
-1
storage/xtradb/log/log0online.c
storage/xtradb/log/log0online.c
+3
-3
storage/xtradb/row/row0mysql.c
storage/xtradb/row/row0mysql.c
+4
-2
storage/xtradb/row/row0purge.c
storage/xtradb/row/row0purge.c
+2
-1
storage/xtradb/row/row0sel.c
storage/xtradb/row/row0sel.c
+1
-1
No files found.
storage/xtradb/handler/ha_innodb.cc
View file @
85a5e58d
...
...
@@ -5976,7 +5976,8 @@ ha_innobase::innobase_lock_autoinc(void)
break
;
}
}
/* Fall through to old style locking. */
// fallthrough
// to old style locking.
case
AUTOINC_OLD_STYLE_LOCKING
:
error
=
row_lock_table_autoinc_for_mysql
(
prebuilt
);
...
...
@@ -7995,7 +7996,8 @@ create_options_are_valid(
case
ROW_TYPE_DYNAMIC
:
CHECK_ERROR_ROW_TYPE_NEEDS_FILE_PER_TABLE
;
CHECK_ERROR_ROW_TYPE_NEEDS_GT_ANTELOPE
;
/* fall through since dynamic also shuns KBS */
// fallthrough
// since dynamic also shuns KBS
case
ROW_TYPE_COMPACT
:
case
ROW_TYPE_REDUNDANT
:
if
(
kbs_specified
)
{
...
...
@@ -8241,6 +8243,7 @@ ha_innobase::create(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
ER_ILLEGAL_HA_CREATE_OPTION
,
"InnoDB: assuming ROW_FORMAT=COMPACT."
);
// fallthrough
case
ROW_TYPE_DEFAULT
:
case
ROW_TYPE_COMPACT
:
flags
=
DICT_TF_COMPACT
;
...
...
storage/xtradb/include/data0type.ic
View file @
85a5e58d
...
...
@@ -477,7 +477,8 @@ dtype_get_fixed_size_low(
#else /* !UNIV_HOTBACKUP */
return(len);
#endif /* !UNIV_HOTBACKUP */
/* fall through for variable-length charsets */
// fallthrough
// for variable-length charsets
case DATA_VARCHAR:
case DATA_BINARY:
case DATA_DECIMAL:
...
...
storage/xtradb/include/log0online.h
View file @
85a5e58d
...
...
@@ -141,7 +141,11 @@ log_online_bitmap_iterator_next(
/** Struct for single bitmap file information */
struct
log_online_bitmap_file_struct
{
char
name
[
FN_REFLEN
];
/*!< Name with full path */
/** Name with full path
61 is a nice magic constant for the extra space needed for the sprintf
template in the cc file
*/
char
name
[
FN_REFLEN
+
61
];
/*!< Name with full path */
os_file_t
file
;
/*!< Handle to opened file */
ib_uint64_t
size
;
/*!< Size of the file */
ib_uint64_t
offset
;
/*!< Offset of the next read,
...
...
storage/xtradb/include/page0zip.ic
View file @
85a5e58d
...
...
@@ -170,7 +170,7 @@ page_zip_rec_needs_ext(
ignored if zip_size == 0 */
ulint zip_size) /*!< in: compressed page size in bytes, or 0 */
{
ut_ad(rec_size >
comp ? REC_N_NEW_EXTRA_BYTES : REC_N_OLD_EXTRA_BYTES
);
ut_ad(rec_size >
(comp ? REC_N_NEW_EXTRA_BYTES : REC_N_OLD_EXTRA_BYTES)
);
ut_ad(ut_is_2pow(zip_size));
ut_ad(comp || !zip_size);
...
...
storage/xtradb/include/univ.i
View file @
85a5e58d
...
...
@@ -64,7 +64,7 @@ component, i.e. we show M.N.P as M.N */
(
INNODB_VERSION_MAJOR
<<
8
|
INNODB_VERSION_MINOR
)
#
ifndef
PERCONA_INNODB_VERSION
#
define
PERCONA_INNODB_VERSION
38.
9
#
define
PERCONA_INNODB_VERSION
38.
10
#
endif
#
define
INNODB_VERSION_STR
MYSQL_SERVER_VERSION
...
...
storage/xtradb/log/log0online.c
View file @
85a5e58d
...
...
@@ -501,9 +501,9 @@ log_online_make_bitmap_name(
/*=========================*/
ib_uint64_t
start_lsn
)
/*!< in: the start LSN name part */
{
ut_snprintf
(
log_bmp_sys
->
out
.
name
,
FN_REFLEN
,
bmp_file_name_template
,
log_bmp_sys
->
bmp_file_home
,
bmp_file_name_stem
,
log_bmp_sys
->
out_seq_num
,
start_lsn
);
ut_snprintf
(
log_bmp_sys
->
out
.
name
,
sizeof
(
log_bmp_sys
->
out
.
name
),
bmp_file_name_template
,
log_bmp_sys
->
bmp_file_home
,
bmp_file_name_stem
,
log_bmp_sys
->
out_seq_num
,
start_lsn
);
}
/*********************************************************************//**
...
...
storage/xtradb/row/row0mysql.c
View file @
85a5e58d
...
...
@@ -3627,7 +3627,8 @@ row_drop_table_for_mysql(
row_mysql_handle_errors
(
&
err
,
trx
,
NULL
,
NULL
);
/* Fall through to raise error */
// fallthrough
// to raise error
default:
/* No other possible error returns */
...
...
@@ -4398,7 +4399,8 @@ row_check_index_for_mysql(
fputs
(
" InnoDB: Warning: CHECK TABLE on "
,
stderr
);
dict_index_name_print
(
stderr
,
prebuilt
->
trx
,
index
);
fprintf
(
stderr
,
" returned %lu
\n
"
,
ret
);
/* fall through (this error is ignored by CHECK TABLE) */
// fallthrough
// (this error is ignored by CHECK TABLE)
case
DB_END_OF_INDEX
:
func_exit:
mem_free
(
buf
);
...
...
storage/xtradb/row/row0purge.c
View file @
85a5e58d
...
...
@@ -407,7 +407,8 @@ row_purge_remove_sec_if_poss_leaf(
goto
func_exit
;
}
}
/* fall through (the index entry is still needed,
// fallthrough
/* (the index entry is still needed,
or the deletion succeeded) */
case
ROW_NOT_DELETED_REF
:
/* The index entry is still needed. */
...
...
storage/xtradb/row/row0sel.c
View file @
85a5e58d
...
...
@@ -2681,7 +2681,7 @@ row_sel_field_store_in_mysql_format(
case
DATA_SYS
:
/* These column types should never be shipped to MySQL. */
ut_ad
(
0
);
break
;
case
DATA_CHAR
:
case
DATA_FIXBINARY
:
case
DATA_FLOAT
:
...
...
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