Project

General

Profile

Actions

Bug #2533

closed
BT

Wt::Dbo::Session::tableCreationSql() omits statement terminating semicolons

Bug #2533: Wt::Dbo::Session::tableCreationSql() omits statement terminating semicolons

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

Status:
Closed
Priority:
Low
Assignee:
-
Target version:
Start date:
01/02/2014
Due date:
% Done:

0%

Estimated time:

Description

The output of tableCreationSql() does not include terminating semicolons. Tested with Wt::Dbo::backend::Postgres and github version (3.3.1-22-g11485bb).

Note: The output of tableCreationSql does not appear to be used directly by Wt, aside from test/dbo/DboTest.C.

Attached patch trims whitespace and adds semicolon. It's only had minimal testing and might break code depending on existing behavior.


Files

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

  • Status changed from New to Resolved
  • Target version set to 3.3.2

Hey,

Thanks. A fix is on the way (we'll simply generate the SQL correctly rather than fixing it later).

Regards,
koen

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

Hey Koen,

Thanks. That makes a lot of sense. BTW, the 3D charts are really impressive.

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