/ Check-in [30919808]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Fix the header comment on the implementation of the file_control_sizehint_test TCL command in test1.c.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 309198085f255fc1fcc7bf28fd38d016d5a536ab
User & Date: drh 2011-08-13 10:47:51
Context
2011-08-15
14:41
When opening a temporary file to use in a merge-sort, pass SQLITE_OPEN_TEMP_JOURNAL instead of SQLITE_OPEN_TEMP_DB. This is a better fit, as merge-sort files are written and read sequentially like journal files. check-in: bd04756b user: dan tags: trunk
2011-08-13
10:47
Fix the header comment on the implementation of the file_control_sizehint_test TCL command in test1.c. check-in: 30919808 user: drh tags: trunk
2011-08-12
16:47
Merge the experimental changes to use a merge-sort when creating an index into the trunk. check-in: 346a453d user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/test1.c.

  4987   4987     }
  4988   4988     return TCL_OK;
  4989   4989   }
  4990   4990   
  4991   4991   /*
  4992   4992   ** tclcmd:   file_control_sizehint_test DB DBNAME SIZE
  4993   4993   **
  4994         -** This TCL command runs the sqlite3_file_control interface and
  4995         -** verifies correct operation of the SQLITE_GET_LOCKPROXYFILE and
  4996         -** SQLITE_SET_LOCKPROXYFILE verbs.
         4994  +** This TCL command runs the sqlite3_file_control interface 
         4995  +** with SQLITE_FCNTL_SIZE_HINT
  4997   4996   */
  4998   4997   static int file_control_sizehint_test(
  4999   4998     ClientData clientData, /* Pointer to sqlite3_enable_XXX function */
  5000   4999     Tcl_Interp *interp,    /* The TCL interpreter that invoked this command */
  5001   5000     int objc,              /* Number of arguments */
  5002   5001     Tcl_Obj *CONST objv[]  /* Command arguments */
  5003   5002   ){