Add magic comments to shell.c to make it easier for scripts to

insert additional version information displays for custom builds.

FossilOrigin-Name: 9b2691aa911289d74bfe3edf45937a33fb7eaa8d
This commit is contained in:
drh 2011-12-12 16:51:50 +00:00
parent 58cd3c6162
commit 743e003c0e
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C In\sthe\smultiplexor\sshim,\swhen\susing\s8+3\sfilenames,\sbegin\snumbering\sjournal\noverflow\sfiles\swith\s101\sinstead\sof\s001\sto\savoid\sname\scollisions\swith\sthe\nmain\sdatabase\sfile.
D 2011-12-11T22:44:09.610
C Add\smagic\scomments\sto\sshell.c\sto\smake\sit\seasier\sfor\sscripts\sto\s\ninsert\sadditional\sversion\sinformation\sdisplays\sfor\scustom\sbuilds.
D 2011-12-12T16:51:50.465
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in 5b4a3e12a850b021547e43daf886b25133b44c07
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@ -181,7 +181,7 @@ F src/random.c cd4a67b3953b88019f8cd4ccd81394a8ddfaba50
F src/resolve.c 3d3e80a98f203ac6b9329e9621e29eda85ddfd40
F src/rowset.c 69afa95a97c524ba6faf3805e717b5b7ae85a697
F src/select.c a1d075db66a0ea42807353501b62997969e5be79
F src/shell.c a1eadb2fdbfa45e54307263f0c8da8ee8cd61b8b
F src/shell.c ea9c11ae5dbe32b9f0a779b96f6b351293b8e638
F src/sqlite.h.in 1dc07194eb1a2c69c8ef75f88022b170be08024a
F src/sqlite3ext.h 6904f4aadf976f95241311fbffb00823075d9477
F src/sqliteInt.h 165409fa8adc8701148830804febeded3f2e4448
@ -978,7 +978,7 @@ F tool/tostr.awk e75472c2f98dd76e06b8c9c1367f4ab07e122d06
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
F tool/warnings-clang.sh 9f406d66e750e8ac031c63a9ef3248aaa347ef2a
F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
P dab4c137a852222f11179fa2ade52d17a4206dd2
R 425d0660e438f7370e2c896a15db7167
P 05bf8a0b17a13a581ac973dc84ceaf66532d7f92
R dc7f4a3f6a59dd72fbcaff2a94f8f7f6
U drh
Z 9892a9e7f3941ba5e32798c1f4a7624c
Z fc8e968ece5f7a1fbfb50f6ab74c295e

View File

@ -1 +1 @@
05bf8a0b17a13a581ac973dc84ceaf66532d7f92
9b2691aa911289d74bfe3edf45937a33fb7eaa8d

View File

@ -2344,7 +2344,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){
}else
if( c=='v' && strncmp(azArg[0], "version", n)==0 ){
printf("SQLite %s %s\n",
printf("SQLite %s %s\n" /*extra-version-info*/,
sqlite3_libversion(), sqlite3_sourceid());
}else
@ -2941,7 +2941,7 @@ int main(int argc, char **argv){
char *zHistory = 0;
int nHistory;
printf(
"SQLite version %s %.19s\n"
"SQLite version %s %.19s\n" /*extra-version-info*/
"Enter \".help\" for instructions\n"
"Enter SQL statements terminated with a \";\"\n",
sqlite3_libversion(), sqlite3_sourceid()