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
eadd2c4e
Commit
eadd2c4e
authored
Jan 27, 2007
by
df@kahlann.erinye.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build fix for sunfire100b. This can go when BUG#14420 is fixed.
parent
a4208cdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
+26
-2
dbug/dbug.c
dbug/dbug.c
+14
-0
dbug/factorial.c
dbug/factorial.c
+12
-2
No files found.
dbug/dbug.c
View file @
eadd2c4e
...
@@ -2375,4 +2375,18 @@ va_list ap;
...
@@ -2375,4 +2375,18 @@ va_list ap;
#endif
/* NO_VARARGS */
#endif
/* NO_VARARGS */
#else
/*
* Dummy function, workaround for MySQL bug#14420 related
* build failure on a platform where linking with an empty
* archive fails.
*
* This block can be removed as soon as a fix for bug#14420
* is implemented.
*/
int
i_am_a_dummy_function
()
{
return
0
;
}
#endif
#endif
dbug/factorial.c
View file @
eadd2c4e
#ifdef DBUG_OFF
/* We are testing dbug */
#ifdef DBUG_OFF
/* We are testing dbug */
#undef DBUG_OFF
#endif
int
factorial
(
register
int
value
)
{
if
(
value
>
1
)
{
value
*=
factorial
(
value
-
1
);
}
return
value
;
}
#else
#include <my_global.h>
#include <my_global.h>
...
@@ -15,3 +22,6 @@ register int value)
...
@@ -15,3 +22,6 @@ register int value)
DBUG_PRINT
(
"result"
,
(
"result is %d"
,
value
));
DBUG_PRINT
(
"result"
,
(
"result is %d"
,
value
));
DBUG_RETURN
(
value
);
DBUG_RETURN
(
value
);
}
}
#endif
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