Differences From Artifact [e35bb33ea9]:
- File src/report.c — part of check-in [0be54823ba] at 2008-10-18 12:55:44 on branch trunk — Add defenses against [http://en.wikipedia.org/wiki/Cross-site_request_forgery | cross-site request forgery] attacks. (user: drh size: 29623)
To Artifact [dc93483c83]:
- File src/report.c — part of check-in [58f15e92ae] at 2009-01-08 14:05:50 on branch trunk — 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 [c666e737cb028bcec2d55659d79ce8521355d2bf] (user: drh size: 29785)
| ︙ | |||
675 676 677 678 679 680 681 682 683 684 685 686 687 688 | 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 | + + + + + |
/* Get the report number
*/
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;
pState->isMultirow = 0;
pState->iNewRow = -1;
|
| ︙ |