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
2aab1f66
Commit
2aab1f66
authored
Nov 28, 2007
by
Bradley C. Kuszmaul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indentation
git-svn-id:
file:///svn/tokudb@784
c7de825b-a66e-492c-adef-691d508d4ae1
parent
9565b06b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
newbrt/brt.c
newbrt/brt.c
+4
-4
No files found.
newbrt/brt.c
View file @
2aab1f66
...
...
@@ -1587,10 +1587,10 @@ int brt_open(BRT t, const char *fname, const char *fname_in_env, const char *dbn
for
(
i
=
0
;
i
<
t
->
h
->
n_named_roots
;
i
++
)
{
if
(
strcmp
(
t
->
h
->
names
[
i
],
dbname
)
==
0
)
{
if
(
only_create
)
{
r
=
EEXIST
;
goto
died1
;
/* deallocate everything. */
}
else
goto
found_it
;
r
=
EEXIST
;
goto
died1
;
/* deallocate everything. */
}
else
goto
found_it
;
}
}
if
((
t
->
h
->
names
=
toku_realloc
(
t
->
h
->
names
,
(
1
+
t
->
h
->
n_named_roots
)
*
sizeof
(
*
t
->
h
->
names
)))
==
0
)
{
assert
(
errno
==
ENOMEM
);
r
=
ENOMEM
;
goto
died1
;
}
...
...
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