Police anti-terror database was 'not fit for purpose'

A database used to investigate extremists had serious flaws when rolled out, a former police officer says.