aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2007-08-16 12:24:01 +0000
committerdrh <drh@noemail.net>2007-08-16 12:24:01 +0000
commitabb6fcabcbf8a2ce035648a91bd54080debd814e (patch)
tree8a05e8df75e5c7c442cbff5a4c6dfc1f53c08a8c /src/expr.c
parent31dad9da7eb74a0f0624a7086a58b900b64562c3 (diff)
downloadsqlite-abb6fcabcbf8a2ce035648a91bd54080debd814e.tar.gz
sqlite-abb6fcabcbf8a2ce035648a91bd54080debd814e.zip
Combine sqlite3DbOfVdbe() and sqlite3VdbeDb() into a single function. (CVS 4236)
FossilOrigin-Name: ba80ee59a72afe36817997de705ef81d876b6f35
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c
index d7acec840..e541e7d7d 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -12,7 +12,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
-** $Id: expr.c,v 1.306 2007/08/16 11:36:15 danielk1977 Exp $
+** $Id: expr.c,v 1.307 2007/08/16 12:24:02 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -1691,7 +1691,7 @@ void sqlite3CodeSubselect(Parse *pParse, Expr *pExpr){
** text z[0..n-1] on the stack.
*/
static void codeInteger(Vdbe *v, const char *z, int n){
- assert( z || v==0 || sqlite3DbOfVdbe(v)->mallocFailed );
+ assert( z || v==0 || sqlite3VdbeDb(v)->mallocFailed );
if( z ){
int i;
if( sqlite3GetInt32(z, &i) ){