[ issue 1264 ] test case
[ clean ] Removed unused import of isDataOrRecordType.
[ refactor ] use ignoreSharing in impl of isDataOrRecord
[ issue 1264 ] Fixed, was a typo only.

This bug was introduced by my latest fix for issue 1023.
Merge branch 'maint-2.4.2'
Merge remote-tracking branch 'upstream/master'