Changes between Initial Version and Version 1 of Ticket #927, comment 1


Ignore:
Timestamp:
Nov 26, 2017, 2:34:20 PM (6 years ago)
Author:
jng

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #927, comment 1

    initial v1  
    1 The SQL Server image column resolves to type `RDBI_BLOB`, which causes causes `GdbiQueryResult` to crash in the destructor due to inconsistent ordering of new/delete operations, which happened to slip under the radar with other RDBI column types, but the inconsistency was exposed with `RDBI_BLOB` where the destructor will try to `delete[]` `colInfo->value` under the current logic
     1The SQL Server image column resolves to type `RDBI_BLOB`, which causes causes `GdbiQueryResult` to crash in the destructor due to inconsistent ordering of new/delete operations, which happened to slip under the radar with other RDBI column types, but the inconsistency was exposed with `RDBI_BLOB` where the destructor will try to `delete[]` `colInfo->value` as `wchar_t[]` (that it was never assigned to) under the current logic
    22
    33Attached is a patch that will ensure consistent new/delete.