mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
Split long lines with [] operators better.
This commit is contained in:
parent
a2a7c6cab5
commit
6819c897ae
3 changed files with 12 additions and 13 deletions
|
@ -3854,8 +3854,8 @@ dict_update_statistics_low(
|
|||
|
||||
index = dict_table_get_first_index(table);
|
||||
|
||||
table->stat_n_rows = index->stat_n_diff_key_vals
|
||||
[dict_index_get_n_unique(index)];
|
||||
table->stat_n_rows = index->stat_n_diff_key_vals[
|
||||
dict_index_get_n_unique(index)];
|
||||
|
||||
table->stat_clustered_index_size = index->stat_index_size;
|
||||
|
||||
|
@ -4053,8 +4053,8 @@ dict_index_print_low(
|
|||
#endif /* UNIV_SYNC_DEBUG */
|
||||
|
||||
if (index->n_user_defined_cols > 0) {
|
||||
n_vals = index->stat_n_diff_key_vals
|
||||
[index->n_user_defined_cols];
|
||||
n_vals = index->stat_n_diff_key_vals[
|
||||
index->n_user_defined_cols];
|
||||
} else {
|
||||
n_vals = index->stat_n_diff_key_vals[1];
|
||||
}
|
||||
|
@ -4268,9 +4268,9 @@ dict_print_info_on_foreign_keys(
|
|||
if (i) {
|
||||
putc(' ', file);
|
||||
}
|
||||
ut_print_name(file, trx, FALSE,
|
||||
foreign->referenced_col_names
|
||||
[i]);
|
||||
ut_print_name(
|
||||
file, trx, FALSE,
|
||||
foreign->referenced_col_names[i]);
|
||||
}
|
||||
|
||||
putc(')', file);
|
||||
|
|
|
@ -1117,8 +1117,8 @@ fsp_try_extend_data_file(
|
|||
fprintf(stderr,
|
||||
"InnoDB: Error: Last data file size is %lu,"
|
||||
" max size allowed %lu\n",
|
||||
(ulong) srv_data_file_sizes
|
||||
[srv_n_data_files - 1],
|
||||
(ulong) srv_data_file_sizes[
|
||||
srv_n_data_files - 1],
|
||||
(ulong) srv_last_file_size_max);
|
||||
}
|
||||
|
||||
|
|
|
@ -3014,8 +3014,8 @@ row_sel_pop_cached_row_for_mysql(
|
|||
if (UNIV_UNLIKELY(prebuilt->keep_other_fields_on_keyread)) {
|
||||
/* Copy cache record field by field, don't touch fields that
|
||||
are not covered by current key */
|
||||
cached_rec = prebuilt->fetch_cache
|
||||
[prebuilt->fetch_cache_first];
|
||||
cached_rec = prebuilt->fetch_cache[
|
||||
prebuilt->fetch_cache_first];
|
||||
|
||||
for (i = 0; i < prebuilt->n_template; i++) {
|
||||
templ = prebuilt->mysql_template + i;
|
||||
|
@ -3027,8 +3027,7 @@ row_sel_pop_cached_row_for_mysql(
|
|||
if (templ->mysql_null_bit_mask) {
|
||||
buf[templ->mysql_null_byte_offset]
|
||||
^= (buf[templ->mysql_null_byte_offset]
|
||||
^ cached_rec
|
||||
[templ->mysql_null_byte_offset])
|
||||
^ cached_rec[templ->mysql_null_byte_offset])
|
||||
& (byte)templ->mysql_null_bit_mask;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue