/ Check-in [af870ca9]
Login

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

Overview
Comment:Make header comments for some Tcl test commands more consistent. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: af870ca9827d2079a35dbb545660f670c7ca9512
User & Date: mistachkin 2012-09-10 08:48:05
Context
2012-09-10
09:33
Avoid using the sqlite3ErrStr function in the Tcl package if USE_SYSTEM_SQLITE is defined. check-in: a716b9a3 user: mistachkin tags: trunk
08:48
Make header comments for some Tcl test commands more consistent. No changes to code. check-in: af870ca9 user: mistachkin tags: trunk
07:29
Refine error messages in the sqlite3 Tcl command when a NULL database connection is returned from sqlite3_open_v2. check-in: f260d7d5 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/test_malloc.c.

  1090   1090       return TCL_ERROR;
  1091   1091     }
  1092   1092     Tcl_SetObjResult(interp, Tcl_NewIntObj(rc));
  1093   1093     return TCL_OK;
  1094   1094   }
  1095   1095   
  1096   1096   /*
  1097         -** Usage:
  1098         -**
  1099         -**   sqlite3_config_heap NBYTE NMINALLOC
         1097  +** Usage:    sqlite3_config_heap NBYTE NMINALLOC
  1100   1098   */
  1101   1099   static int test_config_heap(
  1102   1100     void * clientData, 
  1103   1101     Tcl_Interp *interp,
  1104   1102     int objc,
  1105   1103     Tcl_Obj *CONST objv[]
  1106   1104   ){
................................................................................
  1129   1127     }
  1130   1128   
  1131   1129     Tcl_SetResult(interp, (char *)sqlite3TestErrorName(rc), TCL_VOLATILE);
  1132   1130     return TCL_OK;
  1133   1131   }
  1134   1132   
  1135   1133   /*
  1136         -** tclcmd:     sqlite3_config_error  [DB]
         1134  +** Usage:    sqlite3_config_error  [DB]
  1137   1135   **
  1138   1136   ** Invoke sqlite3_config() or sqlite3_db_config() with invalid
  1139   1137   ** opcodes and verify that they return errors.
  1140   1138   */
  1141   1139   static int test_config_error(
  1142   1140     void * clientData, 
  1143   1141     Tcl_Interp *interp,
................................................................................
  1167   1165         return TCL_ERROR;
  1168   1166       }
  1169   1167     }
  1170   1168     return TCL_OK;
  1171   1169   }
  1172   1170   
  1173   1171   /*
  1174         -** tclcmd:     sqlite3_config_uri  BOOLEAN
         1172  +** Usage:    sqlite3_config_uri  BOOLEAN
  1175   1173   **
  1176         -** Invoke sqlite3_config() or sqlite3_db_config() with invalid
  1177         -** opcodes and verify that they return errors.
         1174  +** Enables or disables interpretation of URI parameters by default using
         1175  +** SQLITE_CONFIG_URI.
  1178   1176   */
  1179   1177   static int test_config_uri(
  1180   1178     void * clientData, 
  1181   1179     Tcl_Interp *interp,
  1182   1180     int objc,
  1183   1181     Tcl_Obj *CONST objv[]
  1184   1182   ){
................................................................................
  1196   1194     rc = sqlite3_config(SQLITE_CONFIG_URI, bOpenUri);
  1197   1195     Tcl_SetResult(interp, (char *)sqlite3TestErrorName(rc), TCL_VOLATILE);
  1198   1196   
  1199   1197     return TCL_OK;
  1200   1198   }
  1201   1199   
  1202   1200   /*
  1203         -** Usage:    
  1204         -**
  1205         -**   sqlite3_dump_memsys3  FILENAME
  1206         -**   sqlite3_dump_memsys5  FILENAME
         1201  +** Usage:    sqlite3_dump_memsys3  FILENAME
         1202  +**           sqlite3_dump_memsys5  FILENAME
  1207   1203   **
  1208   1204   ** Write a summary of unfreed memsys3 allocations to FILENAME.
  1209   1205   */
  1210   1206   static int test_dump_memsys3(
  1211   1207     void * clientData,
  1212   1208     Tcl_Interp *interp,
  1213   1209     int objc,