Commit d51103b4 authored by casualet's avatar casualet

able to use foreign key without constructing the ope_foreign layer~hahahahaahahaha~

parent 0bf9f739
......@@ -454,6 +454,9 @@ getLayerKey(const AES_KEY * const mKey, string uniqueFieldName,
if (l == SECLEVEL::DETJOIN) {
return getKey(mKey, "joinjoin", l);
}
if(l == SECLEVEL::OPE){
return getKey(mKey,"opeforeign",l);
}
return getKey(mKey, uniqueFieldName, l);
}
......
sudo gdb ./obj/main/cdb_test `ps aux| grep cdb_test|grep -v grep|awk '{print $2}'`
......@@ -26,6 +26,7 @@ enum class SECLEVEL {
INVALID,
PLAINVAL,
OPE,
OPEFOREIGN,
DETJOIN,
DET,
SEARCH,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment