Project

General

Profile

Actions

Feature #2576

closed
BT KD

Dbo: Consider including a Dbo test case with LEFT JOIN query

Feature #2576: Dbo: Consider including a Dbo test case with LEFT JOIN query

Added by Bruce Toll over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
01/19/2014
Due date:
% Done:

0%

Estimated time:

Description

The attached patch adds a test case with a LEFT JOIN query to DboTest.C.

The patch also includes a fix for an unitialized variable that gets driven by the LEFT JOIN example.

Patch is formatted with "git format-patch" against github master 3.3.1-22-g11485bb. It has only been lightly tested.


Files

KD Updated by Koen Deforche over 12 years ago Actions #1

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.3.2

Hey,

Thanks for this. I took your patch as a basis, but return really null (default constructed) ptr's instead of allocating objects with an invalid ID, and also implemented this for natural ID's.

Regards,
koen

BT Updated by Bruce Toll over 12 years ago Actions #2

Hey Koen,

Thanks for the explanation. Your modification makes a lot more sense.

The Dbo design is very elegant.

Regards,

Bruce

KD Updated by Koen Deforche over 12 years ago Actions #3

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom