210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
|
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
|
+
+
|
** all files contained in check-in X. Example:
** SELECT * FROM files_of_checkin('trunk');
*/
void cmd_sqlite3(void){
int noRepository;
const char *zConfigDb;
extern int sqlite3_shell(int, char**);
#ifdef FOSSIL_ENABLE_TH1_HOOKS
g.fNoThHook = 1;
#endif
noRepository = find_option("no-repository", 0, 0)!=0;
if( !noRepository ){
db_find_and_open_repository(OPEN_ANY_SCHEMA, 0);
}
db_open_config(1,0);
zConfigDb = g.zConfigDbName;
fossil_close(1, noRepository);
|