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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a680bc76
Commit
a680bc76
authored
Feb 19, 2008
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
dbug.c:
SCCS merged dbug/dbug.c: SCCS merged
parents
0ab7c2f3
b369f21b
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 @
a680bc76
...
...
@@ -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 @
a680bc76
...
...
@@ -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