Corrected more spellings.

This commit is contained in:
martin-osborne
2015-04-10 11:43:49 +01:00
parent 4cf45ea4a3
commit 7780ab3ae0
32 changed files with 74 additions and 74 deletions

View File

@@ -121,7 +121,7 @@ public:
static int sqliteCommitCallbackFn(void* pVal);
/// Commit callback event dispatcher. If an exception occurs, it is caught inside this function,
/// non-zero value is returned, which causes SQLite engine to turn commit into a rollback.
/// Therefore, callers should check for return value - if it is zero, callback completed succesfuly
/// Therefore, callers should check for return value - if it is zero, callback completed successfuly
/// and transaction was committed.
static void sqliteRollbackCallbackFn(void* pVal);

View File

@@ -78,7 +78,7 @@ protected:
void compileImpl();
/// Compiles the statement, doesn't bind yet.
/// Returns true if the statement was succesfully compiled.
/// Returns true if the statement was successfully compiled.
/// The way SQLite handles batches of statements is by compiling
/// one at a time and returning a pointer to the next one.
/// The remainder of the statement is kept in a string

View File

@@ -75,37 +75,37 @@ public:
/// Loads the contents of a database file on disk into an opened
/// database in memory.
///
/// Returns true if succesful.
/// Returns true if successful.
static bool fileToMemory(const Session& session, const std::string& fileName);
/// Loads the contents of a database file on disk into an opened
/// database in memory.
///
/// Returns true if succesful.
/// Returns true if successful.
static bool memoryToFile(const std::string& fileName, sqlite3* pInMemory);
/// Saves the contents of an opened database in memory to the
/// database on disk.
///
/// Returns true if succesful.
/// Returns true if successful.
static bool memoryToFile(const std::string& fileName, const Session& session);
/// Saves the contents of an opened database in memory to the
/// database on disk.
///
/// Returns true if succesful.
/// Returns true if successful.
static bool isThreadSafe();
/// Returns true if SQLite was compiled in multi-thread or serialized mode.
/// See http://www.sqlite.org/c3ref/threadsafe.html for details.
///
/// Returns true if succesful
/// Returns true if successful
static bool setThreadMode(int mode);
/// Sets the threading mode to single, multi or serialized.
/// See http://www.sqlite.org/threadsafe.html for details.
///
/// Returns true if succesful
/// Returns true if successful
static int getThreadMode();
/// Returns the thread mode.