Optimize SQL set creation.
Optimize SQL set creation.

Hunter522/qgroundcontrol,ethz-asl/qgc_asl,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,ethz-asl/qgc_asl,Hunter522/qgroundcontrol,ethz-asl/qgc_asl,Hunter522/qgroundcontrol,ethz-asl/qgc_asl,Hunter522/qgroundcontrol,ethz-asl/qgc_asl