mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Change the sqlite3ExprCode() function so that callers can request that
the result of the expression be left on the stack or in a register. (CVS 4673) FossilOrigin-Name: 61bfb77c4267b99ac8a8ef49355bcbc395a1a37b
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*************************************************************************
|
||||
** This file contains code used to implement the ATTACH and DETACH commands.
|
||||
**
|
||||
** $Id: attach.c,v 1.65 2008/01/03 00:01:24 drh Exp $
|
||||
** $Id: attach.c,v 1.66 2008/01/03 23:44:53 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -326,9 +326,9 @@ static void codeAttach(
|
||||
}
|
||||
|
||||
v = sqlite3GetVdbe(pParse);
|
||||
sqlite3ExprCode(pParse, pFilename);
|
||||
sqlite3ExprCode(pParse, pDbname);
|
||||
sqlite3ExprCode(pParse, pKey);
|
||||
sqlite3ExprCode(pParse, pFilename, 0);
|
||||
sqlite3ExprCode(pParse, pDbname, 0);
|
||||
sqlite3ExprCode(pParse, pKey, 0);
|
||||
|
||||
assert( v || db->mallocFailed );
|
||||
if( v ){
|
||||
|
||||
Reference in New Issue
Block a user