U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » SQLite crashes
SQLite crashes [message #16426] Sat, 14 June 2008 01:04 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Recently I tried to use SQLite U++ plugin and met strange yet unavoidable error: after calling Open(), in the end of scope, sqlite library throws an exception. Let`s consider minimal U++/sqlite console application:
#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";
}//crash here!

Actual crash seems to happen in file /uppsrc/Sql/Sqls.h, line 219

Conditions: WinXP, latest SVN (rev. 297).

Unfortunately I`m not good at databases, so I can`t propose adequate solution on that problem. But I think any plugins should work "from the box" without resulting any crashes.

Any ideas on solving this?
 
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: Tue Apr 28 00:31:57 GMT+2 2026

Total time taken to generate the page: 0.00698 seconds