1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix the authorizer so that it correctly interprets attempts to read the

OLD and NEW pseudo-tables of a trigger. (CVS 911)

FossilOrigin-Name: f04bd43254b3ba3fccc842214115d4c298e28138
This commit is contained in:
drh
2003-04-16 20:24:52 +00:00
parent bb07e9a34f
commit 027850b676
5 changed files with 61 additions and 16 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.124 2003/04/16 01:28:16 drh Exp $
** $Id: main.c,v 1.125 2003/04/16 20:24:52 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -1034,6 +1034,10 @@ void *sqlite_trace(sqlite *db, void (*xTrace)(void*,const char*), void *pArg){
** Register functions to be invoked when a transaction is started or when
** a transaction commits. If either function returns non-zero, then the
** corresponding operation aborts with a constraint error.
**
** EXPERIMENTAL. This API is under evaluation and is not yet an
** official part of the SQLite interface. This means it could change
** or be deleted in future releases.
*/
void *sqlite_begin_hook(
sqlite *db,