mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Rename the Vdbe.pResultSet field to pResultRow in order to better distinguish
it from other variables with similar names. FossilOrigin-Name: 1fd6211ef7bd26ed625177bfedfd5153ace547de6a71365ecfa076578d043f1a
This commit is contained in:
@@ -1117,7 +1117,7 @@ int sqlite3_column_count(sqlite3_stmt *pStmt){
|
||||
*/
|
||||
int sqlite3_data_count(sqlite3_stmt *pStmt){
|
||||
Vdbe *pVm = (Vdbe *)pStmt;
|
||||
if( pVm==0 || pVm->pResultSet==0 ) return 0;
|
||||
if( pVm==0 || pVm->pResultRow==0 ) return 0;
|
||||
return pVm->nResColumn;
|
||||
}
|
||||
|
||||
@@ -1172,8 +1172,8 @@ static Mem *columnMem(sqlite3_stmt *pStmt, int i){
|
||||
if( pVm==0 ) return (Mem*)columnNullValue();
|
||||
assert( pVm->db );
|
||||
sqlite3_mutex_enter(pVm->db->mutex);
|
||||
if( pVm->pResultSet!=0 && i<pVm->nResColumn && i>=0 ){
|
||||
pOut = &pVm->pResultSet[i];
|
||||
if( pVm->pResultRow!=0 && i<pVm->nResColumn && i>=0 ){
|
||||
pOut = &pVm->pResultRow[i];
|
||||
}else{
|
||||
sqlite3Error(pVm->db, SQLITE_RANGE);
|
||||
pOut = (Mem*)columnNullValue();
|
||||
|
Reference in New Issue
Block a user