mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Added all changes from old 4.0 version:
PSTACK, libmysqld and MySQL filesystem UPDATE ... ORDER BY DELETE ... ORDER BY New faster fulltext handling Faster compressed keys
This commit is contained in:
24
pstack/pstacktrace.h
Normal file
24
pstack/pstacktrace.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/* $Header$ */
|
||||
|
||||
/*
|
||||
* Debugging macros.
|
||||
*/
|
||||
|
||||
#ifndef pstacktrace_h_
|
||||
#define pstacktrace_h_
|
||||
|
||||
#define PSTACK_DEBUG 1
|
||||
#undef PSTACK_DEBUG
|
||||
|
||||
#ifdef PSTACK_DEBUG
|
||||
# define TRACE_PUTC(a) putc a
|
||||
# define TRACE_FPUTS(a) fputs a
|
||||
# define TRACE_FPRINTF(a) fprintf a
|
||||
#else /* PSTACK_DEBUG */
|
||||
# define TRACE_PUTC(a) (void)0
|
||||
# define TRACE_FPUTS(a) (void)0
|
||||
# define TRACE_FPRINTF(a) (void)0
|
||||
#endif /* !PSTACK_DEBUG */
|
||||
|
||||
#endif /* pstacktrace_h_ */
|
||||
|
||||
Reference in New Issue
Block a user