aboutsummaryrefslogtreecommitdiff
path: root/src/delete.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2006-06-15 04:28:13 +0000
committerdanielk1977 <danielk1977@noemail.net>2006-06-15 04:28:13 +0000
commitd1ab1ba5ed68b51fd640a62a228a5b331829d83a (patch)
tree769bdcf5fb172a3192f30465958f9f2cf6c55e76 /src/delete.c
parent5aec042e275dee61ceee172e7ec9d32c2d881bd4 (diff)
downloadsqlite-d1ab1ba5ed68b51fd640a62a228a5b331829d83a.tar.gz
sqlite-d1ab1ba5ed68b51fd640a62a228a5b331829d83a.zip
Add void* argument to sqlite3_create_module to replace sqlite3_module.pAux. (CVS 3251)
FossilOrigin-Name: 470a3a0b20775be1226fb4d477c798d8da2d5708
Diffstat (limited to 'src/delete.c')
-rw-r--r--src/delete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/delete.c b/src/delete.c
index 37b8577d8..f1cdcdb9a 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -12,7 +12,7 @@
** This file contains C code routines that are called by the parser
** in order to generate code for DELETE FROM statements.
**
-** $Id: delete.c,v 1.124 2006/06/14 19:00:21 drh Exp $
+** $Id: delete.c,v 1.125 2006/06/15 04:28:13 danielk1977 Exp $
*/
#include "sqliteInt.h"
@@ -45,7 +45,7 @@ int sqlite3IsReadOnly(Parse *pParse, Table *pTab, int viewOk){
if( (pTab->readOnly && (pParse->db->flags & SQLITE_WriteSchema)==0
&& pParse->nested==0)
#ifndef SQLITE_OMIT_VIRTUALTABLE
- || (pTab->pModule && pTab->pModule->xUpdate==0)
+ || (pTab->pMod && pTab->pMod->pModule->xUpdate==0)
#endif
){
sqlite3ErrorMsg(pParse, "table %s may not be modified", pTab->zName);