Improved DROP SEQUENCE command.
Fixed uninitialized value error.
Code cleanup.
Merge remote-tracking branch 'upstream/master' into otrs-master