diff options
author | drh <> | 2021-08-09 13:06:59 +0000 |
---|---|---|
committer | drh <> | 2021-08-09 13:06:59 +0000 |
commit | 687d74dfcc688f5e2d4b4f28ca48953a13c8903f (patch) | |
tree | 1c72816c51f04928fe6e98b5c4cb1ba058da9ff8 /src | |
parent | 5f9de6ecf4402f63e700667f579cb6645f9ac7c6 (diff) | |
download | sqlite-687d74dfcc688f5e2d4b4f28ca48953a13c8903f.tar.gz sqlite-687d74dfcc688f5e2d4b4f28ca48953a13c8903f.zip |
Fix comments associated with sqlite3.eOpenState. No logic changes.
FossilOrigin-Name: fd8f498f5d5f7fcb78dd8f6f9323d20b9e2904b249ec735477a0f03cb47b8561
Diffstat (limited to 'src')
-rw-r--r-- | src/sqliteInt.h | 2 | ||||
-rw-r--r-- | src/vdbeaux.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index b2d09ff0a..cc31acdba 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1762,7 +1762,7 @@ struct sqlite3 { #define ConstFactorOk(P) ((P)->okConstFactor) /* -** Possible values for the sqlite.eOpenState field. +** Possible values for the sqlite3.eOpenState field. ** The numbers are obtained at random and have no special meaning, other ** than being distinct from one another. */ diff --git a/src/vdbeaux.c b/src/vdbeaux.c index a6bb915e1..c04bd0d37 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -3005,9 +3005,9 @@ int sqlite3VdbeCheckFk(Vdbe *p, int deferred){ ** has made changes and is in autocommit mode, then commit those ** changes. If a rollback is needed, then do the rollback. ** -** This routine is the only way to move the state of a VM from -** SQLITE_MAGIC_RUN to SQLITE_MAGIC_HALT. It is harmless to -** call this on a VM that is in the SQLITE_MAGIC_HALT state. +** This routine is the only way to move the sqlite3eOpenState of a VM from +** SQLITE_STATE_RUN to SQLITE_STATE_HALT. It is harmless to +** call this on a VM that is in the SQLITE_STATE_HALT state. ** ** Return an error code. If the commit could not complete because of ** lock contention, return SQLITE_BUSY. If SQLITE_BUSY is returned, it |