Combine sqlite3DbOfVdbe() and sqlite3VdbeDb() into a single function. (CVS 4236)
FossilOrigin-Name: ba80ee59a72afe36817997de705ef81d876b6f35
diff --git a/src/expr.c b/src/expr.c
index d7acec8..e541e7d 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 @@
** 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) ){