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: Missing GetTransactionLevel() Method - Implemented
Sqlite: Missing GetTransactionLevel() Method - Implemented [message #29116] Wed, 06 October 2010 00:40 Go to previous message
zsolt is currently offline  zsolt
Messages: 696
Registered: December 2005
Location: Budapest, Hungary
Contributor
It is useful for me:

Sqlite3Session class declaration (plugin/sqlite3/Sqlite3.h):
	virtual int    GetTransactionLevel() const;


Implementation (plugin/sqlite3/Sqlite3upp.cpp):
int Sqlite3Session::GetTransactionLevel() const
{
	int autocommit = sqlite3_get_autocommit(db);
	return (autocommit ? 0 : 1);
}
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SQLITE] Enable FTS in compiler options by default
Next Topic: Select a month in SQL
Goto Forum:
  


Current Time: Fri Apr 19 23:38:27 CEST 2024

Total time taken to generate the page: 0.03096 seconds