Project

General

Profile

Bug #4473

Wt::Dbo::Session::createTables may fail to create a table if another table already exists

Added by Fran├žois Legendre almost 7 years ago. Updated almost 7 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/13/2015
Due date:
% Done:

0%

Estimated time:

Description

The following does not create "table1" if "table2" already exists.

Wt::Dbo::backend::MySQL mysql(...) ;

Wt::Dbo::Session session ;

session.setConnection(mysql) ;

session.mapClass("table1") ;

session.mapClass("table2") ;

session.createTables() ;

Also available in: Atom PDF