Change record status: 
Project: 
Introduced in branch: 
11.2.x
Introduced in version: 
11.2.0
Description: 

There is quite some duplicated or nearly duplicated code in StatementWrapperIterator and StatementPrefetchIterator.

A new abstract StatementBase class is introduced, parent to both StatementWrapperIterator and StatementPrefetchIterator classes. The new class generalizes most of the methods so that the child classes do not have to implement them anymore. Also, helper classes to manage results of execution statements are introduced, to cover both PDO and prefetched results. This will make simpler to develop contrib/custom Statement objects.

No public methods were deprecated and no APIs are impacted because of this.

Impacts: 
Module developers