mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-10 01:02:56 +03:00
Add the ALLBITS macro as a shorthand for "(Bitmask)(-1)".
FossilOrigin-Name: 91bd619d27e4d91510a187bbb88de961a31c8a2e
This commit is contained in:
@@ -268,7 +268,7 @@ void sqlite3Update(
|
||||
** case, set all bits of the colUsed mask (to ensure that the virtual
|
||||
** table implementation makes all columns available).
|
||||
*/
|
||||
pTabList->a[0].colUsed = IsVirtual(pTab) ? (Bitmask)-1 : 0;
|
||||
pTabList->a[0].colUsed = IsVirtual(pTab) ? ALLBITS : 0;
|
||||
|
||||
hasFK = sqlite3FkRequired(pParse, pTab, aXRef, chngKey);
|
||||
|
||||
|
Reference in New Issue
Block a user