[sr-dev] git:master: msilo: set table before doing db query