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
0bbccfde
Commit
0bbccfde
authored
Jan 07, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
include/my_dbug.h: formatting
parent
3c44bca6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
dbug/dbug.c
dbug/dbug.c
+0
-1
include/my_dbug.h
include/my_dbug.h
+10
-10
No files found.
dbug/dbug.c
View file @
0bbccfde
...
...
@@ -951,7 +951,6 @@ void _db_enter_(const char *_func_, const char *_file_,
*
_slevel_
=
0
;
/* Set to avoid valgrind warnings if dbug is enabled later */
return
;
}
get_code_state_or_return
;
save_errno
=
errno
;
*
_sfunc_
=
cs
->
func
;
...
...
include/my_dbug.h
View file @
0bbccfde
...
...
@@ -81,20 +81,20 @@ extern FILE *_db_fp_(void);
#define DBUG_ASSERT(A) assert(A)
#define DBUG_EXPLAIN(buf,len) _db_explain_(0, (buf),(len))
#define DBUG_EXPLAIN_INITIAL(buf,len) _db_explain_init_((buf),(len))
#define DEBUGGER_OFF
_dbug_on_= 0
#define DEBUGGER_ON
_dbug_on_= 1
#define DEBUGGER_OFF
do { _dbug_on_= 0; } while(0)
#define DEBUGGER_ON
do { _dbug_on_= 1; } while(0)
#define IF_DBUG(A) A
#else
/* No debugger */
#define DBUG_ENTER(a1)
#define DBUG_LEAVE
#define DBUG_RETURN(a1) do { return(a1); } while(0)
#define DBUG_VOID_RETURN do { return; } while(0)
#define DBUG_EXECUTE(keyword,a1) do { } while(0)
#define DBUG_EXECUTE_IF(keyword,a1) do { } while(0)
#define DBUG_RETURN(a1)
do { return(a1); } while(0)
#define DBUG_VOID_RETURN
do { return; } while(0)
#define DBUG_EXECUTE(keyword,a1)
do { } while(0)
#define DBUG_EXECUTE_IF(keyword,a1)
do { } while(0)
#define DBUG_EVALUATE(keyword,a1,a2) (a2)
#define DBUG_EVALUATE_IF(keyword,a1,a2) (a2)
#define DBUG_PRINT(keyword,arglist) do { } while(0)
#define DBUG_PRINT(keyword,arglist)
do { } while(0)
#define DBUG_PUSH(a1)
#define DBUG_SET(a1)
#define DBUG_SET_INITIAL(a1)
...
...
@@ -104,14 +104,14 @@ extern FILE *_db_fp_(void);
#define DBUG_LONGJMP(a1) longjmp(a1)
#define DBUG_DUMP(keyword,a1,a2)
#define DBUG_END()
#define DBUG_ASSERT(A) do { } while(0)
#define DBUG_ASSERT(A)
do { } while(0)
#define DBUG_LOCK_FILE
#define DBUG_FILE (stderr)
#define DEBUGGER_OFF
#define DEBUGGER_ON
#define DBUG_UNLOCK_FILE
#define DBUG_EXPLAIN(buf,len)
#define DBUG_EXPLAIN_INITIAL(buf,len)
#define DEBUGGER_OFF do { } while(0)
#define DEBUGGER_ON do { } while(0)
#define IF_DBUG(A)
#endif
#ifdef __cplusplus
...
...
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