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
de1026b2
Commit
de1026b2
authored
Feb 19, 2008
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
dbug.c:
SCCS merged dbug/dbug.c: SCCS merged
parents
340f3369
09ab159d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
dbug/dbug.c
dbug/dbug.c
+1
-6
storage/maria/unittest/ma_test_loghandler-t.c
storage/maria/unittest/ma_test_loghandler-t.c
+5
-0
No files found.
dbug/dbug.c
View file @
de1026b2
...
...
@@ -1979,12 +1979,7 @@ static void DBUGOpenFile(CODE_STATE *cs,
else
{
newfile
=
!
EXISTS
(
name
);
if
(
!
(
fp
=
fopen
(
name
,
#if defined(MSDOS) || defined(__WIN__)
append
?
"a+c"
:
"wc"
#else
append
?
"a+"
:
"w"
#endif
if
(
!
(
fp
=
fopen
(
name
,
append
?
"a+"
:
"w"
)))
)))
{
(
void
)
fprintf
(
stderr
,
ERR_OPEN
,
cs
->
process
,
name
);
...
...
storage/maria/unittest/ma_test_loghandler-t.c
View file @
de1026b2
...
...
@@ -151,6 +151,11 @@ int main(int argc __attribute__((unused)), char *argv[])
MY_INIT
(
argv
[
0
]);
if
(
my_set_max_open_files
(
100
)
<
100
)
{
fprintf
(
stderr
,
"can't allocate 100 file descriptors
\n
"
);
exit
(
1
);
}
bzero
(
&
pagecache
,
sizeof
(
pagecache
));
maria_data_root
=
(
char
*
)
"."
;
if
(
maria_log_remove
())
...
...
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