Home » U++ Library support » U++ SQL » Sqlite: Missing GetTransactionLevel() Method - Implemented
Sqlite: Missing GetTransactionLevel() Method - Implemented [message #29116] |
Wed, 06 October 2010 00:40 |
zsolt
Messages: 698 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);
}
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 05:08:37 CEST 2024
Total time taken to generate the page: 0.03571 seconds
|