dmwm/WMCore — pull request #4064 by hufnagel (2012-09-03 15:49:16+00:00)
Title: fix Tier0 DBS2 upload problems

Fixes a crash in DBSUpload when running the agent with Oracle backend. Direct cause of the crash was an out-of-date Oracle DAO (versus the MySQL version). The Oracle version didn't return some needed information, which triggered a code path that substituted some defaults that later caused an error in calling a DBS2 API.

Fixed the out-of-date DAO (removed it, it falls back to the MySQL version now), removed an unneeded (and potentially wrong) DISTINCT keyword from the MySQL DAO and removed all defaults for values that should be initialized and returned by the DAO.