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
df49c4bf
Commit
df49c4bf
authored
Sep 20, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split long lines with [] operators better.
parent
c3459220
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
13 deletions
+12
-13
dict/dict0dict.c
dict/dict0dict.c
+7
-7
fsp/fsp0fsp.c
fsp/fsp0fsp.c
+2
-2
row/row0sel.c
row/row0sel.c
+3
-4
No files found.
dict/dict0dict.c
View file @
df49c4bf
...
@@ -3854,8 +3854,8 @@ dict_update_statistics_low(
...
@@ -3854,8 +3854,8 @@ dict_update_statistics_low(
index
=
dict_table_get_first_index
(
table
);
index
=
dict_table_get_first_index
(
table
);
table
->
stat_n_rows
=
index
->
stat_n_diff_key_vals
table
->
stat_n_rows
=
index
->
stat_n_diff_key_vals
[
[
dict_index_get_n_unique
(
index
)];
dict_index_get_n_unique
(
index
)];
table
->
stat_clustered_index_size
=
index
->
stat_index_size
;
table
->
stat_clustered_index_size
=
index
->
stat_index_size
;
...
@@ -4053,8 +4053,8 @@ dict_index_print_low(
...
@@ -4053,8 +4053,8 @@ dict_index_print_low(
#endif
/* UNIV_SYNC_DEBUG */
#endif
/* UNIV_SYNC_DEBUG */
if
(
index
->
n_user_defined_cols
>
0
)
{
if
(
index
->
n_user_defined_cols
>
0
)
{
n_vals
=
index
->
stat_n_diff_key_vals
n_vals
=
index
->
stat_n_diff_key_vals
[
[
index
->
n_user_defined_cols
];
index
->
n_user_defined_cols
];
}
else
{
}
else
{
n_vals
=
index
->
stat_n_diff_key_vals
[
1
];
n_vals
=
index
->
stat_n_diff_key_vals
[
1
];
}
}
...
@@ -4268,9 +4268,9 @@ dict_print_info_on_foreign_keys(
...
@@ -4268,9 +4268,9 @@ dict_print_info_on_foreign_keys(
if
(
i
)
{
if
(
i
)
{
putc
(
' '
,
file
);
putc
(
' '
,
file
);
}
}
ut_print_name
(
file
,
trx
,
FALSE
,
ut_print_name
(
foreign
->
referenced_col_names
file
,
trx
,
FALSE
,
[
i
]);
foreign
->
referenced_col_names
[
i
]);
}
}
putc
(
')'
,
file
);
putc
(
')'
,
file
);
...
...
fsp/fsp0fsp.c
View file @
df49c4bf
...
@@ -1117,8 +1117,8 @@ fsp_try_extend_data_file(
...
@@ -1117,8 +1117,8 @@ fsp_try_extend_data_file(
fprintf
(
stderr
,
fprintf
(
stderr
,
"InnoDB: Error: Last data file size is %lu,"
"InnoDB: Error: Last data file size is %lu,"
" max size allowed %lu
\n
"
,
" max size allowed %lu
\n
"
,
(
ulong
)
srv_data_file_sizes
(
ulong
)
srv_data_file_sizes
[
[
srv_n_data_files
-
1
],
srv_n_data_files
-
1
],
(
ulong
)
srv_last_file_size_max
);
(
ulong
)
srv_last_file_size_max
);
}
}
...
...
row/row0sel.c
View file @
df49c4bf
...
@@ -3014,8 +3014,8 @@ row_sel_pop_cached_row_for_mysql(
...
@@ -3014,8 +3014,8 @@ row_sel_pop_cached_row_for_mysql(
if
(
UNIV_UNLIKELY
(
prebuilt
->
keep_other_fields_on_keyread
))
{
if
(
UNIV_UNLIKELY
(
prebuilt
->
keep_other_fields_on_keyread
))
{
/* Copy cache record field by field, don't touch fields that
/* Copy cache record field by field, don't touch fields that
are not covered by current key */
are not covered by current key */
cached_rec
=
prebuilt
->
fetch_cache
cached_rec
=
prebuilt
->
fetch_cache
[
[
prebuilt
->
fetch_cache_first
];
prebuilt
->
fetch_cache_first
];
for
(
i
=
0
;
i
<
prebuilt
->
n_template
;
i
++
)
{
for
(
i
=
0
;
i
<
prebuilt
->
n_template
;
i
++
)
{
templ
=
prebuilt
->
mysql_template
+
i
;
templ
=
prebuilt
->
mysql_template
+
i
;
...
@@ -3027,8 +3027,7 @@ row_sel_pop_cached_row_for_mysql(
...
@@ -3027,8 +3027,7 @@ row_sel_pop_cached_row_for_mysql(
if
(
templ
->
mysql_null_bit_mask
)
{
if
(
templ
->
mysql_null_bit_mask
)
{
buf
[
templ
->
mysql_null_byte_offset
]
buf
[
templ
->
mysql_null_byte_offset
]
^=
(
buf
[
templ
->
mysql_null_byte_offset
]
^=
(
buf
[
templ
->
mysql_null_byte_offset
]
^
cached_rec
^
cached_rec
[
templ
->
mysql_null_byte_offset
])
[
templ
->
mysql_null_byte_offset
])
&
(
byte
)
templ
->
mysql_null_bit_mask
;
&
(
byte
)
templ
->
mysql_null_bit_mask
;
}
}
}
}
...
...
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