mirror of
https://github.com/MariaDB/server.git
synced 2025-08-30 11:22:14 +03:00
compatibility issues
Fixed errors reported by valgrind (some errors in NDB remains) myisam/rt_split.c: Added missing cast that caused problem on novell (minor code cleanup) ndb/src/ndbapi/Ndb.cpp: Moved DBUG_ENTER to remove warning from DBUG library sql/field_conv.cc: Added test for valgrind/purify to avoid warning sql/item_sum.cc: Removed comment and added ASSERT as setup can't be called twice anymore sql/sql_delete.cc: Fixed wrong return value sql/sql_parse.cc: More debugging sql/sql_select.cc: Removed duplicate call to setup() which caused a memory leak strings/my_vsnprintf.c: Added support for '%c' (used when printing my_getopt errors)
This commit is contained in:
@@ -1270,8 +1270,10 @@ void free_items(Item *item)
|
||||
|
||||
void cleanup_items(Item *item)
|
||||
{
|
||||
DBUG_ENTER("cleanup_items");
|
||||
for (; item ; item=item->next)
|
||||
item->cleanup();
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
int mysql_table_dump(THD* thd, char* db, char* tbl_name, int fd)
|
||||
|
Reference in New Issue
Block a user