Permalink
Browse files

fixed a bug

git-svn-id: http://svn1.bj.corp.yahoo.com/repos/WebEng/lifesearch/memcacheq@59938 82b2e94c-9313-0410-8ced-81db5252d7f6
  • Loading branch information...
xunxin
xunxin committed May 28, 2009
1 parent 75e3772 commit a414df255359bb4592a60d43384ac30f1b387fb1
Showing with 4 additions and 4 deletions.
  1. +1 −1 bdb.c
  2. +3 −3 run.sh
View
2 bdb.c
@@ -222,7 +222,7 @@ void bdb_qlist_db_open(void){
/* Iterate over the database, retrieving each record in turn. */
while ((ret = cursorp->get(cursorp, &dbkey, &dbdata, DB_NEXT)) == 0) {
- memset(&queue_rec, 0, sizeof(queue_rec_t));
+ //memset(&queue_rec, 0, sizeof(queue_rec_t));
ret = open_exsited_queue_db(txn, queue_name, &queue_rec.queue_dbp);
if (ret != 0){
goto err;
View
6 run.sh
@@ -2,10 +2,10 @@
export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.7/lib:$LDLIBRARY_PATH
killall memcacheq
-sleep 2
-rm -rf mydata
+#sleep 2
+#rm -rf mydata
#./memcacheq -p 22201 -B 65500 -d -r -c 1024 -m 256 -H ./mydata -A 65536 -N -v > ./testenv.log 2>&1
-sleep 1
+#sleep 1
#./memcacheq -S 100 -p 22201 -B 4067 -A 4096 -r -c 1024 -m 64 -H ./mydata -vv
./memcacheq -p 22201 -B 32738 -A 32768 -r -c 1024 -m 64 -H ./mydata -vv

0 comments on commit a414df2

Please sign in to comment.