Guido Reina
105662d5ba
[Small improvements] In the function TRI_InitPQueue(), instead of initializing pq->_base._items with '\0's by using memset(), TRI_Allocate() is called with 'set' set to true (as it is done in the function CheckPQSize()).
...
In the function CheckPQSize(), the priority queue capacity will be increased only when the new item to be inserted doesn't fit (pq->_base._count + 1 > pq->_base._capacity).
In the function CheckPQSize(), instead of allocating a new buffer and then copying the elements, TRI_Reallocate() is used and the new area is filled with '\0's.
2013-05-05 16:33:09 +02:00
Frank Celler
7908f2b26d
cleanup of indexes, fix for compaction (hash, cap, geo, skiplist, pq, bit-array)
...
Conflicts:
arangod/Ahuacatl/ahuacatl-tokens.c
arangod/BitIndexes/bitarray.c
arangod/BitIndexes/bitarray.h
arangod/BitIndexes/bitarrayIndex.c
arangod/BitIndexes/bitarrayIndex.h
arangod/BitIndexes/masterblocktable.h
arangod/GeoIndex/geo-index.c
arangod/HashIndex/hash-index.c
arangod/PriorityQueue/pqueueindex.c
arangod/PriorityQueue/pqueueindex.h
arangod/PriorityQueue/priorityqueue.c
arangod/PriorityQueue/priorityqueue.h
arangod/SkipLists/compare.h
arangod/SkipLists/skiplist.c
arangod/SkipLists/skiplist.h
arangod/SkipLists/skiplistIndex.c
arangod/SkipLists/skiplistIndex.h
arangod/V8Server/v8-query.cpp
arangod/VocBase/compactor.c
arangod/VocBase/document-collection.c
arangod/VocBase/index.c
arangod/VocBase/index.h
arangod/VocBase/synchroniser.c
arangod/VocBase/voc-shaper.c
arangod/VocBase/vocbase.c
lib/BasicsC/hashes.h
lib/BasicsC/memory.c
lib/ShapedJson/json-shaper.h
lib/ShapedJson/shaped-json.h
utils/cleanupCFiles
2013-03-15 15:45:39 +01:00
Frank Celler
1aa5109fa3
updated disclaimer
2013-03-13 17:03:18 +01:00
Frank Celler
c915bfa5ff
cleanup of indexes, fix for compaction (hash, cap, geo)
...
Conflicts:
arangod/VocBase/compactor.c
arangod/VocBase/document-collection.c
arangod/VocBase/synchroniser.c
arangod/VocBase/vocbase.c
2013-03-11 09:49:58 +01:00
Jan Steemann
6e781f9e1c
cppcheck
2012-12-18 15:24:20 +01:00
Jan Steemann
b5d0457f3a
fixed some issues reported by cppcheck
2012-12-12 18:42:11 +01:00
Oreste Panaia
cd5ed3ac67
added http support for bitarray idnex creation
2012-07-24 14:30:38 +08:00
Oreste Panaia
20bbdab435
Bitarray index first draft
2012-06-26 20:05:49 +08:00
Frank Celler
d2c758d663
the great rename
2012-06-08 15:01:25 +02:00