https://github.com/facebook/rocksdb
Revision b5750790e035fb0d7e8e2d591a5919f95d59d35a authored by Siying Dong on 02 February 2016, 00:39:55 UTC, committed by Siying Dong on 02 February 2016, 00:39:55 UTC
Enable per-request buffer allocation in RandomAccessFile
2 parent s 1ad8182 + 36300fb
Raw File
Tip revision: b5750790e035fb0d7e8e2d591a5919f95d59d35a authored by Siying Dong on 02 February 2016, 00:39:55 UTC
Merge pull request #968 from yuslepukhin/one_shot_buffer
Tip revision: b575079
version.sh
#!/bin/sh
if [ "$#" = "0" ]; then
  echo "Usage: $0 major|minor|patch"
  exit 1
fi
if [ "$1" = "major" ]; then
  cat include/rocksdb/version.h  | grep MAJOR | head -n1 | awk '{print $3}'
fi
if [ "$1" = "minor" ]; then
  cat include/rocksdb/version.h  | grep MINOR | head -n1 | awk '{print $3}'
fi
if [ "$1" = "patch" ]; then
  cat include/rocksdb/version.h  | grep PATCH | head -n1 | awk '{print $3}'
fi
back to top