diff options
author | drh <drh@noemail.net> | 2014-07-24 16:54:28 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-07-24 16:54:28 +0000 |
commit | 2bd2c29a955a2d459b2b300125eda1d79b070e64 (patch) | |
tree | 3dac35daf7fb3c5a48c4e71900dfcff7b4a95311 /src/vdbeapi.c | |
parent | 6614181610e4c40e44484a1c7b14b253d512ad77 (diff) | |
parent | ba5b09319e2f79707bcc55a84a5f059ea0949334 (diff) | |
download | sqlite-2bd2c29a955a2d459b2b300125eda1d79b070e64.tar.gz sqlite-2bd2c29a955a2d459b2b300125eda1d79b070e64.zip |
Merge all recent trunk changes into the threads branch.
FossilOrigin-Name: 770685892c8f09b9cddb2fbb2877cfb291e19425
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r-- | src/vdbeapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c index 5d7a0b060..5e5bb8136 100644 --- a/src/vdbeapi.c +++ b/src/vdbeapi.c @@ -1323,7 +1323,7 @@ int sqlite3_stmt_readonly(sqlite3_stmt *pStmt){ */ int sqlite3_stmt_busy(sqlite3_stmt *pStmt){ Vdbe *v = (Vdbe*)pStmt; - return v!=0 && v->pc>0 && v->magic==VDBE_MAGIC_RUN; + return v!=0 && v->pc>=0 && v->magic==VDBE_MAGIC_RUN; } /* |