30 Oct
2020
30 Oct
'20
9:09 a.m.
On Fri, 2020-10-30 at 18:50 +1100, Alistair Leslie-Hughes wrote:
static HRESULT WINAPI rsconstruction_put_Rowset(ADORecordsetConstruction *iface, IUnknown *row_set) { struct recordset *recordset = impl_from_ADORecordsetConstruction( iface ); - FIXME("%p, %p\n", recordset, row_set); - return E_NOTIMPL; + + TRACE("%p, %p\n", recordset, row_set); + + if (recordset->row_set) IUnknown_Release(recordset->row_set); + recordset->row_set = row_set; + if (recordset->row_set) IUnknown_AddRef(recordset->row_set); + + return S_OK; }
This is supposed to turn the row_set into a Recordset object but you only store a reference. This could use some tests around the interaction between these objects.