statement; one for btrees used and another for btrees that require locks.
Only try to lock the btrees identified by the second mask.
FossilOrigin-Name: 614de91a504d2231009a9de1305e31fce1b1c5a6
the same result. Add a generation counter to btree mutexes in order to assert
that mutexes are never temporarily dropped over a range of instructions in order
to do deadlock avoidance in some subroutine. Lock all btrees in any Vdbe
program that uses OP_ParseSchema.
FossilOrigin-Name: d81708f7d1eee399bfe76f6b8dac950a85dc2582
an attached database mask. This check-in is a follow-up and fix to the
[7aaf8772274422] change that increases the maximum number of attached databases
from 30 to 62.
FossilOrigin-Name: e2a09ea73c76a0bec1e09d1fc11092517e3ebdf9
invalidating schemas. Design goals are that the internal schema should
never be deleted out from under a prepared statement that is running and
that all prepared statements should be expired if the schema is invalidated.
At the same time, minimize the number of schema invalidations. This change
merely revises the sqlite3ResetInternalSchema() function to use -1 as the
wildcard for "all" rather than 0, so that we can reset the main schema
independently of all the others.
FossilOrigin-Name: 6a8ad6e31e0d2b8a5ace38faf0efd805155ee5f3
whenever a prepared statement is running. This means that a couple of
branches can be eliminated and one operand of OP_ParseSchema can be removed.
FossilOrigin-Name: b6e268fce12829f058f1dfa223731ec8479493f8
integer overflow now forces coercion to floating point. The shift operators
work with any integer right-hand operand with negative values reversing
the direction of the shift.
FossilOrigin-Name: abf21394124a0af46f072793718964cee2ce55d0
encountered the bad cookie, not every statement on the database
connection. Ticket [b72787b1a7cea1f]
FossilOrigin-Name: 1bca0a7e198391202fd2bc1650c0a62028a9aaa5
OP_MustBeInt will never invalidate the Mem.z pointer so the memAboutToChange()
call is not necessary.
FossilOrigin-Name: 841cf7a7dbf0947cb7bde864609a8d3294f78689
than the current database size, as the documentation requires. Also,
remove all occurances of atoi() from the core.
FossilOrigin-Name: 2031974b606ef713b5f34522b2221470d98687c5
misused to try to determine the numeric type of the NULL value returned
from sqlite3_column_value() with an invalid column number.
FossilOrigin-Name: 501b743bcb60cda0acf63bcf8a4abbf00797b347
that is able to deal with negative numbers, including large negative numbers.
Ticket [8454a207b9fd2243c4]
FossilOrigin-Name: ce6cc16e3a151a0c67855abde1411422dfcc8828
UTF8 or UTF16 and do not require a NULL terminator. This allowed text to
numeric conversion without reallocating the string.
FossilOrigin-Name: 14eed3a0e0a45c6f2904a3a134aa27c159916f7b
original has been modified. These assert() statements should detect the kinds
of subtle SCopy bugs such as caused the fault
in ticket [b351d95f9cd5ef17e9d9dbae18f].
FossilOrigin-Name: 8b8e1732e8410efd5f8e308c43abe521584e87a0