Adjustments to db handling
This commit is contained in:
parent
cc5394c6df
commit
e56464e006
@ -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;
|
||||
}
|
||||
}
|
||||
|
6
p1/test
6
p1/test
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user