Issue #1838014 by DYdave, bradsmithcpa, scottsperry, vrwired: Fixed PDOException - Specified key was too long (Apache).
Issue #1940122 by retrodans, leex, DYdave: Fixed Block Class doesn't work with Context.
Issue #1571016 by DYdave: Related with previous commit a31b969, quickly shortened the code.
Issue #1571016 by ardas, andypost, DYdave: Related with previous commit ad5af33, modified query using DBTNG functions.
Issue #1571016 by ardas, andypost: Reduced the number of SELECT queries by using statically cached variables.
Issue #1937930 by DYdave: Back-port from 6.x-2.x branch of fixes to coding standards, according to PAReview reported errors.
Issue #1937930 by DYdave: Quick fix for coding standards in Doc Comment blocks, according to PAReview, following up with previous commit 9270700.
Issue #1937930 by DYdave: Back-port from 7.x branch of fixes to coding standards, according to PAReview reported errors.
Issue #1937930 by DYdave: quick fix for coding standards in array declaration, according to PAReview, following up with previous commit 7e9d1d8.
Issue #1937930 by DYdave, gaofengzzz: Back-port from 7.x-2.x of fixes to coding standards, according to PAReview reported errors.