1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix a problem with geopoly trying to update both the _shape and an auxiliary

column in the same UPDATE statement.

FossilOrigin-Name: 14c955152d0580abc3df1b363789f2925e013b9c957e550b1e6ebe83a82bae6c
This commit is contained in:
drh
2018-09-06 02:40:15 +00:00
parent b78d1905c3
commit 9a09b7b31d
3 changed files with 8 additions and 8 deletions

View File

@ -1539,7 +1539,7 @@ static int geopolyUpdate(
}
/* Change the data */
if( rc==SQLITE_OK ){
if( rc==SQLITE_OK && nData>1 ){
sqlite3_stmt *pUp = pRtree->pWriteAux;
int jj;
int nChange = 0;