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


Ignore:
Timestamp:
11/26/17 14:34:20 (7 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.