Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Add a warning to the "fossil sqlite3" command to remind users that careless use of the command can easily corrupt the repository. Ticket [b18338c226f6fb4899]. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
4e1241f3236236187ad2a8f205323c05 |
| User & Date: | drh 2010-10-31 21:51:11.000 |
References
|
2010-11-11
| ||
| 12:01 | • Ticket [8f8083f230] commit not possible status still Open with 3 other changes artifact: b45caf53ef user: anonymous | |
Context
|
2010-11-01
| ||
| 14:23 | Fix a typo in the file format documentation reported on the Tcl/Tk chatroom. check-in: d0753799e4 user: drh tags: trunk, release | |
|
2010-10-31
| ||
| 21:51 | Add a warning to the "fossil sqlite3" command to remind users that careless use of the command can easily corrupt the repository. Ticket [b18338c226f6fb4899]. check-in: 4e1241f323 user: drh tags: trunk | |
|
2010-10-30
| ||
| 19:05 | applied patch from ticket [aa01499923] and added option -prot to test tcl script which optionally writes a protocol file check-in: f89d953a06 user: wolfgang tags: trunk | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 |
** COMMAND: sqlite3
**
** Usage: %fossil sqlite3 ?DATABASE? ?OPTIONS?
**
** Run the standalone sqlite3 command-line shell on DATABASE with OPTIONS.
** If DATABASE is omitted, then the repository that serves the working
** directory is opened.
*/
void sqlite3_cmd(void){
extern int sqlite3_shell(int, char**);
sqlite3_shell(g.argc-1, g.argv+1);
}
/*
| > > > > | 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 |
** COMMAND: sqlite3
**
** Usage: %fossil sqlite3 ?DATABASE? ?OPTIONS?
**
** Run the standalone sqlite3 command-line shell on DATABASE with OPTIONS.
** If DATABASE is omitted, then the repository that serves the working
** directory is opened.
**
** WARNING: Careless use of this command can corrupt a Fossil repository
** in ways that are unrecoverable. Be sure you know what you are doing before
** running any SQL commands that modifies the repository database.
*/
void sqlite3_cmd(void){
extern int sqlite3_shell(int, char**);
sqlite3_shell(g.argc-1, g.argv+1);
}
/*
|
| ︙ | ︙ |