aboutsummaryrefslogtreecommitdiff
path: root/src/update.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2003-04-22 20:30:37 +0000
committerdrh <drh@noemail.net>2003-04-22 20:30:37 +0000
commite22a334b782e5434cc1858eeb2f90c0148ff802d (patch)
tree6f4753183edc52c0c3c0259713c2e26da42c2863 /src/update.c
parent383723795905cdc580dc04374b99f4539bfac1a6 (diff)
downloadsqlite-e22a334b782e5434cc1858eeb2f90c0148ff802d.tar.gz
sqlite-e22a334b782e5434cc1858eeb2f90c0148ff802d.zip
Update the authorizer API so that it reports the database that table and
indices belong to and so that it reports when actions are taken in response to a trigger. (CVS 928) FossilOrigin-Name: c675a5504138f34cae6def782b5d3add2c67d2bc
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update.c b/src/update.c
index b77e1bb0c..d320033f6 100644
--- a/src/update.c
+++ b/src/update.c
@@ -12,7 +12,7 @@
** This file contains C code routines that are called by the parser
** to handle UPDATE statements.
**
-** $Id: update.c,v 1.61 2003/04/20 17:29:24 drh Exp $
+** $Id: update.c,v 1.62 2003/04/22 20:30:40 drh Exp $
*/
#include "sqliteInt.h"
@@ -139,7 +139,7 @@ void sqliteUpdate(
{
int rc;
rc = sqliteAuthCheck(pParse, SQLITE_UPDATE, pTab->zName,
- pTab->aCol[j].zName);
+ pTab->aCol[j].zName, db->aDb[pTab->iDb].zName);
if( rc==SQLITE_DENY ){
goto update_cleanup;
}else if( rc==SQLITE_IGNORE ){