Project

General

Profile

Support #3508

Is it possible to attach databases with wt::dbo and sqlite3 backend?

Added by Anonymous about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
07/30/2014
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I've been trying to attach existing databases using wt::dbo, but it doesn't seem to work.

My system is Debian Wheezy, Wt 3.2.1, gcc 4.7.2 and sqlite 3.7.13 backend.

Sqlite supports the following: "attach database '/path/to/file/database' as my_test"

When I try this using execute() on a dbo session, it always reports: "SQL logic error or missing database".

Am I doing something wrong maybe?

Thank you for your help/advice!

Wout

Also available in: Atom PDF