Fossil

Check-in [491b2c69]
Login

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

Overview
Comment:Fix an SQL syntax error. Ticket [62c84f3e604a06f9b8f3f4ca39f774d6909115aa].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:491b2c69ec500c643df1d82e5bd59e3eefaa2f28
User & Date: drh 2008-12-20 02:23:18
References
2008-12-20
02:24 Fixed ticket [62c84f3e]: SQL syntax error checking out a branch plus 2 other changes artifact: a6dfe123 user: drh
Context
2008-12-20
11:36
Prevent tag cancellations from showing in "fossil tag list" and "fossil tag find", and also on the tagview web page, but make them visible with "--raw" or on the RawTags webpage (admin only). Fixes ticket [f273b440c38eb8478822812e0730f0fc2c8b4c36]. check-in: 7c281b62 user: eric tags: trunk
02:23
Fix an SQL syntax error. Ticket [62c84f3e604a06f9b8f3f4ca39f774d6909115aa]. check-in: 491b2c69 user: drh tags: trunk
2008-12-19
23:09
update ref page check-in: 10db583a user: kejoki tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/vfile.c.

246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
  while( db_step(&q)==SQLITE_ROW ){
    const char *zName;

    zName = db_column_text(&q, 0);
    unlink(zName);
  }
  db_finalize(&q);
  db_multi_exec("UPDATE vfile SET mtime=NULL HERE vid=%d AND mrid>0", vid);
}

/*
** Load into table SFILE the name of every ordinary file in
** the directory pPath.   Omit the first nPrefix characters of
** of pPath when inserting into the SFILE table.
**







|







246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
  while( db_step(&q)==SQLITE_ROW ){
    const char *zName;

    zName = db_column_text(&q, 0);
    unlink(zName);
  }
  db_finalize(&q);
  db_multi_exec("UPDATE vfile SET mtime=NULL WHERE vid=%d AND mrid>0", vid);
}

/*
** Load into table SFILE the name of every ordinary file in
** the directory pPath.   Omit the first nPrefix characters of
** of pPath when inserting into the SFILE table.
**