Fix for valgrind's warning

sql/gstream.cc:
  checking for ending \0 changed with m_limit
sql/gstream.h:
  checking for ending \0 changed with m_limit
sql/item_geofunc.cc:
  we should check for null value before we use val_str result
sql/item_strfunc.cc:
  get rid of annoying warnings
sql/spatial.h:
  error about size_t type fixed
This commit is contained in:
unknown 2004-03-15 16:32:53 +04:00
commit 9a3fbf0d96
5 changed files with 25 additions and 17 deletions

View file

@ -157,7 +157,7 @@ struct Geometry_buffer;
class Geometry
{
public:
static void *operator new(unsigned size_t, void *buffer)
static void *operator new(size_t size, void *buffer)
{
return buffer;
}