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

Have the xUpdate() method of the rtree module virtual table implementation set the *pRowid output variable when inserting a row. Fix for [dd3ba6063a].

FossilOrigin-Name: f31d22489d44701c89cb13c663dfa1a6cc04f900
This commit is contained in:
dan
2010-03-19 19:02:27 +00:00
parent f92a4e35c5
commit 3f0d9d3846
4 changed files with 27 additions and 19 deletions

View File

@ -2483,6 +2483,7 @@ static int rtreeUpdate(
}
rc = sqlite3_reset(pRtree->pReadRowid);
}
*pRowid = cell.iRowid;
if( rc==SQLITE_OK ){
rc = ChooseLeaf(pRtree, &cell, 0, &pLeaf);