Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Remove two unused variables (introduced by [2efcd19f14] through copy-and-paste) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | cmd-options-amend |
Files: | files | file ages | folders |
SHA3-256: |
cf0f6fc80b467f641f0c376a5fdfddb3 |
User & Date: | florian 2018-12-27 12:36:00.000 |
Context
2018-12-28
| ||
12:59 | This checkin does a cherrypick merge off of another checkin that already has a prior full merge. The purpose of this checkin is to provide a test case for the cherrypick graph drawing logic. The code in this checkin is not intended to actually be used for anything. ... (Leaf check-in: dc81ac70 user: drh tags: graph-test-branch) | |
2018-12-27
| ||
20:41 | General enhancements to the "amend", "tag", and "reparent" command, including adding flags like --override-date, --override-user, and --dry-run. ... (check-in: 5c995571 user: drh tags: trunk) | |
12:36 | Remove two unused variables (introduced by [2efcd19f14] through copy-and-paste) ... (Closed-Leaf check-in: cf0f6fc8 user: florian tags: cmd-options-amend) | |
2018-12-26
| ||
14:38 | Enhance the options for the 'tag cancel' command: add --date-override and --user-override, and show a summary for the help text ... (check-in: 8f2d519b user: florian tags: cmd-options-amend) | |
Changes
Changes to src/tag.c.
︙ | ︙ | |||
490 491 492 493 494 495 496 | zDateOvrd, zUserOvrd); db_end_transaction(0); }else if( strncmp(g.argv[2],"find",n)==0 ){ Stmt q; int fRaw = find_option("raw","",0)!=0; | < | 490 491 492 493 494 495 496 497 498 499 500 501 502 503 | zDateOvrd, zUserOvrd); db_end_transaction(0); }else if( strncmp(g.argv[2],"find",n)==0 ){ Stmt q; int fRaw = find_option("raw","",0)!=0; const char *zFindLimit = find_option("limit","n",1); const int nFindLimit = zFindLimit ? atoi(zFindLimit) : -2000; const char *zType = find_option("type","t",1); Blob sql = empty_blob; if( zType==0 || zType[0]==0 ) zType = "*"; if( g.argc!=4 ){ usage("find ?--raw? ?-t|--type TYPE? ?-n|--limit #? TAGNAME"); |
︙ | ︙ | |||
541 542 543 544 545 546 547 | } } }else if(( strncmp(g.argv[2],"list",n)==0 )||( strncmp(g.argv[2],"ls",n)==0 )){ Stmt q; int fRaw = find_option("raw","",0)!=0; | < | 540 541 542 543 544 545 546 547 548 549 550 551 552 553 | } } }else if(( strncmp(g.argv[2],"list",n)==0 )||( strncmp(g.argv[2],"ls",n)==0 )){ Stmt q; int fRaw = find_option("raw","",0)!=0; if( g.argc==3 ){ db_prepare(&q, "SELECT tagname FROM tag" " WHERE EXISTS(SELECT 1 FROM tagxref" " WHERE tagid=tag.tagid" " AND tagtype>0)" " ORDER BY tagname" |
︙ | ︙ |