Project

General

Profile

Actions

Bug #1249

closed

Column aliases are not handled in a dbo query

Added by Mike Trinkala over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/21/2012
Due date:
% Done:

0%

Estimated time:

Description

"select count() as cnt" produces a FieldInfo name of "count() as cnt" instead of cnt.


Files

wt_alias.cpp (599 Bytes) wt_alias.cpp Mike Trinkala, 04/21/2012 01:45 AM
Actions #1

Updated by Koen Deforche over 12 years ago

  • Status changed from New to Feedback
  • Target version set to 3.2.2

Hey,

Where is this a problem, only with Dbo::QueryModel ?

Regards,

koen

Actions #2

Updated by Mike Trinkala over 12 years ago

Yes, the only place I use the field name is with QueryModel (i.e. addAllFieldsAsColumns/addColumn);

Actions #3

Updated by Koen Deforche over 12 years ago

  • Status changed from Feedback to InProgress
  • Assignee set to Koen Deforche
  • Target version changed from 3.2.2 to 3.2.3
Actions #4

Updated by Koen Deforche about 12 years ago

  • Status changed from InProgress to Resolved
Actions #5

Updated by Koen Deforche about 12 years ago

  • Status changed from Resolved to Closed

Fixed in Wt 3.2.3 RC1.

Actions

Also available in: Atom PDF