Fossil

Check-in [78601789]
Login

Check-in [78601789]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix the test-content-undelta command.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 786017890d282e42abdb4ac9c4cf3b2fc654d0db
User & Date: drh 2016-01-18 03:07:24
Context
2016-01-18
17:41
Add the 'array exists' and 'array names' sub-commands to TH1. Add tcl_platform(engine) and tcl_platform(platform) to TH1. ... (check-in: ea7813da user: mistachkin tags: trunk)
03:07
Fix the test-content-undelta command. ... (check-in: 78601789 user: drh tags: trunk)
01:42
Update TH1 docs. ... (check-in: 2427250b user: mistachkin tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/content.c.
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
/*
** COMMAND:  test-content-undelta
**
** Make sure the content at RECORDID is not a delta
*/
void test_content_undelta_cmd(void){
  int rid;
  if( g.argc!=2 ) usage("RECORDID");
  db_must_be_within_tree();
  rid = atoi(g.argv[2]);
  content_undelta(rid);
}

/*
** Return true if the given RID is marked as PRIVATE.







|







707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
/*
** COMMAND:  test-content-undelta
**
** Make sure the content at RECORDID is not a delta
*/
void test_content_undelta_cmd(void){
  int rid;
  if( g.argc!=3 ) usage("RECORDID");
  db_must_be_within_tree();
  rid = atoi(g.argv[2]);
  content_undelta(rid);
}

/*
** Return true if the given RID is marked as PRIVATE.