6f0357b4c5
Add support for cursor.{next,prev,search,search_near,reset}. Change table_create to no longer pass back the table name, WiredTiger's model is that you pass in the object name each time (and the current model means we can't drop the table before we run the tests). Upgrade to the WiredTiger 1.0 release, there's a bug where static libraries aren't created correctly, for now create shared libraries for wterl.
30 lines
487 B
Bash
Executable file
30 lines
487 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
WT_VSN=1.0.0
|
|
|
|
if [ `basename $PWD` != "c_src" ]; then
|
|
pushd c_src
|
|
fi
|
|
|
|
BASEDIR="$PWD"
|
|
|
|
case "$1" in
|
|
clean)
|
|
rm -rf system wiredtiger-$WT_VSN
|
|
;;
|
|
|
|
*)
|
|
test -f system/lib/libwiredtiger.a && exit 0
|
|
|
|
tar -xjf wiredtiger-$WT_VSN.tar.bz2
|
|
|
|
(cd wiredtiger-$WT_VSN/build_posix && \
|
|
../configure --with-pic \
|
|
--prefix=$BASEDIR/system && \
|
|
make && make install)
|
|
|
|
;;
|
|
esac
|
|
|