Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | The SQL parameter $login in the SQL for a report returns the name of the login name of the current user. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
a4249d2180521bddb2df2a2d6f168f56 |
| User & Date: | drh 2012-08-07 14:58:03.122 |
Context
|
2012-08-08
| ||
| 03:28 | Bump version of OpenSSL in the MinGW makefiles. Also, remove superfluous subst operations from the MinGW makefiles. ... (check-in: 0324ed61fb user: mistachkin tags: trunk) | |
|
2012-08-07
| ||
| 14:58 | The SQL parameter $login in the SQL for a report returns the name of the login name of the current user. ... (check-in: a4249d2180 user: drh tags: trunk) | |
| 11:42 | Add the "Klingon Code Warriors" quote to the quotes.wiki page. ... (check-in: e00e6205b6 user: drh tags: trunk) | |
Changes
Changes to src/report.c.
| ︙ | ︙ | |||
862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
return SQLITE_OK;
}
if( !sqlite3_stmt_readonly(pStmt) ){
sqlite3_finalize(pStmt);
return SQLITE_ERROR;
}
nCol = sqlite3_column_count(pStmt);
azVals = fossil_malloc(2*nCol*sizeof(const char*) + 1);
while( (rc = sqlite3_step(pStmt))==SQLITE_ROW ){
if( azCols==0 ){
azCols = &azVals[nCol];
for(i=0; i<nCol; i++){
azCols[i] = (char *)sqlite3_column_name(pStmt, i);
| > > > | 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 |
return SQLITE_OK;
}
if( !sqlite3_stmt_readonly(pStmt) ){
sqlite3_finalize(pStmt);
return SQLITE_ERROR;
}
i = sqlite3_bind_parameter_index(pStmt, "$login");
if( i ) sqlite3_bind_text(pStmt, i, g.zLogin, -1, SQLITE_TRANSIENT);
nCol = sqlite3_column_count(pStmt);
azVals = fossil_malloc(2*nCol*sizeof(const char*) + 1);
while( (rc = sqlite3_step(pStmt))==SQLITE_ROW ){
if( azCols==0 ){
azCols = &azVals[nCol];
for(i=0; i<nCol; i++){
azCols[i] = (char *)sqlite3_column_name(pStmt, i);
|
| ︙ | ︙ |