1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Fix problems compiling with memory-management enabled. Ticket #1619. (CVS 2960)

FossilOrigin-Name: 36b03259654ffa9b14ebe1093984b29e9efbd56c
This commit is contained in:
danielk1977
2006-01-16 15:32:23 +00:00
parent bab45c647d
commit 8212defca2
6 changed files with 25 additions and 34 deletions

View File

@@ -14,7 +14,7 @@
** This file contains functions for allocating memory, comparing
** strings, and stuff like that.
**
** $Id: util.c,v 1.171 2006/01/15 11:39:18 danielk1977 Exp $
** $Id: util.c,v 1.172 2006/01/16 15:32:23 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -647,11 +647,9 @@ void sqlite3ReallocOrFree(void **pp, int n){
** is the number of bytes that were available to SQLite using pointer p,
** regardless of how much memory was actually allocated.
*/
#if 0 /* This is never actually used */
int sqlite3AllocSize(void *p){
return OSSIZEOF(p);
}
#endif
/*
** Make a copy of a string in memory obtained from sqliteMalloc(). These