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
d0eafba1
Commit
d0eafba1
authored
Jan 08, 2008
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make do_error_all_cases static
git-svn-id:
file:///svn/tokudb@1550
c7de825b-a66e-492c-adef-691d508d4ae1
parent
b06ce33a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/ydb.c
src/ydb.c
+1
-1
No files found.
src/ydb.c
View file @
d0eafba1
...
@@ -66,7 +66,7 @@ struct __toku_db_env_internal {
...
@@ -66,7 +66,7 @@ struct __toku_db_env_internal {
// If errfile is set, print to the errfile: prefix, fmt string, maybe include the stderr string.
// If errfile is set, print to the errfile: prefix, fmt string, maybe include the stderr string.
// Both errcall and errfile may be called.
// Both errcall and errfile may be called.
// If errfile is not set and errcall is not set, the use stderr as the errfile.
// If errfile is not set and errcall is not set, the use stderr as the errfile.
void
do_error_all_cases
(
const
DB_ENV
*
env
,
int
error
,
int
include_stderrstring
,
int
use_stderr_if_nothing_else
,
const
char
*
fmt
,
va_list
ap
)
{
static
void
do_error_all_cases
(
const
DB_ENV
*
env
,
int
error
,
int
include_stderrstring
,
int
use_stderr_if_nothing_else
,
const
char
*
fmt
,
va_list
ap
)
{
if
(
env
->
i
->
errcall
)
{
if
(
env
->
i
->
errcall
)
{
// errcall gets prefix sent separately
// errcall gets prefix sent separately
// the error message is the printf message, maybe followed by ": " and the dbstrerror (if include_stderrstring is set)
// the error message is the printf message, maybe followed by ": " and the dbstrerror (if include_stderrstring is set)
...
...
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