mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
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:
parent
22657f672c
commit
9a3fbf0d96
5 changed files with 25 additions and 17 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue