Project

General

Profile

Actions

Bug #10604

closed

Dbo: Query self-assignment loses bound parameters

Added by Roel Standaert over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
Start date:
07/06/2022
Due date:
% Done:

100%

Estimated time:

Description

AbstractQuery::operator=(const AbstractQuery& other) calls reset() before the parameters from other are copied over, which means that in the case of self-assignment a query will first clear its bound parameters, and then copy an empty vector over.

Actions #1

Updated by Roel Standaert over 2 years ago

  • Status changed from InProgress to Review
  • Assignee deleted (Roel Standaert)
Actions #2

Updated by Roel Standaert over 2 years ago

  • Status changed from Review to Implemented @Emweb
Actions #3

Updated by Roel Standaert over 2 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Roel Standaert over 2 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #5

Updated by Roel Standaert over 2 years ago

  • Assignee set to Roel Standaert
Actions #6

Updated by Roel Standaert over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF