cms-sw/cmssw — pull request #2002 by fwyzard (2014-01-12 14:45:23+00:00)
Title: LumiCorrectionSource: workaround CORAL not handling Timestamps

This patch changes the query from
```
SELECT * FROM "CMS_LUMI_PROD"."LUMIDATA" "LUMIDATA" WHERE "DATA_ID"=:"dataid"
```
to
```
SELECT "NCOLLIDINGBUNCHES" FROM "CMS_LUMI_PROD"."LUMIDATA" "LUMIDATA" WHERE "DATA_ID"=:"dataid"
```
since NCOLLIDINGBUNCHES is the only variable that is read anyway.
This avoids trying to parse the timestamps (from the STARTTIME and STOPTIME columns), which CORAL does not seem to handle properly.