diff options
author | drh <drh@noemail.net> | 2014-03-10 18:03:09 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-03-10 18:03:09 +0000 |
commit | b06a4ec1f01f6140206374a58a240abdefc9a356 (patch) | |
tree | 7a455887329357161219a0aa101ef701489aa9ac /src/vdbeblob.c | |
parent | 55aeee4b48d99d97c9108a385318c54292895410 (diff) | |
download | sqlite-b06a4ec1f01f6140206374a58a240abdefc9a356.tar.gz sqlite-b06a4ec1f01f6140206374a58a240abdefc9a356.zip |
Attempt to work around MSVC's treatment of __LINE__ as a non-constant value
in "Edit and Continue" mode by avoiding the use of __LINE__ when
SQLITE_VDBE_COVERAGE is not defined.
FossilOrigin-Name: 0a5318bc272b844e937cb1df3a07224034bc3450
Diffstat (limited to 'src/vdbeblob.c')
-rw-r--r-- | src/vdbeblob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdbeblob.c b/src/vdbeblob.c index 4b34f2c29..cf7495e5b 100644 --- a/src/vdbeblob.c +++ b/src/vdbeblob.c @@ -133,7 +133,7 @@ int sqlite3_blob_open( ** which closes the b-tree cursor and (possibly) commits the ** transaction. */ - static const int iLn = __LINE__+4; + static const int iLn = VDBE_OFFSET_LINENO(4); static const VdbeOpList openBlob[] = { /* {OP_Transaction, 0, 0, 0}, // 0: Inserted separately */ {OP_TableLock, 0, 0, 0}, /* 1: Acquire a read or write lock */ |