Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Ordog is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to use Like() with SqlArray
Next Topic: Updated Sqlite3 plugin
Goto Forum:
  


Current Time: Tue Aug 12 00:32:48 CEST 2025

Total time taken to generate the page: 0.05932 seconds