diff options
author | unknown <gkodinov@mysql.com> | 2006-06-28 16:28:29 +0300 |
---|---|---|
committer | unknown <gkodinov@mysql.com> | 2006-06-28 16:28:29 +0300 |
commit | 730d16614db30e76938ab3eccf09ce7c1528d334 (patch) | |
tree | 8f6f02345cdd926c0af1e67a5d6e5063c631876e /sql/spatial.h | |
parent | d62551af39fc05b3c7184fbf20d949376a801052 (diff) | |
download | mariadb-git-730d16614db30e76938ab3eccf09ce7c1528d334.tar.gz |
gcc 4.1 linux warning fixes backported from 5.0.
sql/item_cmpfunc.h:
gcc 4.1 linux warning fixes backported from 5.0
sql/opt_range.cc:
gcc 4.1 linux warning fixes.
sql/spatial.h:
gcc 4.1 linux warning fixes backported from 5.0
sql/sql_select.h:
gcc 4.1 linux warning fixes.
sql/sql_update.cc:
gcc 4.1 linux warning fixes.
Diffstat (limited to 'sql/spatial.h')
-rw-r--r-- | sql/spatial.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/spatial.h b/sql/spatial.h index 206958b3eaf..378233a2156 100644 --- a/sql/spatial.h +++ b/sql/spatial.h @@ -165,6 +165,8 @@ struct Geometry_buffer; class Geometry { public: + Geometry() {} /* remove gcc warning */ + virtual ~Geometry() {} /* remove gcc warning */ static void *operator new(size_t size, void *buffer) { return buffer; @@ -173,6 +175,8 @@ public: static void operator delete(void *ptr, void *buffer) {} + static void operator delete(void *buffer) {} /* remove gcc warning */ + enum wkbType { wkb_point= 1, |