diff options
| author | Vadim B. Mikheev | 1997-10-27 12:07:13 +0000 |
|---|---|---|
| committer | Vadim B. Mikheev | 1997-10-27 12:07:13 +0000 |
| commit | 6855820e8f13d798f271dc1498cb56ceb48dc521 (patch) | |
| tree | 7db4d7f78f5634e75f4e5643a44e141cc91378cc /src/include/config.h.in | |
| parent | 9b3d93293adde8f98f75886431202b636ceab004 (diff) | |
c.h:
#define StrNCpy(dst,src,len) \
(strncpy((dst),(src),(len)),(len > 0) ? *((dst)+(len)-1)='\0' : \
NULL,(void)(dst))
^^^^^^ - to avoid "value computed is not used" from gcc
in ma-a-any places (should to fix thouse places instead, but ...
time)
config.h.in:
/*
* TBL_FREE_CMD_MEMORY: free memory allocated for an user query inside
* transaction block after this query is done.
*/
#define TBL_FREE_CMD_MEMORY
- this is default now.
Diffstat (limited to 'src/include/config.h.in')
| -rw-r--r-- | src/include/config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in index 265927672f0..dd57432c870 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -315,4 +315,10 @@ */ #define BTREE_VERSION_1 +/* + * TBL_FREE_CMD_MEMORY: free memory allocated for an user query inside + * transaction block after this query is done. + */ +#define TBL_FREE_CMD_MEMORY + #endif /* CONFIG_H */ |
