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 » SQLite crashes
Re: SQLite crashes [message #16428 is a reply to message #16426] Sat, 14 June 2008 09:42 Go to previous messageGo to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

My investigation continues.
Somehow it seems that this code works without exception:
#include <Core/Core.h>
#include <plugin/sqlite3/Sqlite3.h>
using namespace Upp;

CONSOLE_APP_MAIN
{
	Sqlite3Session session;
	session.LogErrors(true);
	if (!session.Open("data"))
		Cout() << "Error opening SQL";
	
	SQL = session;
}

[Updated on: Sat, 14 June 2008 09:50]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Difference between INT_ and INT?
Next Topic: underflow in bool Sql::fetch()
Goto Forum:
  


Current Time: Sun May 12 20:04:54 CEST 2024

Total time taken to generate the page: 0.02057 seconds