Adjustments to db handling

This commit is contained in:
Max O'Cull 2019-01-19 22:34:13 -05:00
parent cc5394c6df
commit e56464e006
2 changed files with 9 additions and 1 deletions

View File

@ -104,6 +104,8 @@ public class project1 {
}
String select_mapdb(String key){
return mapdb.get(key);
String result = mapdb.get(key);
// db.close();
return result;
}
}

View File

@ -32,12 +32,18 @@ testCase $data_30 $mem nm0438120
rm ./data.db
testCase $data_10 $db nm0000001
rm ./data.db
testCase $data_10 $db nm0028516
rm ./data.db
testCase $data_10 $db nm0072686
rm ./data.db
testCase $data_10 $db nm0438120
rm ./data.db
testCase $data_30 $db nm0000001
rm ./data.db
testCase $data_30 $db nm0028516
rm ./data.db
testCase $data_30 $db nm0072686
rm ./data.db
testCase $data_30 $db nm0438120