aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-08-01 12:21:58 +0000
committerdrh <drh@noemail.net>2013-08-01 12:21:58 +0000
commitcf0fd4a5fd0cbb5f87a2dea65893b76e59d5c413 (patch)
tree54a43e7e9fb6e675adc2feaf1df6d81a0438d92a /src
parent721dfcf544beeea0a59899d45a7ebd6cb3c2b746 (diff)
downloadsqlite-cf0fd4a5fd0cbb5f87a2dea65893b76e59d5c413.tar.gz
sqlite-cf0fd4a5fd0cbb5f87a2dea65893b76e59d5c413.zip
Refactor internal function name sqlite3VdbeGetValue() to
sqlite3VdbeGetBoundValue(). FossilOrigin-Name: 81834c3023876487a1188390aae850cf71683701
Diffstat (limited to 'src')
-rw-r--r--src/vdbe.h2
-rw-r--r--src/vdbeaux.c2
-rw-r--r--src/where.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/vdbe.h b/src/vdbe.h
index 4c2e76d56..a6cc91544 100644
--- a/src/vdbe.h
+++ b/src/vdbe.h
@@ -204,7 +204,7 @@ sqlite3 *sqlite3VdbeDb(Vdbe*);
void sqlite3VdbeSetSql(Vdbe*, const char *z, int n, int);
void sqlite3VdbeSwap(Vdbe*,Vdbe*);
VdbeOp *sqlite3VdbeTakeOpArray(Vdbe*, int*, int*);
-sqlite3_value *sqlite3VdbeGetValue(Vdbe*, int, u8);
+sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe*, int, u8);
void sqlite3VdbeSetVarmask(Vdbe*, int);
#ifndef SQLITE_OMIT_TRACE
char *sqlite3VdbeExpandSql(Vdbe*, const char*);
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index e970d5ff6..8181cc134 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -3253,7 +3253,7 @@ sqlite3 *sqlite3VdbeDb(Vdbe *v){
**
** The returned value must be freed by the caller using sqlite3ValueFree().
*/
-sqlite3_value *sqlite3VdbeGetValue(Vdbe *v, int iVar, u8 aff){
+sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe *v, int iVar, u8 aff){
assert( iVar>0 );
if( v ){
Mem *pMem = &v->aVar[iVar-1];
diff --git a/src/where.c b/src/where.c
index fd7efd647..bcf52ee82 100644
--- a/src/where.c
+++ b/src/where.c
@@ -1128,7 +1128,7 @@ static int isLikeOrGlob(
if( op==TK_VARIABLE ){
Vdbe *pReprepare = pParse->pReprepare;
int iCol = pRight->iColumn;
- pVal = sqlite3VdbeGetValue(pReprepare, iCol, SQLITE_AFF_NONE);
+ pVal = sqlite3VdbeGetBoundValue(pReprepare, iCol, SQLITE_AFF_NONE);
if( pVal && sqlite3_value_type(pVal)==SQLITE_TEXT ){
z = (char *)sqlite3_value_text(pVal);
}
@@ -2592,7 +2592,7 @@ static int valueFromExpr(
){
int iVar = pExpr->iColumn;
sqlite3VdbeSetVarmask(pParse->pVdbe, iVar);
- *pp = sqlite3VdbeGetValue(pParse->pReprepare, iVar, aff);
+ *pp = sqlite3VdbeGetBoundValue(pParse->pReprepare, iVar, aff);
return SQLITE_OK;
}
return sqlite3ValueFromExpr(pParse->db, pExpr, SQLITE_UTF8, aff, pp);