Documentation Source Text

Hex Artifact Content
Login

Artifact 3b4143ab5cb6664e9c48a7c4fc26f65c76f60dc5906d09287afd180fdacacb46:


0000: 3c 74 69 74 6c 65 3e 53 51 4c 69 74 65 20 43 6f  <title>SQLite Co
0010: 70 79 72 69 67 68 74 3c 2f 74 69 74 6c 65 3e 0a  pyright</title>.
0020: 3c 74 63 6c 3e 68 64 5f 6b 65 79 77 6f 72 64 73  <tcl>hd_keywords
0030: 20 7b 63 6f 70 79 72 69 67 68 74 7d 20 7b 70 75   {copyright} {pu
0040: 62 6c 69 63 2d 64 6f 6d 61 69 6e 7d 20 7b 6c 69  blic-domain} {li
0050: 63 65 6e 73 65 7d 3c 2f 74 63 6c 3e 0a 0a 3c 68  cense}</tcl>..<h
0060: 32 3e 53 51 4c 69 74 65 20 49 73 20 50 75 62 6c  2>SQLite Is Publ
0070: 69 63 20 44 6f 6d 61 69 6e 3c 2f 68 32 3e 0a 0a  ic Domain</h2>..
0080: 3c 64 69 76 20 63 6c 61 73 73 3d 22 72 69 67 68  <div class="righ
0090: 74 73 69 64 65 62 61 72 20 64 65 73 6b 74 6f 70  tsidebar desktop
00a0: 6f 6e 6c 79 22 3e 0a 3c 63 65 6e 74 65 72 3e 0a  only">.<center>.
00b0: 3c 69 6d 67 20 73 72 63 3d 22 69 6d 61 67 65 73  <img src="images
00c0: 2f 6e 6f 63 6f 70 79 2e 67 69 66 22 3e 3c 62 72  /nocopy.gif"><br
00d0: 3e 0a 53 51 4c 69 74 65 20 69 73 20 69 6e 20 74  >.SQLite is in t
00e0: 68 65 3c 62 72 3e 0a 5b 68 74 74 70 3a 2f 2f 65  he<br>.[http://e
00f0: 6e 2e 77 69 6b 69 70 65 64 69 61 2e 6f 72 67 2f  n.wikipedia.org/
0100: 77 69 6b 69 2f 50 75 62 6c 69 63 5f 44 6f 6d 61  wiki/Public_Doma
0110: 69 6e 20 7c 20 50 75 62 6c 69 63 20 44 6f 6d 61  in | Public Doma
0120: 69 6e 5d 0a 3c 2f 63 65 6e 74 65 72 3e 0a 3c 2f  in].</center>.</
0130: 64 69 76 3e 0a 0a 3c 70 3e 0a 41 6c 6c 20 6f 66  div>..<p>.All of
0140: 20 74 68 65 20 63 6f 64 65 20 61 6e 64 20 64 6f   the code and do
0150: 63 75 6d 65 6e 74 61 74 69 6f 6e 20 69 6e 20 53  cumentation in S
0160: 51 4c 69 74 65 20 68 61 73 20 62 65 65 6e 20 64  QLite has been d
0170: 65 64 69 63 61 74 65 64 20 74 6f 20 74 68 65 0a  edicated to the.
0180: 5b 68 74 74 70 3a 2f 2f 65 6e 2e 77 69 6b 69 70  [http://en.wikip
0190: 65 64 69 61 2e 6f 72 67 2f 77 69 6b 69 2f 50 75  edia.org/wiki/Pu
01a0: 62 6c 69 63 5f 44 6f 6d 61 69 6e 7c 70 75 62 6c  blic_Domain|publ
01b0: 69 63 20 64 6f 6d 61 69 6e 5d 0a 62 79 20 74 68  ic domain].by th
01c0: 65 20 61 75 74 68 6f 72 73 2e 0a 41 6c 6c 20 63  e authors..All c
01d0: 6f 64 65 20 61 75 74 68 6f 72 73 2c 20 61 6e 64  ode authors, and
01e0: 20 72 65 70 72 65 73 65 6e 74 61 74 69 76 65 73   representatives
01f0: 20 6f 66 20 74 68 65 20 63 6f 6d 70 61 6e 69 65   of the companie
0200: 73 20 74 68 65 79 20 77 6f 72 6b 20 66 6f 72 2c  s they work for,
0210: 0a 68 61 76 65 20 73 69 67 6e 65 64 20 61 66 66  .have signed aff
0220: 69 64 61 76 69 74 73 20 64 65 64 69 63 61 74 69  idavits dedicati
0230: 6e 67 20 74 68 65 69 72 20 63 6f 6e 74 72 69 62  ng their contrib
0240: 75 74 69 6f 6e 73 20 74 6f 0a 74 68 65 20 70 75  utions to.the pu
0250: 62 6c 69 63 20 64 6f 6d 61 69 6e 20 61 6e 64 20  blic domain and 
0260: 6f 72 69 67 69 6e 61 6c 73 20 6f 66 0a 74 68 6f  originals of.tho
0270: 73 65 20 73 69 67 6e 65 64 20 61 66 66 69 64 61  se signed affida
0280: 76 69 74 73 20 61 72 65 20 73 74 6f 72 65 64 20  vits are stored 
0290: 69 6e 20 61 20 66 69 72 65 73 61 66 65 20 61 74  in a firesafe at
02a0: 20 74 68 65 20 6d 61 69 6e 20 6f 66 66 69 63 65   the main office
02b0: 73 0a 6f 66 20 3c 61 20 68 72 65 66 3d 22 68 74  s.of <a href="ht
02c0: 74 70 73 3a 2f 2f 77 77 77 2e 68 77 61 63 69 2e  tps://www.hwaci.
02d0: 63 6f 6d 22 3e 48 77 61 63 69 3c 2f 61 3e 2e 0a  com">Hwaci</a>..
02e0: 41 6e 79 6f 6e 65 20 69 73 20 66 72 65 65 20 74  Anyone is free t
02f0: 6f 20 63 6f 70 79 2c 20 6d 6f 64 69 66 79 2c 20  o copy, modify, 
0300: 70 75 62 6c 69 73 68 2c 20 75 73 65 2c 20 63 6f  publish, use, co
0310: 6d 70 69 6c 65 2c 20 73 65 6c 6c 2c 20 6f 72 20  mpile, sell, or 
0320: 64 69 73 74 72 69 62 75 74 65 0a 74 68 65 20 6f  distribute.the o
0330: 72 69 67 69 6e 61 6c 20 53 51 4c 69 74 65 20 63  riginal SQLite c
0340: 6f 64 65 2c 20 65 69 74 68 65 72 20 69 6e 20 73  ode, either in s
0350: 6f 75 72 63 65 20 63 6f 64 65 20 66 6f 72 6d 20  ource code form 
0360: 6f 72 20 61 73 20 61 20 63 6f 6d 70 69 6c 65 64  or as a compiled
0370: 20 62 69 6e 61 72 79 2c 0a 66 6f 72 20 61 6e 79   binary,.for any
0380: 20 70 75 72 70 6f 73 65 2c 20 63 6f 6d 6d 65 72   purpose, commer
0390: 63 69 61 6c 20 6f 72 20 6e 6f 6e 2d 63 6f 6d 6d  cial or non-comm
03a0: 65 72 63 69 61 6c 2c 20 61 6e 64 20 62 79 20 61  ercial, and by a
03b0: 6e 79 20 6d 65 61 6e 73 2e 0a 3c 2f 70 3e 0a 0a  ny means..</p>..
03c0: 3c 70 3e 0a 54 68 65 20 70 72 65 76 69 6f 75 73  <p>.The previous
03d0: 20 70 61 72 61 67 72 61 70 68 20 61 70 70 6c 69   paragraph appli
03e0: 65 73 20 74 6f 20 74 68 65 20 64 65 6c 69 76 65  es to the delive
03f0: 72 61 62 6c 65 20 63 6f 64 65 20 61 6e 64 20 64  rable code and d
0400: 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 0a 69 6e 20  ocumentation.in 
0410: 53 51 4c 69 74 65 20 2d 20 74 68 6f 73 65 20 70  SQLite - those p
0420: 61 72 74 73 20 6f 66 20 74 68 65 20 53 51 4c 69  arts of the SQLi
0430: 74 65 20 6c 69 62 72 61 72 79 20 74 68 61 74 20  te library that 
0440: 79 6f 75 20 61 63 74 75 61 6c 6c 79 20 62 75 6e  you actually bun
0450: 64 6c 65 20 61 6e 64 0a 73 68 69 70 20 77 69 74  dle and.ship wit
0460: 68 20 61 20 6c 61 72 67 65 72 20 61 70 70 6c 69  h a larger appli
0470: 63 61 74 69 6f 6e 2e 20 20 53 6f 6d 65 20 73 63  cation.  Some sc
0480: 72 69 70 74 73 20 75 73 65 64 20 61 73 20 70 61  ripts used as pa
0490: 72 74 20 6f 66 20 74 68 65 0a 62 75 69 6c 64 20  rt of the.build 
04a0: 70 72 6f 63 65 73 73 20 28 66 6f 72 20 65 78 61  process (for exa
04b0: 6d 70 6c 65 20 74 68 65 20 22 63 6f 6e 66 69 67  mple the "config
04c0: 75 72 65 22 20 73 63 72 69 70 74 73 20 67 65 6e  ure" scripts gen
04d0: 65 72 61 74 65 64 20 62 79 20 61 75 74 6f 63 6f  erated by autoco
04e0: 6e 66 29 0a 6d 69 67 68 74 20 66 61 6c 6c 20 75  nf).might fall u
04f0: 6e 64 65 72 20 6f 74 68 65 72 20 6f 70 65 6e 2d  nder other open-
0500: 73 6f 75 72 63 65 20 6c 69 63 65 6e 73 65 73 2e  source licenses.
0510: 20 20 4e 6f 74 68 69 6e 67 20 66 72 6f 6d 20 74    Nothing from t
0520: 68 65 73 65 20 62 75 69 6c 64 20 0a 73 63 72 69  hese build .scri
0530: 70 74 73 20 65 76 65 72 20 72 65 61 63 68 65 73  pts ever reaches
0540: 20 74 68 65 20 66 69 6e 61 6c 20 64 65 6c 69 76   the final deliv
0550: 65 72 61 62 6c 65 20 53 51 4c 69 74 65 20 6c 69  erable SQLite li
0560: 62 72 61 72 79 2c 20 68 6f 77 65 76 65 72 2c 20  brary, however, 
0570: 61 6e 64 20 0a 73 6f 20 74 68 65 20 6c 69 63 65  and .so the lice
0580: 6e 73 65 73 20 61 73 73 6f 63 69 61 74 65 64 20  nses associated 
0590: 77 69 74 68 20 74 68 6f 73 65 20 73 63 72 69 70  with those scrip
05a0: 74 73 20 73 68 6f 75 6c 64 20 6e 6f 74 20 62 65  ts should not be
05b0: 20 0a 61 20 66 61 63 74 6f 72 20 69 6e 20 61 73   .a factor in as
05c0: 73 65 73 73 69 6e 67 20 79 6f 75 72 20 72 69 67  sessing your rig
05d0: 68 74 73 20 74 6f 20 63 6f 70 79 20 61 6e 64 20  hts to copy and 
05e0: 75 73 65 20 74 68 65 20 53 51 4c 69 74 65 20 6c  use the SQLite l
05f0: 69 62 72 61 72 79 2e 0a 3c 2f 70 3e 0a 0a 3c 70  ibrary..</p>..<p
0600: 3e 0a 41 6c 6c 20 6f 66 20 74 68 65 20 64 65 6c  >.All of the del
0610: 69 76 65 72 61 62 6c 65 20 63 6f 64 65 20 69 6e  iverable code in
0620: 20 53 51 4c 69 74 65 20 68 61 73 20 62 65 65 6e   SQLite has been
0630: 20 77 72 69 74 74 65 6e 20 66 72 6f 6d 20 73 63   written from sc
0640: 72 61 74 63 68 2e 0a 4e 6f 20 63 6f 64 65 20 68  ratch..No code h
0650: 61 73 20 62 65 65 6e 20 74 61 6b 65 6e 20 66 72  as been taken fr
0660: 6f 6d 20 6f 74 68 65 72 20 70 72 6f 6a 65 63 74  om other project
0670: 73 20 6f 72 20 66 72 6f 6d 20 74 68 65 20 6f 70  s or from the op
0680: 65 6e 0a 69 6e 74 65 72 6e 65 74 2e 20 20 45 76  en.internet.  Ev
0690: 65 72 79 20 6c 69 6e 65 20 6f 66 20 63 6f 64 65  ery line of code
06a0: 20 63 61 6e 20 62 65 20 74 72 61 63 65 64 20 62   can be traced b
06b0: 61 63 6b 20 74 6f 20 69 74 73 20 6f 72 69 67 69  ack to its origi
06c0: 6e 61 6c 0a 61 75 74 68 6f 72 2c 20 61 6e 64 20  nal.author, and 
06d0: 61 6c 6c 20 6f 66 20 74 68 6f 73 65 20 61 75 74  all of those aut
06e0: 68 6f 72 73 20 68 61 76 65 20 70 75 62 6c 69 63  hors have public
06f0: 20 64 6f 6d 61 69 6e 20 64 65 64 69 63 61 74 69   domain dedicati
0700: 6f 6e 73 0a 6f 6e 20 66 69 6c 65 2e 20 20 53 6f  ons.on file.  So
0710: 20 74 68 65 20 53 51 4c 69 74 65 20 63 6f 64 65   the SQLite code
0720: 20 62 61 73 65 20 69 73 20 63 6c 65 61 6e 20 61   base is clean a
0730: 6e 64 20 69 73 0a 75 6e 63 6f 6e 74 61 6d 69 6e  nd is.uncontamin
0740: 61 74 65 64 20 77 69 74 68 20 6c 69 63 65 6e 73  ated with licens
0750: 65 64 20 63 6f 64 65 20 66 72 6f 6d 20 6f 74 68  ed code from oth
0760: 65 72 20 70 72 6f 6a 65 63 74 73 2e 0a 3c 2f 70  er projects..</p
0770: 3e 0a 0a 3c 74 63 6c 3e 68 64 5f 66 72 61 67 6d  >..<tcl>hd_fragm
0780: 65 6e 74 20 6e 6f 74 6f 70 65 6e 63 6f 6e 74 72  ent notopencontr
0790: 69 62 20 7b 6e 6f 74 20 6f 70 65 6e 2d 63 6f 6e  ib {not open-con
07a0: 74 72 69 62 75 74 69 6e 7d 3c 2f 74 63 6c 3e 0a  tributin}</tcl>.
07b0: 3c 68 32 3e 4f 70 65 6e 2d 53 6f 75 72 63 65 2c  <h2>Open-Source,
07c0: 20 6e 6f 74 20 4f 70 65 6e 2d 43 6f 6e 74 72 69   not Open-Contri
07d0: 62 75 74 69 6f 6e 3c 2f 68 32 3e 0a 0a 3c 70 3e  bution</h2>..<p>
07e0: 0a 53 51 4c 69 74 65 20 69 73 20 6f 70 65 6e 2d  .SQLite is open-
07f0: 73 6f 75 72 63 65 2c 20 6d 65 61 6e 69 6e 67 20  source, meaning 
0800: 74 68 61 74 20 79 6f 75 20 63 61 6e 20 6d 61 6b  that you can mak
0810: 65 20 61 73 20 6d 61 6e 79 20 63 6f 70 69 65 73  e as many copies
0820: 20 6f 66 20 69 74 20 61 73 0a 79 6f 75 20 77 61   of it as.you wa
0830: 6e 74 20 61 6e 64 20 64 6f 20 77 68 61 74 65 76  nt and do whatev
0840: 65 72 20 79 6f 75 20 77 61 6e 74 20 77 69 74 68  er you want with
0850: 20 74 68 6f 73 65 20 63 6f 70 69 65 73 2c 20 77   those copies, w
0860: 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 74 69 6f  ithout limitatio
0870: 6e 2e 0a 42 75 74 20 53 51 4c 69 74 65 20 69 73  n..But SQLite is
0880: 20 6e 6f 74 20 6f 70 65 6e 2d 63 6f 6e 74 72 69   not open-contri
0890: 62 75 74 69 6f 6e 2e 20 20 54 68 65 20 70 72 6f  bution.  The pro
08a0: 6a 65 63 74 20 64 6f 65 73 20 6e 6f 74 20 61 63  ject does not ac
08b0: 63 65 70 74 20 70 61 74 63 68 65 73 2e 0a 4f 6e  cept patches..On
08c0: 6c 79 20 32 37 20 69 6e 64 69 76 69 64 75 61 6c  ly 27 individual
08d0: 73 20 68 61 76 65 20 65 76 65 72 20 63 6f 6e 74  s have ever cont
08e0: 72 69 62 75 74 65 64 20 61 6e 79 20 63 6f 64 65  ributed any code
08f0: 20 74 6f 20 53 51 4c 69 74 65 2c 20 61 6e 64 20   to SQLite, and 
0900: 6f 66 20 74 68 6f 73 65 0a 6f 6e 6c 79 20 31 36  of those.only 16
0910: 20 73 74 69 6c 6c 20 68 61 76 65 20 74 72 61 63   still have trac
0920: 65 73 20 69 6e 20 74 68 65 20 6c 61 74 65 73 74  es in the latest
0930: 20 72 65 6c 65 61 73 65 2e 20 20 0a 4f 6e 6c 79   release.  .Only
0940: 20 33 20 64 65 76 65 6c 6f 70 65 72 73 20 68 61   3 developers ha
0950: 76 65 20 63 6f 6e 74 72 69 62 75 74 65 64 0a 6e  ve contributed.n
0960: 6f 6e 2d 63 6f 6d 6d 65 6e 74 20 63 68 61 6e 67  on-comment chang
0970: 65 73 20 77 69 74 68 69 6e 20 74 68 65 20 70 72  es within the pr
0980: 65 76 69 6f 75 73 20 66 69 76 65 20 79 65 61 72  evious five year
0990: 73 20 61 6e 64 20 39 36 2e 34 25 20 6f 66 20 74  s and 96.4% of t
09a0: 68 65 20 6c 61 74 65 73 74 0a 72 65 6c 65 61 73  he latest.releas
09b0: 65 20 63 6f 64 65 20 77 61 73 20 77 72 69 74 74  e code was writt
09c0: 65 6e 20 62 79 20 6a 75 73 74 20 74 77 6f 20 70  en by just two p
09d0: 65 6f 70 6c 65 2e 0a 28 54 68 65 20 73 74 61 74  eople..(The stat
09e0: 69 73 74 69 63 73 20 69 6e 20 74 68 69 73 20 70  istics in this p
09f0: 61 72 61 67 72 61 70 68 20 77 65 72 65 20 67 61  aragraph were ga
0a00: 74 68 65 72 65 64 20 6f 6e 20 32 30 31 38 2d 30  thered on 2018-0
0a10: 32 2d 30 35 2e 29 0a 0a 3c 70 3e 0a 46 75 72 74  2-05.)..<p>.Furt
0a20: 68 65 72 6d 6f 72 65 2c 20 61 6c 6c 20 6f 66 20  hermore, all of 
0a30: 74 68 65 20 63 6f 64 65 20 69 6e 20 53 51 4c 69  the code in SQLi
0a40: 74 65 20 69 73 20 6f 72 69 67 69 6e 61 6c 2c 20  te is original, 
0a50: 68 61 76 69 6e 67 20 62 65 65 6e 20 77 72 69 74  having been writ
0a60: 74 65 6e 0a 73 70 65 63 69 66 69 63 61 6c 6c 79  ten.specifically
0a70: 20 66 6f 72 20 75 73 65 20 62 79 20 53 51 4c 69   for use by SQLi
0a80: 74 65 2e 20 20 4e 6f 20 63 6f 64 65 20 68 61 73  te.  No code has
0a90: 20 62 65 65 6e 20 63 6f 70 69 65 64 20 66 72 6f   been copied fro
0aa0: 6d 20 75 6e 6b 6e 6f 77 6e 0a 73 6f 75 72 63 65  m unknown.source
0ab0: 73 20 6f 6e 20 74 68 65 20 69 6e 74 65 72 6e 65  s on the interne
0ac0: 74 2e 0a 0a 3c 70 3e 0a 4d 61 6e 79 20 70 65 6f  t...<p>.Many peo
0ad0: 70 6c 65 20 61 73 73 6f 63 69 61 74 65 64 20 22  ple associated "
0ae0: 6f 70 65 6e 2d 73 6f 75 72 63 65 22 20 73 6f 66  open-source" sof
0af0: 74 77 61 72 65 20 77 69 74 68 20 73 6f 66 74 77  tware with softw
0b00: 61 72 65 20 74 68 61 74 20 68 61 73 0a 67 72 6f  are that has.gro
0b10: 77 6e 20 6f 72 67 61 6e 69 63 61 6c 6c 79 20 74  wn organically t
0b20: 68 72 6f 75 67 68 20 63 6f 6e 74 72 69 62 75 74  hrough contribut
0b30: 69 6f 6e 73 20 66 72 6f 6d 20 63 6f 75 6e 74 6c  ions from countl
0b40: 65 73 73 20 69 6e 64 69 76 69 64 75 61 6c 73 2e  ess individuals.
0b50: 0a 41 6e 64 2c 20 69 6e 64 65 65 64 2c 20 74 68  .And, indeed, th
0b60: 65 72 65 20 69 73 20 73 6f 6d 65 20 6f 70 65 6e  ere is some open
0b70: 2d 73 6f 75 72 63 65 20 73 6f 66 74 77 61 72 65  -source software
0b80: 20 74 68 61 74 20 77 6f 72 6b 73 20 74 68 61 74   that works that
0b90: 20 77 61 79 2e 0a 42 75 74 20 6e 6f 74 20 53 51   way..But not SQ
0ba0: 4c 69 74 65 2e 20 20 53 51 4c 69 74 65 20 75 73  Lite.  SQLite us
0bb0: 65 73 20 74 68 65 20 74 68 65 0a 5b 68 74 74 70  es the the.[http
0bc0: 73 3a 2f 2f 65 6e 2e 77 69 6b 69 70 65 64 69 61  s://en.wikipedia
0bd0: 2e 6f 72 67 2f 77 69 6b 69 2f 54 68 65 5f 43 61  .org/wiki/The_Ca
0be0: 74 68 65 64 72 61 6c 5f 61 6e 64 5f 74 68 65 5f  thedral_and_the_
0bf0: 42 61 7a 61 61 72 7c 63 61 74 68 65 64 72 61 6c  Bazaar|cathedral
0c00: 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 70 68 69   development phi
0c10: 6c 6f 73 6f 70 79 5d 0a 6e 6f 74 20 74 68 65 20  losopy].not the 
0c20: 62 61 7a 61 61 72 20 61 70 70 72 6f 61 63 68 2e  bazaar approach.
0c30: 20 20 41 6c 6c 20 6f 66 20 74 68 65 20 53 51 4c    All of the SQL
0c40: 69 74 65 20 63 6f 64 65 20 68 61 73 20 62 65 65  ite code has bee
0c50: 6e 20 77 72 69 74 74 65 6e 0a 62 79 20 70 65 6f  n written.by peo
0c60: 70 6c 65 20 77 68 6f 20 61 72 65 20 77 65 6c 6c  ple who are well
0c70: 20 6b 6e 6f 77 6e 20 74 6f 20 65 61 63 68 20 6f   known to each o
0c80: 74 68 65 72 2e 0a 0a 3c 74 63 6c 3e 68 64 5f 66  ther...<tcl>hd_f
0c90: 72 61 67 6d 65 6e 74 20 77 61 72 72 61 6e 74 79  ragment warranty
0ca0: 6f 66 74 69 74 6c 65 20 7b 57 61 72 72 61 6e 74  oftitle {Warrant
0cb0: 79 20 6f 66 20 54 69 74 6c 65 7d 3c 2f 74 63 6c  y of Title}</tcl
0cc0: 3e 0a 0a 3c 64 69 76 20 63 6c 61 73 73 3d 22 72  >..<div class="r
0cd0: 69 67 68 74 73 69 64 65 62 61 72 22 3e 0a 3c 66  ightsidebar">.<f
0ce0: 6f 72 6d 20 6d 65 74 68 6f 64 3d 22 47 45 54 22  orm method="GET"
0cf0: 20 61 63 74 69 6f 6e 3d 22 68 74 74 70 73 3a 2f   action="https:/
0d00: 2f 77 77 77 2e 68 77 61 63 69 2e 63 6f 6d 2f 63  /www.hwaci.com/c
0d10: 67 69 2d 62 69 6e 2f 6c 69 63 65 6e 73 65 2d 73  gi-bin/license-s
0d20: 74 65 70 31 22 3e 0a 3c 69 6e 70 75 74 20 74 79  tep1">.<input ty
0d30: 70 65 3d 22 73 75 62 6d 69 74 22 20 76 61 6c 75  pe="submit" valu
0d40: 65 3d 22 42 75 79 20 41 6e 20 53 51 4c 69 74 65  e="Buy An SQLite
0d50: 20 4c 69 63 65 6e 73 65 22 3e 0a 3c 2f 66 6f 72   License">.</for
0d60: 6d 3e 0a 3c 2f 64 69 76 3e 0a 0a 3c 68 32 3e 57  m>.</div>..<h2>W
0d70: 61 72 72 61 6e 74 79 20 6f 66 20 54 69 74 6c 65  arranty of Title
0d80: 3c 2f 68 32 3e 0a 0a 3c 70 3e 0a 53 51 4c 69 74  </h2>..<p>.SQLit
0d90: 65 20 69 73 20 69 6e 20 74 68 65 20 70 75 62 6c  e is in the publ
0da0: 69 63 20 64 6f 6d 61 69 6e 20 61 6e 64 20 64 6f  ic domain and do
0db0: 65 73 20 6e 6f 74 20 72 65 71 75 69 72 65 20 61  es not require a
0dc0: 20 6c 69 63 65 6e 73 65 2e 0a 45 76 65 6e 20 73   license..Even s
0dd0: 6f 2c 20 73 6f 6d 65 20 6f 72 67 61 6e 69 7a 61  o, some organiza
0de0: 74 69 6f 6e 73 20 77 61 6e 74 20 6c 65 67 61 6c  tions want legal
0df0: 20 70 72 6f 6f 66 20 6f 66 20 74 68 65 69 72 20   proof of their 
0e00: 72 69 67 68 74 20 74 6f 20 75 73 65 0a 53 51 4c  right to use.SQL
0e10: 69 74 65 2e 20 20 43 69 72 63 75 6d 73 74 61 6e  ite.  Circumstan
0e20: 63 65 73 20 77 68 65 72 65 20 74 68 69 73 20 6f  ces where this o
0e30: 63 63 75 72 73 20 69 6e 63 6c 75 64 65 20 74 68  ccurs include th
0e40: 65 20 66 6f 6c 6c 6f 77 69 6e 67 3a 0a 3c 2f 70  e following:.</p
0e50: 3e 0a 0a 3c 75 6c 3e 0a 3c 6c 69 3e 20 59 6f 75  >..<ul>.<li> You
0e60: 72 20 63 6f 6d 70 61 6e 79 20 64 65 73 69 72 65  r company desire
0e70: 73 20 69 6e 64 65 6d 6e 69 74 79 20 61 67 61 69  s indemnity agai
0e80: 6e 73 74 20 63 6c 61 69 6d 73 20 6f 66 20 63 6f  nst claims of co
0e90: 70 79 72 69 67 68 74 20 69 6e 66 72 69 6e 67 65  pyright infringe
0ea0: 6d 65 6e 74 2e 0a 3c 6c 69 3e 20 59 6f 75 20 61  ment..<li> You a
0eb0: 72 65 20 75 73 69 6e 67 20 53 51 4c 69 74 65 20  re using SQLite 
0ec0: 69 6e 20 61 20 6a 75 72 69 73 64 69 63 74 69 6f  in a jurisdictio
0ed0: 6e 20 74 68 61 74 20 64 6f 65 73 20 6e 6f 74 20  n that does not 
0ee0: 72 65 63 6f 67 6e 69 7a 65 0a 20 20 20 20 20 74  recognize.     t
0ef0: 68 65 20 70 75 62 6c 69 63 20 64 6f 6d 61 69 6e  he public domain
0f00: 2e 20 20 3c 2f 6c 69 3e 0a 3c 6c 69 3e 20 59 6f  .  </li>.<li> Yo
0f10: 75 20 61 72 65 20 75 73 69 6e 67 20 53 51 4c 69  u are using SQLi
0f20: 74 65 20 69 6e 20 61 20 6a 75 72 69 73 64 69 63  te in a jurisdic
0f30: 74 69 6f 6e 20 74 68 61 74 20 64 6f 65 73 20 6e  tion that does n
0f40: 6f 74 20 72 65 63 6f 67 6e 69 7a 65 0a 20 20 20  ot recognize.   
0f50: 20 20 74 68 65 20 72 69 67 68 74 20 6f 66 20 61    the right of a
0f60: 6e 20 61 75 74 68 6f 72 20 74 6f 20 64 65 64 69  n author to dedi
0f70: 63 61 74 65 20 74 68 65 69 72 20 77 6f 72 6b 20  cate their work 
0f80: 74 6f 20 74 68 65 20 70 75 62 6c 69 63 0a 20 20  to the public.  
0f90: 20 20 20 64 6f 6d 61 69 6e 2e 20 3c 2f 6c 69 3e     domain. </li>
0fa0: 0a 3c 6c 69 3e 20 59 6f 75 20 77 61 6e 74 20 74  .<li> You want t
0fb0: 6f 20 68 6f 6c 64 20 61 20 74 61 6e 67 69 62 6c  o hold a tangibl
0fc0: 65 20 6c 65 67 61 6c 20 64 6f 63 75 6d 65 6e 74  e legal document
0fd0: 0a 20 20 20 20 20 61 73 20 65 76 69 64 65 6e 63  .     as evidenc
0fe0: 65 20 74 68 61 74 20 79 6f 75 20 68 61 76 65 20  e that you have 
0ff0: 74 68 65 20 6c 65 67 61 6c 20 72 69 67 68 74 20  the legal right 
1000: 74 6f 20 75 73 65 20 61 6e 64 20 64 69 73 74 72  to use and distr
1010: 69 62 75 74 65 0a 20 20 20 20 20 53 51 4c 69 74  ibute.     SQLit
1020: 65 2e 20 3c 2f 6c 69 3e 0a 3c 6c 69 3e 20 59 6f  e. </li>.<li> Yo
1030: 75 72 20 6c 65 67 61 6c 20 64 65 70 61 72 74 6d  ur legal departm
1040: 65 6e 74 20 74 65 6c 6c 73 20 79 6f 75 20 74 68  ent tells you th
1050: 61 74 20 79 6f 75 20 68 61 76 65 20 74 6f 20 70  at you have to p
1060: 75 72 63 68 61 73 65 20 61 20 6c 69 63 65 6e 73  urchase a licens
1070: 65 2e 0a 20 20 20 20 20 3c 2f 6c 69 3e 0a 3c 2f  e..     </li>.</
1080: 75 6c 3e 0a 0a 3c 70 3e 0a 49 66 20 61 6e 79 20  ul>..<p>.If any 
1090: 6f 66 20 74 68 65 20 61 62 6f 76 65 20 63 69 72  of the above cir
10a0: 63 75 6d 73 74 61 6e 63 65 73 20 61 70 70 6c 79  cumstances apply
10b0: 20 74 6f 20 79 6f 75 2c 0a 3c 61 20 68 72 65 66   to you,.<a href
10c0: 3d 22 68 74 74 70 73 3a 2f 2f 77 77 77 2e 68 77  ="https://www.hw
10d0: 61 63 69 2e 63 6f 6d 2f 22 3e 48 77 61 63 69 3c  aci.com/">Hwaci<
10e0: 2f 61 3e 2c 20 74 68 65 20 63 6f 6d 70 61 6e 79  /a>, the company
10f0: 20 74 68 61 74 20 65 6d 70 6c 6f 79 73 20 0a 61   that employs .a
1100: 6c 6c 20 74 68 65 20 64 65 76 65 6c 6f 70 65 72  ll the developer
1110: 73 20 6f 66 20 53 51 4c 69 74 65 2c 20 77 69 6c  s of SQLite, wil
1120: 6c 20 0a 3c 61 20 68 72 65 66 3d 22 68 74 74 70  l .<a href="http
1130: 73 3a 2f 2f 77 77 77 2e 68 77 61 63 69 2e 63 6f  s://www.hwaci.co
1140: 6d 2f 63 67 69 2d 62 69 6e 2f 6c 69 63 65 6e 73  m/cgi-bin/licens
1150: 65 2d 73 74 65 70 31 22 3e 73 65 6c 6c 20 79 6f  e-step1">sell yo
1160: 75 0a 61 20 57 61 72 72 61 6e 74 79 20 6f 66 20  u.a Warranty of 
1170: 54 69 74 6c 65 20 66 6f 72 20 53 51 4c 69 74 65  Title for SQLite
1180: 3c 2f 61 3e 2e 0a 41 20 57 61 72 72 61 6e 74 79  </a>..A Warranty
1190: 20 6f 66 20 54 69 74 6c 65 20 69 73 20 61 20 6c   of Title is a l
11a0: 65 67 61 6c 20 64 6f 63 75 6d 65 6e 74 20 74 68  egal document th
11b0: 61 74 20 61 73 73 65 72 74 73 20 74 68 61 74 20  at asserts that 
11c0: 74 68 65 20 63 6c 61 69 6d 65 64 0a 61 75 74 68  the claimed.auth
11d0: 6f 72 73 20 6f 66 20 53 51 4c 69 74 65 20 61 72  ors of SQLite ar
11e0: 65 20 74 68 65 20 74 72 75 65 20 61 75 74 68 6f  e the true autho
11f0: 72 73 2c 20 61 6e 64 20 74 68 61 74 20 74 68 65  rs, and that the
1200: 20 61 75 74 68 6f 72 73 20 0a 68 61 76 65 20 74   authors .have t
1210: 68 65 20 6c 65 67 61 6c 20 72 69 67 68 74 20 74  he legal right t
1220: 6f 20 64 65 64 69 63 61 74 65 20 74 68 65 20 53  o dedicate the S
1230: 51 4c 69 74 65 20 74 6f 20 74 68 65 20 70 75 62  QLite to the pub
1240: 6c 69 63 20 64 6f 6d 61 69 6e 2c 20 61 6e 64 20  lic domain, and 
1250: 0a 74 68 61 74 20 48 77 61 63 69 20 77 69 6c 6c  .that Hwaci will
1260: 20 76 69 67 6f 72 6f 75 73 6c 79 20 64 65 66 65   vigorously defe
1270: 6e 64 20 61 67 61 69 6e 73 74 20 63 68 61 6c 6c  nd against chall
1280: 65 6e 67 65 73 20 74 6f 20 74 68 6f 73 65 20 63  enges to those c
1290: 6c 61 69 6d 73 2e 0a 41 6c 6c 20 70 72 6f 63 65  laims..All proce
12a0: 65 64 73 20 66 72 6f 6d 20 74 68 65 20 73 61 6c  eds from the sal
12b0: 65 20 6f 66 20 53 51 4c 69 74 65 20 57 61 72 72  e of SQLite Warr
12c0: 61 6e 74 69 65 73 20 6f 66 20 54 69 74 6c 65 20  anties of Title 
12d0: 61 72 65 20 75 73 65 64 20 74 6f 20 66 75 6e 64  are used to fund
12e0: 0a 63 6f 6e 74 69 6e 75 69 6e 67 20 69 6d 70 72  .continuing impr
12f0: 6f 76 65 6d 65 6e 74 20 61 6e 64 20 73 75 70 70  ovement and supp
1300: 6f 72 74 20 6f 66 20 53 51 4c 69 74 65 2e 0a 3c  ort of SQLite..<
1310: 2f 70 3e 0a 0a 3c 68 32 3e 43 6f 6e 74 72 69 62  /p>..<h2>Contrib
1320: 75 74 65 64 20 43 6f 64 65 3c 2f 68 32 3e 0a 0a  uted Code</h2>..
1330: 3c 70 3e 0a 49 6e 20 6f 72 64 65 72 20 74 6f 20  <p>.In order to 
1340: 6b 65 65 70 20 53 51 4c 69 74 65 20 63 6f 6d 70  keep SQLite comp
1350: 6c 65 74 65 6c 79 20 66 72 65 65 20 61 6e 64 20  letely free and 
1360: 75 6e 65 6e 63 75 6d 62 65 72 65 64 20 62 79 20  unencumbered by 
1370: 63 6f 70 79 72 69 67 68 74 2c 0a 74 68 65 20 70  copyright,.the p
1380: 72 6f 6a 65 63 74 20 64 6f 65 73 20 6e 6f 74 20  roject does not 
1390: 61 63 63 65 70 74 20 70 61 74 63 68 65 73 2e 20  accept patches. 
13a0: 20 49 66 20 79 6f 75 20 77 6f 75 6c 64 20 6c 69   If you would li
13b0: 6b 65 20 74 6f 20 6d 61 6b 65 20 61 0a 73 75 67  ke to make a.sug
13c0: 67 65 73 74 65 64 20 63 68 61 6e 67 65 2c 20 61  gested change, a
13d0: 6e 64 20 69 6e 63 6c 75 64 65 20 61 20 70 61 74  nd include a pat
13e0: 63 68 20 61 73 20 61 20 70 72 6f 6f 66 2d 6f 66  ch as a proof-of
13f0: 2d 63 6f 6e 63 65 70 74 2c 20 74 68 61 74 20 77  -concept, that w
1400: 6f 75 6c 64 0a 62 65 20 67 72 65 61 74 2e 20 20  ould.be great.  
1410: 48 6f 77 65 76 65 72 20 70 6c 65 61 73 65 20 64  However please d
1420: 6f 20 6e 6f 74 20 62 65 20 6f 66 66 65 6e 64 65  o not be offende
1430: 64 20 69 66 20 77 65 20 72 65 77 72 69 74 65 20  d if we rewrite 
1440: 79 6f 75 72 20 70 61 74 63 68 0a 66 72 6f 6d 20  your patch.from 
1450: 73 63 72 61 74 63 68 2e 0a                       scratch..