same thing happened to me, officer took my gun back to his car, when he gave it back to me he told me he asks everybody. so im not sure if here in hendricks im in a database or not, but the officer was polite and told me he asks because he had in fact been shot before doing a traffic stop(vest stopped it). i think if i'd been shot/shot at, i'd probably start asking too
problem being if you're stupid enough to shoot a cop, you're not going to tell him you have a gun in the car if asked.