Differences From Artifact [2e0fc086eb]:
- File src/report.c — part of check-in [d7fd72dc30] at 2013-12-28 22:41:19 on branch timeline-utc — Eliminate the need to compile SQLite with -Dlocaltime=fossil_locatime. This makes the timeline-utc setting work when fossil is configured with --disable-internal-sqlite. (user: jan.nijtmans size: 37715) [more...]
To Artifact [ffdb59ade9]:
- File src/report.c — part of check-in [27ef534d48] at 2014-01-18 17:01:33 on branch trunk — Update the built-in SQLite to the 3.8.3 beta that includes support for common table expressions and recursive queries. (user: drh size: 37864)
| ︙ | |||
195 196 197 198 199 200 201 202 203 204 205 206 207 208 | 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | + + + + + |
*(char**)pError = mprintf("access to table \"%s\" is restricted",zArg1);
rc = SQLITE_DENY;
}else if( !g.perm.RdAddr && strncmp(zArg2, "private_", 8)==0 ){
rc = SQLITE_IGNORE;
}
break;
}
case SQLITE_RECURSIVE: {
*(char**)pError = mprintf("recursive queries are not allowed");
rc = SQLITE_DENY;
break;
}
default: {
*(char**)pError = mprintf("only SELECT statements are allowed");
rc = SQLITE_DENY;
break;
}
}
return rc;
|
| ︙ |