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
3af99862
Commit
3af99862
authored
Oct 09, 2016
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MariaRocks port: dir_entry has number_of_files with one 'f' in MariaDB
parent
a06faac2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
storage/rocksdb/rdb_datadic.cc
storage/rocksdb/rdb_datadic.cc
+2
-2
storage/rocksdb/rdb_sst_info.cc
storage/rocksdb/rdb_sst_info.cc
+1
-1
No files found.
storage/rocksdb/rdb_datadic.cc
View file @
3af99862
...
...
@@ -3128,7 +3128,7 @@ bool Rdb_validate_tbls::scan_for_frms(
/* Scan through the files in the directory */
struct
fileinfo
*
file_info
=
dir_info
->
dir_entry
;
for
(
uint
ii
=
0
;
ii
<
dir_info
->
number_of
f
_files
;
ii
++
,
file_info
++
)
for
(
uint
ii
=
0
;
ii
<
dir_info
->
number_of_files
;
ii
++
,
file_info
++
)
{
/* Find .frm files that are not temp files (those that start with '#') */
const
char
*
ext
=
strrchr
(
file_info
->
name
,
'.'
);
...
...
@@ -3179,7 +3179,7 @@ bool Rdb_validate_tbls::compare_to_actual_tables(
}
file_info
=
dir_info
->
dir_entry
;
for
(
uint
ii
=
0
;
ii
<
dir_info
->
number_of
f
_files
;
ii
++
,
file_info
++
)
for
(
uint
ii
=
0
;
ii
<
dir_info
->
number_of_files
;
ii
++
,
file_info
++
)
{
/* Ignore files/dirs starting with '.' */
if
(
file_info
->
name
[
0
]
==
'.'
)
...
...
storage/rocksdb/rdb_sst_info.cc
View file @
3af99862
...
...
@@ -398,7 +398,7 @@ void Rdb_sst_info::init(rocksdb::DB* db)
// Scan through the files in the directory
struct
fileinfo
*
file_info
=
dir_info
->
dir_entry
;
for
(
uint
ii
=
0
;
ii
<
dir_info
->
number_of
f
_files
;
ii
++
,
file_info
++
)
for
(
uint
ii
=
0
;
ii
<
dir_info
->
number_of_files
;
ii
++
,
file_info
++
)
{
// find any files ending with m_suffix ...
std
::
string
name
=
file_info
->
name
;
...
...
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