/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to include/sqlite3cc/util.h

  • Committer: edam
  • Date: 2010-07-27 15:12:55 UTC
  • Revision ID: edam@waxworlds.org-20100727151255-goaqgdz4kj13q7gz
- update TODO
- added some missing includes for <string>
- changed usage of database::exec() to not require return code!
- prevented transaction_guard destructor from throwing an exception

Show diffs side-by-side

added added

removed removed

33
33
 
34
34
/**
35
35
 * Check to see if sqlite is threadsafe. Returns true if sqlite is set to the
36
 
 * serialised threading mode. See http://www.sqlite.org/threadsafe.html for more
37
 
 * information.
38
 
 * @returns sqlite threading mode
39
 
 * @see sqlite_threadsafe()
 
36
 * serialised threading mode.
 
37
 * @returns true if sqlite is threadsafe
40
38
 */
41
 
int threadsafe();
 
39
bool threadsafe();
42
40
 
43
41
 
44
42
} // namespace sqlite