Overview
SHA1 Hash: | 58f15e92aecf31289734e73815006d1b965a2a57 |
---|---|
Date: | 2009-01-08 14:05:50 |
User: | drh |
Comment: | Disable SQL restrictions as soon as the user-supplied report-generator SQL
has been parsed, so that other queries that run during report rendering
and run unimpeded. Ticket |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/report.c from [e35bb33ea9] to [dc93483c83].
@@ -677,10 +677,15 @@ rn = pState->rn; /* Do initialization */ if( pState->nCount==0 ){ + /* Turn off the authorizer. It is no longer doing anything since the + ** query has already been prepared. + */ + sqlite3_set_authorizer(g.db, 0, 0); + /* Figure out the number of columns, the column that determines background ** color, and whether or not this row of data is represented by multiple ** rows in the table. */ pState->nCol = 0;