You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
273 B
12 lines
273 B
3 years ago
|
--- dbid: 0 -> 1
|
||
|
--- dbid: 1 -> 0
|
||
|
--- dbid: others -> drop
|
||
|
function filter(id, is_base, group, cmd_name, keys, slots, db_id, timestamp_ms)
|
||
|
if db_id == 0 then
|
||
|
return 0, 1
|
||
|
elseif db_id == 1 then
|
||
|
return 0, 0
|
||
|
else
|
||
|
return 1, db_id
|
||
|
end
|
||
|
end
|