pkgsrc/databases/cstore/patches/patch-src_plan_Nodes_SelectNode.cpp
wiz 401deb1bad Add a some missing header files and fix a cast.
Adapt for db4 update post 4.5.
Now dies with segfault during build:
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr
[1]   Abort trap (core dumped) ./cstoreqptest 0...
2011-12-20 13:42:47 +00:00

14 lines
363 B
C++

$NetBSD: patch-src_plan_Nodes_SelectNode.cpp,v 1.1 2011/12/20 13:42:48 wiz Exp $
Add missing header.
--- src/plan/Nodes/SelectNode.cpp.orig 2006-09-29 20:45:18.000000000 +0000
+++ src/plan/Nodes/SelectNode.cpp
@@ -45,6 +45,7 @@
#include "../../AM/CatalogInstance.h"
#include "../../Operators/Union.h"
#include <iostream>
+#include <stdlib.h>
// Default