Artifact
f849f83fc8076fc64561b6bc43f719810289f9c8:
Ticket change
[f849f83fc8]
- New ticket [f386e46e1f]
fossil sqlite3 OPTIONS not properly evaluated.
by
anonymous
2010-11-17 12:31:48.
0000: 44 20 32 30 31 30 2d 31 31 2d 31 37 54 31 32 3a D 2010-11-17T12:
0010: 33 31 3a 34 38 0a 4a 20 63 6f 6d 6d 65 6e 74 20 31:48.J comment
0020: 49 74 5c 73 73 65 65 6d 5c 73 74 68 61 74 5c 73 It\sseem\sthat\s
0030: 4f 50 54 49 4f 4e 53 5c 73 69 6e 5c 73 22 66 6f OPTIONS\sin\s"fo
0040: 73 73 69 6c 5c 73 73 71 6c 69 74 65 33 5c 73 3f ssil\ssqlite3\s?
0050: 44 41 54 41 42 41 53 45 3f 5c 73 3f 4f 50 54 49 DATABASE?\s?OPTI
0060: 4f 4e 53 3f 22 5c 73 63 6f 6d 6d 61 6e 64 73 5c ONS?"\scommands\
0070: 73 61 72 65 5c 73 6e 6f 74 5c 73 70 72 6f 70 65 sare\snot\sprope
0080: 72 6c 79 5c 73 65 76 61 6c 75 61 74 65 64 2e 5c rly\sevaluated.\
0090: 73 42 65 6c 6f 77 5c 73 69 73 5c 73 65 76 69 64 sBelow\sis\sevid
00a0: 65 6e 63 65 5c 73 6f 66 5c 73 61 74 74 65 6d 70 ence\sof\sattemp
00b0: 74 73 5c 73 74 6f 5c 73 73 65 74 5c 73 73 65 70 ts\sto\sset\ssep
00c0: 61 72 61 74 6f 72 5c 73 74 6f 5c 73 27 58 27 5c arator\sto\s'X'\
00d0: 73 76 61 6c 75 65 2e 5c 73 5c 72 5c 6e 5c 72 5c svalue.\s\r\n\r\
00e0: 6e 49 5c 73 61 6d 5c 73 69 6e 5c 73 6f 70 65 6e nI\sam\sin\sopen
00f0: 5c 73 63 68 65 63 6b 6f 75 74 2c 5c 73 73 6f 5c \scheckout,\sso\
0100: 73 49 5c 73 63 61 6e 5c 73 73 65 6c 65 63 74 5c sI\scan\sselect\
0110: 73 73 74 75 66 66 5c 73 66 72 6f 6d 5c 73 66 6f sstuff\sfrom\sfo
0120: 73 73 69 6c 5c 73 72 65 70 6f 5c 73 62 79 5c 73 ssil\srepo\sby\s
0130: 62 75 69 6c 74 2d 69 6e 5c 73 73 71 6c 69 74 65 built-in\ssqlite
0140: 33 5c 73 63 6f 6d 6d 61 6e 64 28 77 69 74 68 5c 3\scommand(with\
0150: 73 6f 72 5c 73 77 69 74 68 6f 75 74 5c 73 65 78 sor\swithout\sex
0160: 70 6c 69 63 69 74 6c 79 5c 73 6e 61 6d 69 6e 67 plicitly\snaming
0170: 5c 73 66 6f 73 73 69 6c 5c 73 72 65 70 6f 5c 73 \sfossil\srepo\s
0180: 66 69 6c 65 29 3a 5c 72 5c 6e 3c 76 65 72 62 61 file):\r\n<verba
0190: 74 69 6d 3e 5c 72 5c 6e 63 3a 5c 5c 73 6f 66 74 tim>\r\nc:\\soft
01a0: 5c 5c 6d 73 79 73 5c 5c 68 6f 6d 65 5c 5c 75 73 \\msys\\home\\us
01b0: 65 72 5c 5c 66 6f 73 73 69 6c 3e 66 6f 73 73 69 er\\fossil>fossi
01c0: 6c 5c 73 5c 73 73 71 6c 69 74 65 33 5c 72 5c 6e l\s\ssqlite3\r\n
01d0: 53 51 4c 69 74 65 5c 73 76 65 72 73 69 6f 6e 5c SQLite\sversion\
01e0: 73 33 2e 37 2e 34 5c 72 5c 6e 45 6e 74 65 72 5c s3.7.4\r\nEnter\
01f0: 73 22 2e 68 65 6c 70 22 5c 73 66 6f 72 5c 73 69 s".help"\sfor\si
0200: 6e 73 74 72 75 63 74 69 6f 6e 73 5c 72 5c 6e 45 nstructions\r\nE
0210: 6e 74 65 72 5c 73 53 51 4c 5c 73 73 74 61 74 65 nter\sSQL\sstate
0220: 6d 65 6e 74 73 5c 73 74 65 72 6d 69 6e 61 74 65 ments\sterminate
0230: 64 5c 73 77 69 74 68 5c 73 61 5c 73 22 3b 22 5c d\swith\sa\s";"\
0240: 72 5c 6e 73 71 6c 69 74 65 3e 5c 73 73 65 6c 65 r\nsqlite>\ssele
0250: 63 74 5c 73 2a 5c 73 66 72 6f 6d 5c 73 62 6c 6f ct\s*\sfrom\sblo
0260: 62 5c 73 77 68 65 72 65 5c 73 72 69 64 5c 73 3d b\swhere\srid\s=
0270: 5c 73 31 3b 5c 72 5c 6e 31 7c 31 7c 31 32 37 7c \s1;\r\n1|1|127|
0280: 61 32 38 63 38 33 36 34 37 64 66 61 38 30 35 66 a28c83647dfa805f
0290: 30 35 66 33 32 30 34 61 37 65 31 34 36 65 62 31 05f3204a7e146eb1
02a0: 66 30 64 39 30 35 30 35 7c 5c 72 5c 6e 73 71 6c f0d90505|\r\nsql
02b0: 69 74 65 3e 5c 73 2e 71 75 69 5c 72 5c 6e 5c 72 ite>\s.qui\r\n\r
02c0: 5c 6e 63 3a 5c 5c 73 6f 66 74 5c 5c 6d 73 79 73 \nc:\\soft\\msys
02d0: 5c 5c 68 6f 6d 65 5c 5c 75 73 65 72 5c 5c 66 6f \\home\\user\\fo
02e0: 73 73 69 6c 3e 5c 72 5c 6e 3c 2f 76 65 72 62 61 ssil>\r\n</verba
02f0: 74 69 6d 3e 5c 72 5c 6e 5c 72 5c 6e 49 66 5c 73 tim>\r\n\r\nIf\s
0300: 49 5c 73 74 72 79 5c 73 74 6f 5c 73 75 73 65 5c I\stry\sto\suse\
0310: 73 4f 50 54 49 4f 4e 53 5c 73 28 62 6f 74 68 5c sOPTIONS\s(both\
0320: 73 77 69 74 68 5c 73 65 78 70 6c 69 63 69 74 5c swith\sexplicit\
0330: 73 6e 61 6d 69 6e 67 5c 73 6f 66 5c 73 72 65 70 snaming\sof\srep
0340: 6f 5c 73 66 69 6c 65 5c 73 6f 72 5c 73 77 69 74 o\sfile\sor\swit
0350: 68 6f 75 74 5c 73 6e 61 6d 69 6e 67 5c 73 6f 66 hout\snaming\sof
0360: 5c 73 72 65 70 6f 5c 73 66 69 6c 65 2c 5c 73 77 \srepo\sfile,\sw
0370: 68 69 6c 65 5c 73 69 6e 76 6f 6b 69 6e 67 5c 73 hile\sinvoking\s
0380: 62 75 69 6c 64 2d 69 6e 5c 73 73 71 6c 69 74 65 build-in\ssqlite
0390: 33 5c 73 69 6e 5c 73 6f 70 65 6e 5c 73 63 68 65 3\sin\sopen\sche
03a0: 63 6b 5c 73 6f 75 74 5c 73 64 69 72 65 63 74 6f ck\sout\sdirecto
03b0: 72 79 29 2c 5c 73 49 5c 73 67 65 74 5c 73 65 69 ry),\sI\sget\sei
03c0: 74 68 65 72 3a 5c 72 5c 6e 5c 72 5c 6e 65 72 72 ther:\r\n\r\nerr
03d0: 6f 72 5c 73 22 45 72 72 6f 72 3a 5c 73 6e 6f 5c or\s"Error:\sno\
03e0: 73 73 75 63 68 5c 73 74 61 62 6c 65 3a 5c 73 62 ssuch\stable:\sb
03f0: 6c 6f 62 22 2c 5c 73 73 6f 5c 73 6f 70 74 69 6f lob",\sso\soptio
0400: 6e 73 5c 73 61 72 65 5c 73 6e 6f 74 5c 73 68 6f ns\sare\snot\sho
0410: 6e 6f 72 65 64 2c 5c 73 70 65 72 68 61 70 73 5c nored,\sperhaps\
0420: 73 69 6e 74 65 72 70 72 65 74 65 64 5c 73 61 73 sinterpreted\sas
0430: 5c 73 61 5c 73 6e 61 6d 65 5c 73 6f 66 28 6e 6f \sa\sname\sof(no
0440: 6e 5c 73 65 78 69 73 74 65 6e 74 29 5c 73 72 65 n\sexistent)\sre
0450: 70 6f 5c 73 66 69 6c 65 3a 5c 72 5c 6e 5c 72 5c po\sfile:\r\n\r\
0460: 6e 3c 76 65 72 62 61 74 69 6d 3e 5c 72 5c 6e 63 n<verbatim>\r\nc
0470: 3a 5c 5c 73 6f 66 74 5c 5c 6d 73 79 73 5c 5c 68 :\\soft\\msys\\h
0480: 6f 6d 65 5c 5c 75 73 65 72 5c 5c 66 6f 73 73 69 ome\\user\\fossi
0490: 6c 3e 66 6f 73 73 69 6c 5c 73 5c 73 73 71 6c 69 l>fossil\s\ssqli
04a0: 74 65 33 5c 73 5c 73 2d 2d 73 65 70 61 72 61 74 te3\s\s--separat
04b0: 6f 72 5c 73 27 58 27 5c 72 5c 6e 53 51 4c 69 74 or\s'X'\r\nSQLit
04c0: 65 5c 73 76 65 72 73 69 6f 6e 5c 73 33 2e 37 2e e\sversion\s3.7.
04d0: 34 5c 72 5c 6e 45 6e 74 65 72 5c 73 22 2e 68 65 4\r\nEnter\s".he
04e0: 6c 70 22 5c 73 66 6f 72 5c 73 69 6e 73 74 72 75 lp"\sfor\sinstru
04f0: 63 74 69 6f 6e 73 5c 72 5c 6e 45 6e 74 65 72 5c ctions\r\nEnter\
0500: 73 53 51 4c 5c 73 73 74 61 74 65 6d 65 6e 74 73 sSQL\sstatements
0510: 5c 73 74 65 72 6d 69 6e 61 74 65 64 5c 73 77 69 \sterminated\swi
0520: 74 68 5c 73 61 5c 73 22 3b 22 5c 72 5c 6e 73 71 th\sa\s";"\r\nsq
0530: 6c 69 74 65 3e 5c 73 73 65 6c 65 63 74 5c 73 72 lite>\sselect\sr
0540: 69 64 2c 63 6f 6e 74 65 6e 74 5c 73 66 72 6f 6d id,content\sfrom
0550: 5c 73 62 6c 6f 62 5c 73 77 68 65 72 65 5c 73 72 \sblob\swhere\sr
0560: 69 64 5c 73 3d 5c 73 31 3b 5c 72 5c 6e 45 72 72 id\s=\s1;\r\nErr
0570: 6f 72 3a 5c 73 6e 6f 5c 73 73 75 63 68 5c 73 74 or:\sno\ssuch\st
0580: 61 62 6c 65 3a 5c 73 62 6c 6f 62 5c 72 5c 6e 73 able:\sblob\r\ns
0590: 71 6c 69 74 65 3e 5c 73 2e 71 75 69 5c 72 5c 6e qlite>\s.qui\r\n
05a0: 5c 72 5c 6e 63 3a 5c 5c 73 6f 66 74 5c 5c 6d 73 \r\nc:\\soft\\ms
05b0: 79 73 5c 5c 68 6f 6d 65 5c 5c 75 73 65 72 5c 5c ys\\home\\user\\
05c0: 66 6f 73 73 69 6c 3e 5c 72 5c 6e 3c 2f 76 65 72 fossil>\r\n</ver
05d0: 62 61 74 69 6d 3e 5c 72 5c 6e 5c 72 5c 6e 4f 52 batim>\r\n\r\nOR
05e0: 5c 73 65 72 72 6f 72 5c 73 61 62 6f 75 74 5c 73 \serror\sabout\s
05f0: 74 6f 6f 5c 73 6d 61 6e 79 5c 73 6f 70 74 69 6f too\smany\soptio
0600: 6e 73 5c 73 22 73 71 6c 69 74 65 33 3a 5c 73 45 ns\s"sqlite3:\sE
0610: 72 72 6f 72 3a 5c 73 74 6f 6f 5c 73 6d 61 6e 79 rror:\stoo\smany
0620: 5c 73 6f 70 74 69 6f 6e 73 3a 5c 73 22 27 58 27 \soptions:\s"'X'
0630: 22 22 5c 73 77 69 74 68 5c 73 65 78 69 74 5c 73 ""\swith\sexit\s
0640: 74 6f 5c 73 63 6d 64 5c 73 73 68 65 6c 6c 3a 5c to\scmd\sshell:\
0650: 72 5c 6e 3c 76 65 72 62 61 74 69 6d 3e 5c 72 5c r\n<verbatim>\r\
0660: 6e 63 3a 5c 5c 73 6f 66 74 5c 5c 6d 73 79 73 5c nc:\\soft\\msys\
0670: 5c 68 6f 6d 65 5c 5c 75 73 65 72 5c 5c 66 6f 73 \home\\user\\fos
0680: 73 69 6c 3e 66 6f 73 73 69 6c 5c 73 5c 73 73 71 sil>fossil\s\ssq
0690: 6c 69 74 65 33 5c 73 63 3a 5c 5c 73 6f 66 74 5c lite3\sc:\\soft\
06a0: 5c 62 69 6e 5c 5c 6d 79 66 6f 73 73 69 6c 63 6c \bin\\myfossilcl
06b0: 6f 6e 65 2e 66 6f 73 73 69 6c 5c 73 2d 2d 5c 72 one.fossil\s--\r
06c0: 5c 6e 73 65 70 61 72 61 74 6f 72 5c 73 27 58 27 \nseparator\s'X'
06d0: 5c 72 5c 6e 73 71 6c 69 74 65 33 3a 5c 73 45 72 \r\nsqlite3:\sEr
06e0: 72 6f 72 3a 5c 73 74 6f 6f 5c 73 6d 61 6e 79 5c ror:\stoo\smany\
06f0: 73 6f 70 74 69 6f 6e 73 3a 5c 73 22 27 58 27 22 soptions:\s"'X'"
0700: 5c 72 5c 6e 55 73 65 5c 73 2d 68 65 6c 70 5c 73 \r\nUse\s-help\s
0710: 66 6f 72 5c 73 61 5c 73 6c 69 73 74 5c 73 6f 66 for\sa\slist\sof
0720: 5c 73 6f 70 74 69 6f 6e 73 2e 5c 72 5c 6e 5c 72 \soptions.\r\n\r
0730: 5c 6e 63 3a 5c 5c 73 6f 66 74 5c 5c 6d 73 79 73 \nc:\\soft\\msys
0740: 5c 5c 68 6f 6d 65 5c 5c 75 73 65 72 5c 5c 66 6f \\home\\user\\fo
0750: 73 73 69 6c 3e 5c 72 5c 6e 3c 2f 76 65 72 62 61 ssil>\r\n</verba
0760: 74 69 6d 3e 0a 4a 20 70 72 69 76 61 74 65 5f 63 tim>.J private_c
0770: 6f 6e 74 61 63 74 20 32 34 62 36 37 33 37 35 64 ontact 24b67375d
0780: 64 32 65 63 36 63 37 33 38 31 61 35 61 64 33 34 d2ec6c7381a5ad34
0790: 63 66 63 66 30 30 36 66 30 62 39 63 32 36 30 0a cfcf006f0b9c260.
07a0: 4a 20 73 65 76 65 72 69 74 79 20 49 6d 70 6f 72 J severity Impor
07b0: 74 61 6e 74 0a 4a 20 73 74 61 74 75 73 20 4f 70 tant.J status Op
07c0: 65 6e 0a 4a 20 74 69 74 6c 65 20 66 6f 73 73 69 en.J title fossi
07d0: 6c 5c 73 73 71 6c 69 74 65 33 5c 73 4f 50 54 49 l\ssqlite3\sOPTI
07e0: 4f 4e 53 5c 73 6e 6f 74 5c 73 70 72 6f 70 65 72 ONS\snot\sproper
07f0: 6c 79 5c 73 65 76 61 6c 75 61 74 65 64 0a 4a 20 ly\sevaluated.J
0800: 74 79 70 65 20 43 6f 64 65 5f 44 65 66 65 63 74 type Code_Defect
0810: 0a 4b 20 66 33 38 36 65 34 36 65 31 66 31 37 37 .K f386e46e1f177
0820: 63 32 38 39 30 62 33 64 64 63 30 62 38 66 39 63 c2890b3ddc0b8f9c
0830: 37 34 38 37 65 31 66 39 62 39 31 0a 55 20 61 6e 7487e1f9b91.U an
0840: 6f 6e 79 6d 6f 75 73 0a 5a 20 64 32 64 63 61 32 onymous.Z d2dca2
0850: 31 65 36 63 37 63 37 61 37 37 66 36 38 39 65 66 1e6c7c7a77f689ef
0860: 64 38 65 37 39 31 33 32 37 31 0a d8e7913271.