Project

General

Profile

Actions

Bug #10604

closed
RS RS

Dbo: Query self-assignment loses bound parameters

Bug #10604: Dbo: Query self-assignment loses bound parameters

Added by Roel Standaert about 4 years ago. Updated about 4 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.

RS Updated by Roel Standaert about 4 years ago Actions #1

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

RS Updated by Roel Standaert about 4 years ago Actions #2

  • Status changed from Review to Implemented @Emweb

RS Updated by Roel Standaert about 4 years ago Actions #3

  • % Done changed from 0 to 100

RS Updated by Roel Standaert about 4 years ago Actions #4

  • Status changed from Implemented @Emweb to Resolved

RS Updated by Roel Standaert about 4 years ago Actions #5

  • Assignee set to Roel Standaert

RS Updated by Roel Standaert about 4 years ago Actions #6

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom