Fixed bug 9970 - Existing sequences on oracle databases produces errors.
Merge remote-tracking branch 'upstream/rel-3_2' into rel-3_2