pkgsrc/databases/cstore/patches/patch-ah
agc 9ea820f008 Initial import of cstore-0.2, a "column store" relational database,
into the Packages Collection. This package is meant to support data
warehousing in a much more efficient manner than traditional RDBMSs.

	C-Store is a read-optimized relational DBMS that contrasts sharply
	with most current systems, which are write-optimized.  Among the many
	differences in its design are:

	+ storage of data by column rather than by row,

	+ careful coding and packing of objects into storage including main
	memory during query processing,

	+ storing an overlapping collection of column-oriented projections,
	rather than the current fare of tables and indexes,

	+ a non-traditional implementation of transactions which includes high
	availability and snapshot isolation for read-only transactions,

	+ and the extensive use of bitmap indexes to complement B-tree
	structures.

Please note that the storage required for this package could be viewed
as being quite extreme - the standard build and data occupies in excess
of 20 GB, and that is all installed into ${PREFIX} at installation
time.
2007-11-10 11:33:00 +00:00

17 lines
584 B
Text

$NetBSD: patch-ah,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- src/common/DatasourceFilters.cpp 2007/11/07 20:41:58 1.1
+++ src/common/DatasourceFilters.cpp 2007/11/07 20:42:15
@@ -114,10 +114,12 @@
case Predicate::OP_GREATER_THAN_OR_EQUAL:
case Predicate::OP_EQUAL:
lookupOnValue=true;
+ {
//for now assume value is an integer ... fix later ...
ValPos* vp = pred->getRHS();
assert(vp->type == ValPos::INTTYPE);
value=*(int*)vp->value;
+ }
break;
case Predicate::OP_LESS_THAN:
case Predicate::OP_LESS_THAN_OR_EQUAL: