diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2011-10-04 15:29:39 +0500 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2011-10-04 15:29:39 +0500 |
commit | 0edb291d3addd93f24b99d1446ed9dfb89bc56ad (patch) | |
tree | 57999c2e5ac343fd9c12da0fc11fe1d2bd36f369 /sql/gcalc_slicescan.h | |
parent | e99850774b67f012f078c1a2b36f27dbbea8e804 (diff) | |
download | mariadb-git-0edb291d3addd93f24b99d1446ed9dfb89bc56ad.tar.gz |
GIS code cleanup.
GCALC_xxx macros fixed for the GCALC_DBUG_OFF case.
per-file comments:
sql/gcalc_slicescan.h
GIS code cleanup.
Diffstat (limited to 'sql/gcalc_slicescan.h')
-rw-r--r-- | sql/gcalc_slicescan.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/gcalc_slicescan.h b/sql/gcalc_slicescan.h index 7c2bc85fe03..bf37afd3d66 100644 --- a/sql/gcalc_slicescan.h +++ b/sql/gcalc_slicescan.h @@ -23,10 +23,17 @@ #define GCALC_DBUG_OFF #endif /*DBUG_OFF*/ +#ifndef GCALC_DBUG_OFF #define GCALC_DBUG_PRINT(b) DBUG_PRINT("Gcalc", b) #define GCALC_DBUG_ENTER(a) DBUG_ENTER("Gcalc "a) #define GCALC_DBUG_RETURN(r) DBUG_RETURN(r) #define GCALC_DBUG_ASSERT(r) DBUG_ASSERT(r) +#else +#define GCALC_DBUG_PRINT(b) do {} while(0) +#define GCALC_DBUG_ENTER(a) do {} while(0) +#define GCALC_DBUG_RETURN(r) return (r) +#define GCALC_DBUG_ASSERT(r) do {} while(0) +#endif /*GCALC_DBUG_OFF*/ /* Gcalc_dyn_list class designed to manage long lists of same-size objects |