Home » U++ Library support » U++ SQL » sqlite3 plugin documentation
Re: sqlite3 plugin documentation [message #3994 is a reply to message #3974] |
Thu, 13 July 2006 20:48   |
Ordog
Messages: 13 Registered: July 2006
|
Promising Member |
|
|
When i comment that Assertion out, table_list.GetCount() returns 0 as expected when theres no current_stmt (its 0 or NULL). current_smtm_string is set like it should though ("select tbl_name from sqlite_master where Type='table'").
If thats a bug in the plugin it would have occured to more people i guess so could somebody explain to me what i am doing wrong there?
I managed to get the SQlite3 reference example running but the only thing thats different is in the simple.h
#define SCHEMADIALECT <plugin/Sqlite3/Sqlite3Schema.h>
#define MODEL <SQL_Sqlite3/simple.sch>
#include "Sql/sch_header.h"
and in simple.cpp
#include <Sql/sch_source.h>
those are afaik only used to create the .db file so even using those isnt helping me 8/ can somebody tell me when current_stmt is NULL within a fetch() ? there must be a pretty simple reason...
i have attached the .db file im working with, apparently it has no tables when i use it with the sqlite example. Might be related to the MODEL define which isnt matching our build, which leads me to my next question:
do i need to define a MODEL when im just reading a db file?
[Updated on: Thu, 13 July 2006 21:23] Report message to a moderator
|
|
|
 |
|
sqlite3 plugin documentation
By: Ordog on Tue, 11 July 2006 22:42
|
 |
|
Re: sqlite3 plugin documentation
By: Ordog on Wed, 12 July 2006 05:40
|
 |
|
Re: sqlite3 plugin documentation
By: mirek on Wed, 12 July 2006 09:20
|
 |
|
Re: sqlite3 plugin documentation
By: Ordog on Wed, 12 July 2006 13:42
|
 |
|
Re: sqlite3 plugin documentation
By: Ordog on Thu, 13 July 2006 20:48
|
 |
|
Re: sqlite3 plugin documentation
By: mirek on Fri, 14 July 2006 11:20
|
 |
|
Re: sqlite3 plugin documentation
By: unodgs on Fri, 14 July 2006 11:53
|
 |
|
Re: sqlite3 plugin documentation
By: Ordog on Sat, 15 July 2006 14:11
|
 |
|
Re: sqlite3 plugin documentation
By: mirek on Wed, 19 July 2006 00:07
|
 |
|
Re: sqlite3 plugin documentation
By: Ordog on Wed, 19 July 2006 14:10
|
 |
|
Re: sqlite3 plugin documentation
By: mirek on Wed, 19 July 2006 14:19
|
 |
|
Re: sqlite3 plugin documentation
By: Ordog on Wed, 19 July 2006 14:22
|
 |
|
Re: sqlite3 plugin documentation
By: mirek on Wed, 19 July 2006 15:08
|
 |
|
Re: sqlite3 plugin documentation
By: Ordog on Wed, 19 July 2006 16:05
|
 |
|
Re: sqlite3 plugin documentation
By: mirek on Wed, 19 July 2006 23:55
|
 |
|
Re: sqlite3 plugin documentation
By: rbmatt on Thu, 20 July 2006 00:58
|
 |
|
Re: sqlite3 plugin documentation
By: aroman on Tue, 25 July 2006 10:34
|
 |
|
Re: sqlite3 plugin documentation
By: mirek on Mon, 24 July 2006 11:24
|
Goto Forum:
Current Time: Tue Aug 12 00:32:48 CEST 2025
Total time taken to generate the page: 0.05932 seconds
|