Artifact
89ac28606a48b91cbc7e7f34484eac7710e7fa73b687b10056ab381aac7b90ec:
Wiki page
[MySQL++] by
tangent
2019-12-03 13:13:07.
0000: 44 20 32 30 31 39 2d 31 32 2d 30 33 54 31 33 3a D 2019-12-03T13:
0010: 31 33 3a 30 37 2e 31 36 33 0a 4c 20 4d 79 53 51 13:07.163.L MySQ
0020: 4c 2b 2b 0a 4e 20 74 65 78 74 2f 78 2d 6d 61 72 L++.N text/x-mar
0030: 6b 64 6f 77 6e 0a 50 20 35 38 36 35 31 65 33 35 kdown.P 58651e35
0040: 63 63 31 32 66 35 30 62 62 63 66 35 34 36 31 61 cc12f50bbcf5461a
0050: 63 37 34 31 30 61 31 62 33 34 39 61 65 38 37 36 c7410a1b349ae876
0060: 61 33 30 64 37 38 65 61 64 32 63 66 36 65 61 38 a30d78ead2cf6ea8
0070: 30 32 32 62 38 37 62 37 0a 55 20 74 61 6e 67 65 022b87b7.U tange
0080: 6e 74 0a 57 20 36 30 31 38 0a 3c 69 6d 67 20 73 nt.W 6018.<img s
0090: 72 63 3d 22 2f 6d 79 73 71 6c 70 70 2f 66 69 6c rc="/mysqlpp/fil
00a0: 65 2f 73 74 61 74 69 63 2f 6c 6f 67 6f 2d 73 6d e/static/logo-sm
00b0: 61 6c 6c 2e 6a 70 67 3f 64 6f 77 6e 6c 6f 61 64 all.jpg?download
00c0: 22 20 61 6c 74 3d 22 4d 79 53 51 4c 2b 2b 20 72 " alt="MySQL++ r
00d0: 6f 63 6b 73 22 20 77 69 64 74 68 3d 22 33 30 30 ocks" width="300
00e0: 22 20 68 65 69 67 68 74 3d 22 31 34 32 22 20 73 " height="142" s
00f0: 74 79 6c 65 3d 22 66 6c 6f 61 74 3a 72 69 67 68 tyle="float:righ
0100: 74 3b 20 6d 61 72 67 69 6e 2d 6c 65 66 74 3a 32 t; margin-left:2
0110: 30 70 78 22 20 2f 3e 0d 0a 0d 0a 4d 79 53 51 4c 0px" />....MySQL
0120: 2b 2b 20 69 73 20 61 20 43 2b 2b 20 77 72 61 70 ++ is a C++ wrap
0130: 70 65 72 20 66 6f 72 20 5b 4d 79 53 51 4c 5d 28 per for [MySQL](
0140: 68 74 74 70 3a 2f 2f 6d 79 73 71 6c 2e 63 6f 6d http://mysql.com
0150: 2f 29 e2 80 99 73 20 43 20 41 50 49 2e 20 49 74 /)’s C API. It
0160: 20 69 73 20 62 75 69 6c 74 20 61 72 6f 75 6e 64 is built around
0170: 20 74 68 65 20 73 61 6d 65 20 70 72 69 6e 63 69 the same princi
0180: 70 6c 65 73 20 61 73 20 74 68 65 20 53 74 61 6e ples as the Stan
0190: 64 61 72 64 20 43 2b 2b 20 4c 69 62 72 61 72 79 dard C++ Library
01a0: 2c 20 74 6f 20 6d 61 6b 65 20 64 65 61 6c 69 6e , to make dealin
01b0: 67 20 77 69 74 68 20 74 68 65 20 64 61 74 61 62 g with the datab
01c0: 61 73 65 20 61 73 20 65 61 73 79 20 61 73 20 64 ase as easy as d
01d0: 65 61 6c 69 6e 67 20 77 69 74 68 20 53 54 4c 20 ealing with STL
01e0: 63 6f 6e 74 61 69 6e 65 72 73 2e 20 49 6e 20 61 containers. In a
01f0: 64 64 69 74 69 6f 6e 2c 20 4d 79 53 51 4c 2b 2b ddition, MySQL++
0200: 20 70 72 6f 76 69 64 65 73 20 66 61 63 69 6c 69 provides facili
0210: 74 69 65 73 20 74 68 61 74 20 6c 65 74 20 79 6f ties that let yo
0220: 75 20 61 76 6f 69 64 20 74 68 65 20 6d 6f 73 74 u avoid the most
0230: 20 72 65 70 65 74 69 74 69 76 65 20 73 6f 72 74 repetitive sort
0240: 73 20 6f 66 20 53 51 4c 20 77 69 74 68 69 6e 20 s of SQL within
0250: 79 6f 75 72 20 6f 77 6e 20 63 6f 64 65 2c 20 70 your own code, p
0260: 72 6f 76 69 64 69 6e 67 20 6e 61 74 69 76 65 20 roviding native
0270: 43 2b 2b 20 69 6e 74 65 72 66 61 63 65 73 20 66 C++ interfaces f
0280: 6f 72 20 74 68 65 73 65 20 63 6f 6d 6d 6f 6e 20 or these common
0290: 74 61 73 6b 73 2e 0d 0a 0d 0a 49 66 20 79 6f 75 tasks.....If you
02a0: 20 68 61 76 65 20 71 75 65 73 74 69 6f 6e 73 20 have questions
02b0: 61 62 6f 75 74 20 74 68 69 73 20 70 72 6f 6a 65 about this proje
02c0: 63 74 20 61 6e 64 20 63 61 6e e2 80 99 74 20 66 ct and can’t f
02d0: 69 6e 64 20 61 6e 20 61 6e 73 77 65 72 20 69 6e ind an answer in
02e0: 20 74 68 65 20 5b 64 6f 63 75 6d 65 6e 74 61 74 the [documentat
02f0: 69 6f 6e 5d 28 2f 77 69 6b 69 3f 6e 61 6d 65 3d ion](/wiki?name=
0300: 44 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 29 20 6f Documentation) o
0310: 72 20 74 68 65 20 5b 6d 61 69 6c 69 6e 67 20 6c r the [mailing l
0320: 69 73 74 20 61 72 63 68 69 76 65 73 5d 28 68 74 ist archives](ht
0330: 74 70 3a 2f 2f 6c 69 73 74 73 2e 6d 79 73 71 6c tp://lists.mysql
0340: 2e 63 6f 6d 2f 70 6c 75 73 70 6c 75 73 2f 29 2c .com/plusplus/),
0350: 20 61 73 6b 20 6f 6e 20 5b 74 68 65 20 77 65 62 ask on [the web
0360: 20 66 6f 72 75 6d 5d 28 2f 66 6f 72 75 6d 29 20 forum](/forum)
0370: 6f 72 20 5b 74 68 65 20 6d 61 69 6c 69 6e 67 20 or [the mailing
0380: 6c 69 73 74 5d 28 68 74 74 70 3a 2f 2f 6c 69 73 list](http://lis
0390: 74 73 2e 6d 79 73 71 6c 2e 63 6f 6d 2f 70 6c 75 ts.mysql.com/plu
03a0: 73 70 6c 75 73 2f 29 2e 20 57 65 20 61 6c 73 6f splus/). We also
03b0: 20 68 61 76 65 20 61 20 5b 74 69 63 6b 65 74 20 have a [ticket
03c0: 73 79 73 74 65 6d 5d 28 2f 74 6b 74 6e 65 77 29 system](/tktnew)
03d0: 2c 20 62 75 74 20 69 74 27 73 20 62 65 73 74 20 , but it's best
03e0: 74 6f 20 64 69 73 63 75 73 73 20 73 75 63 68 20 to discuss such
03f0: 74 68 69 6e 67 73 20 66 69 72 73 74 20 62 65 66 things first bef
0400: 6f 72 65 20 66 69 6c 69 6e 67 20 61 20 74 69 63 ore filing a tic
0410: 6b 65 74 2e 0d 0a 0d 0a 0d 0a 23 23 20 3c 61 20 ket.......## <a
0420: 6e 61 6d 65 3d 22 73 74 61 62 6c 65 22 3e 3c 2f name="stable"></
0430: 61 3e 4c 61 74 65 73 74 20 53 74 61 62 6c 65 20 a>Latest Stable
0440: 56 65 72 73 69 6f 6e 0d 0a 0d 0a 42 65 66 6f 72 Version....Befor
0450: 65 20 75 70 67 72 61 64 69 6e 67 20 61 6e 20 65 e upgrading an e
0460: 78 69 73 74 69 6e 67 20 76 65 72 73 69 6f 6e 20 xisting version
0470: 6f 66 20 4d 79 53 51 4c 2b 2b 2c 20 70 6c 65 61 of MySQL++, plea
0480: 73 65 20 73 63 61 6e 20 74 68 72 6f 75 67 68 20 se scan through
0490: 74 68 65 20 5b 63 68 61 6e 67 65 20 6c 6f 67 5d the [change log]
04a0: 28 2f 64 6f 63 2f 74 72 75 6e 6b 2f 43 68 61 6e (/doc/trunk/Chan
04b0: 67 65 4c 6f 67 2e 6d 64 29 20 66 69 72 73 74 2e geLog.md) first.
04c0: 20 49 66 20 79 6f 75 e2 80 99 72 65 20 63 6f 6d If you’re com
04d0: 69 6e 67 20 66 72 6f 6d 20 61 20 6d 75 63 68 20 ing from a much
04e0: 6f 6c 64 65 72 20 76 65 72 73 69 6f 6e 2c 20 62 older version, b
04f0: 65 74 74 65 72 20 72 65 61 64 20 74 68 72 6f 75 etter read throu
0500: 67 68 20 74 68 65 20 e2 80 9c 5b 49 6e 63 6f 6d gh the “[Incom
0510: 70 61 74 69 62 6c 65 20 4c 69 62 72 61 72 79 20 patible Library
0520: 43 68 61 6e 67 65 73 5d 28 64 6f 63 2f 68 74 6d Changes](doc/htm
0530: 6c 2f 75 73 65 72 6d 61 6e 2f 62 72 65 61 6b 61 l/userman/breaka
0540: 67 65 73 2e 68 74 6d 6c 29 e2 80 9d 20 63 68 61 ges.html)” cha
0550: 70 74 65 72 20 69 6e 20 74 68 65 20 5b 75 73 65 pter in the [use
0560: 72 20 6d 61 6e 75 61 6c 5d 28 64 6f 63 2f 68 74 r manual](doc/ht
0570: 6d 6c 2f 75 73 65 72 6d 61 6e 2f 29 20 69 6e 73 ml/userman/) ins
0580: 74 65 61 64 2e 20 0d 0a 0d 0a 0d 0a 23 23 23 20 tead. ......###
0590: 3c 61 20 6e 61 6d 65 3d 22 73 6f 75 72 63 65 22 <a name="source"
05a0: 3e 3c 2f 61 3e 53 6f 75 72 63 65 20 43 6f 64 65 ></a>Source Code
05b0: 0d 0a 0d 0a 54 68 65 20 4d 79 53 51 4c 2b 2b 20 ....The MySQL++
05c0: 73 6f 75 72 63 65 20 63 6f 64 65 20 69 73 20 61 source code is a
05d0: 76 61 69 6c 61 62 6c 65 20 69 6e 20 73 65 76 65 vailable in seve
05e0: 72 61 6c 20 66 6f 72 6d 73 3a 0d 0a 0d 0a 2a 20 ral forms:....*
05f0: 20 20 2a 2a 52 65 6c 65 61 73 65 20 54 61 72 62 **Release Tarb
0600: 61 6c 6c 3a 2a 2a 20 5b 6d 79 73 71 6c 2b 2b 2d all:** [mysql++-
0610: 33 2e 32 2e 35 2e 74 61 72 2e 67 7a 5d 28 72 65 3.2.5.tar.gz](re
0620: 6c 65 61 73 65 73 2f 6d 79 73 71 6c 2b 2b 2d 33 leases/mysql++-3
0630: 2e 32 2e 35 2e 74 61 72 2e 67 7a 29 c2 a0 28 34 .2.5.tar.gz) (4
0640: 2e 35 c2 a0 4d 69 42 2c c2 a0 32 30 31 39 2e 30 .5 MiB, 2019.0
0650: 37 2e 32 31 29 20 e2 80 94 20 49 66 20 79 6f 75 7.21) — If you
0660: 20 61 72 65 6e e2 80 99 74 20 73 75 72 65 20 77 aren’t sure w
0670: 68 69 63 68 20 66 69 6c 65 20 74 6f 20 64 6f 77 hich file to dow
0680: 6e 6c 6f 61 64 2c 20 64 6f 77 6e 6c 6f 61 64 20 nload, download
0690: 74 68 69 73 2e 0d 0a 0d 0a 2a 20 20 2a 2a 52 65 this.....* **Re
06a0: 6c 65 61 73 65 20 53 52 50 4d 3a 2a 2a 20 5b 6d lease SRPM:** [m
06b0: 79 73 71 6c 2b 2b 2d 33 2e 32 2e 35 2d 31 2e 65 ysql++-3.2.5-1.e
06c0: 6c 37 2e 73 72 63 2e 72 70 6d 5d 28 72 65 6c 65 l7.src.rpm](rele
06d0: 61 73 65 73 2f 6d 79 73 71 6c 2b 2b 2d 33 2e 32 ases/mysql++-3.2
06e0: 2e 35 2d 31 2e 65 6c 37 2e 73 72 63 2e 72 70 6d .5-1.el7.src.rpm
06f0: 29 c2 a0 28 33 2e 33 c2 a0 4d 69 42 2c c2 a0 32 ) (3.3 MiB, 2
0700: 30 31 39 2e 30 37 2e 32 31 29 20 e2 80 94 20 46 019.07.21) — F
0710: 6f 72 20 74 68 6f 73 65 20 74 68 61 74 20 6e 65 or those that ne
0720: 65 64 20 74 6f 20 62 75 69 6c 64 20 74 68 65 69 ed to build thei
0730: 72 20 6f 77 6e 20 62 69 6e 61 72 79 20 52 50 4d r own binary RPM
0740: 73 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 24 20 s:.... $
0750: 72 70 6d 62 75 69 6c 64 20 2d 2d 72 65 62 75 69 rpmbuild --rebui
0760: 6c 64 20 2f 77 68 65 72 65 76 65 72 2f 69 74 2f ld /wherever/it/
0770: 69 73 2f 6d 79 73 71 6c 2b 2b 2d 33 2e 32 2e 35 is/mysql++-3.2.5
0780: 2d 31 2e 65 6c 37 2e 73 72 63 2e 72 70 6d 0d 0a -1.el7.src.rpm..
0790: 0d 0a 20 20 20 20 54 68 65 20 72 65 73 75 6c 74 .. The result
07a0: 69 6e 67 20 60 6d 79 73 71 6c 2b 2b 60 2c 20 60 ing `mysql++`, `
07b0: 6d 79 73 71 6c 2b 2b 2d 64 65 76 65 6c 60 20 61 mysql++-devel` a
07c0: 6e 64 20 60 6d 79 73 71 6c 2b 2b 2d 6d 61 6e 75 nd `mysql++-manu
07d0: 61 6c 73 60 20 52 50 4d 73 20 73 68 6f 75 6c 64 als` RPMs should
07e0: 20 74 68 65 6e 20 62 65 20 66 6f 75 6e 64 20 69 then be found i
07f0: 6e 20 60 7e 2f 72 70 6d 62 75 69 6c 64 2f 52 50 n `~/rpmbuild/RP
0800: 4d 53 2f 78 38 36 5f 36 34 60 20 69 66 20 79 6f MS/x86_64` if yo
0810: 75 20 64 69 64 20 69 74 20 6f 6e 20 61 20 36 34 u did it on a 64
0820: 2d 62 69 74 20 78 38 36 20 62 61 73 65 64 20 4c -bit x86 based L
0830: 69 6e 75 78 20 62 6f 78 2e 0d 0a 0d 0a 2a 20 20 inux box.....*
0840: 2a 2a 54 69 70 2d 6f 66 2d 74 72 75 6e 6b 20 54 **Tip-of-trunk T
0850: 61 72 62 61 6c 6c 3a 2a 2a 20 5b 6d 79 73 71 6c arball:** [mysql
0860: 2b 2b 2d 74 72 75 6e 6b 2e 74 61 72 2e 67 7a 5d ++-trunk.tar.gz]
0870: 28 2f 74 61 72 62 61 6c 6c 2f 6d 79 73 71 6c 25 (/tarball/mysql%
0880: 32 42 25 32 42 2d 74 72 75 6e 6b 2e 74 61 72 2e 2B%2B-trunk.tar.
0890: 67 7a 3f 75 75 69 64 3d 74 72 75 6e 6b 29 20 e2 gz?uuid=trunk)
08a0: 80 94 20 46 6f 72 20 74 68 6f 73 65 20 77 68 6f For those who
08b0: 20 6e 65 65 64 20 74 68 65 20 6c 61 74 65 73 74 need the latest
08c0: 20 62 6c 65 65 64 69 6e 67 2d 65 64 67 65 20 76 bleeding-edge v
08d0: 65 72 73 69 6f 6e 20 77 69 74 68 6f 75 74 20 62 ersion without b
08e0: 6f 74 68 65 72 69 6e 67 20 77 69 74 68 20 46 6f othering with Fo
08f0: 73 73 69 6c 2e 20 54 68 69 73 20 69 73 20 22 73 ssil. This is "s
0900: 74 61 62 6c 65 22 20 69 6e 20 74 68 65 20 73 65 table" in the se
0910: 6e 73 65 20 74 68 61 74 20 6f 75 72 20 72 65 70 nse that our rep
0920: 6f 73 69 74 6f 72 79 20 74 72 75 6e 6b 20 61 6c ository trunk al
0930: 6d 6f 73 74 20 61 6c 77 61 79 73 20 63 6f 6d 70 most always comp
0940: 69 6c 65 73 20 61 6e 64 20 72 75 6e 73 3b 20 65 iles and runs; e
0950: 78 70 65 72 69 6d 65 6e 74 61 6c 20 77 6f 72 6b xperimental work
0960: 20 69 73 20 64 6f 6e 65 20 6f 6e 20 62 72 61 6e is done on bran
0970: 63 68 65 73 20 74 6f 20 61 76 6f 69 64 20 64 65 ches to avoid de
0980: 73 74 61 62 69 6c 69 7a 69 6e 67 20 74 72 75 6e stabilizing trun
0990: 6b 2e 0d 0a 0d 0a 2a 20 20 20 2a 2a 46 6f 73 73 k.....* **Foss
09a0: 69 6c 20 52 65 70 6f 73 69 74 6f 72 79 3a 2a 2a il Repository:**
09b0: 20 59 6f 75 20 6d 61 79 20 5b 63 6c 6f 6e 65 20 You may [clone
09c0: 6f 75 72 20 46 6f 73 73 69 6c 20 72 65 70 6f 73 our Fossil repos
09d0: 69 74 6f 72 79 5d 28 2f 64 6f 63 2f 74 72 75 6e itory](/doc/trun
09e0: 6b 2f 48 41 43 4b 45 52 53 2e 6d 64 29 20 74 6f k/HACKERS.md) to
09f0: 20 67 65 74 20 74 68 65 20 63 75 72 72 65 6e 74 get the current
0a00: 20 77 6f 72 6b 20 6f 6e 20 4d 79 53 51 4c 2b 2b work on MySQL++
0a10: 20 77 69 74 68 20 5b 61 62 72 69 64 67 65 64 20 with [abridged
0a20: 68 69 73 74 6f 72 79 5d 28 2f 77 69 6b 69 3f 6e history](/wiki?n
0a30: 61 6d 65 3d 41 62 72 69 64 67 65 64 2b 56 65 72 ame=Abridged+Ver
0a40: 73 69 6f 6e 2b 48 69 73 74 6f 72 79 29 20 67 6f sion+History) go
0a50: 69 6e 67 20 62 61 63 6b 20 74 6f 20 74 68 65 20 ing back to the
0a60: 70 72 6f 6a 65 63 74 27 73 20 66 6f 75 6e 64 69 project's foundi
0a70: 6e 67 2c 20 74 68 65 20 77 69 6b 69 20 63 6f 6e ng, the wiki con
0a80: 74 65 6e 74 73 2c 20 6f 75 72 20 74 69 63 6b 65 tents, our ticke
0a90: 74 20 74 72 61 63 6b 65 72 20 63 6f 6e 74 65 6e t tracker conten
0aa0: 74 73 2c 20 66 6f 72 75 6d 20 70 6f 73 74 73 2c ts, forum posts,
0ab0: 20 61 6e 64 20 6d 6f 72 65 2e 20 54 68 65 20 72 and more. The r
0ac0: 65 70 6f 73 69 74 6f 72 79 20 69 73 20 5b 77 65 epository is [we
0ad0: 6c 6c 2d 74 61 67 67 65 64 5d 28 2f 74 61 67 6c ll-tagged](/tagl
0ae0: 69 73 74 29 2c 20 73 6f 20 79 6f 75 20 63 61 6e ist), so you can
0af0: 20 63 6f 6d 70 61 72 65 20 76 65 72 73 69 6f 6e compare version
0b00: 73 2c 20 72 6f 6c 6c 20 62 61 63 6b 20 74 6f 20 s, roll back to
0b10: 6f 6c 64 20 76 65 72 73 69 6f 6e 73 2c 20 65 74 old versions, et
0b20: 63 2e 20 54 68 69 73 20 69 73 20 74 68 65 20 62 c. This is the b
0b30: 65 73 74 20 6f 70 74 69 6f 6e 20 66 6f 72 20 74 est option for t
0b40: 68 6f 73 65 20 77 68 6f 20 77 61 6e 74 20 74 6f hose who want to
0b50: 20 70 61 72 74 69 63 69 70 61 74 65 20 69 6e 20 participate in
0b60: 74 68 65 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 the development
0b70: 6f 66 20 4d 79 53 51 4c 2b 2b 2e 20 0d 0a 0d 0a of MySQL++. ....
0b80: 2a 20 20 20 2a 2a 47 69 74 48 75 62 20 52 65 70 * **GitHub Rep
0b90: 6f 73 69 74 6f 72 79 3a 2a 2a 20 54 68 69 73 20 ository:** This
0ba0: 46 6f 73 73 69 6c 20 72 65 70 6f 73 69 74 6f 72 Fossil repositor
0bb0: 79 20 69 73 20 5b 6d 69 72 72 6f 72 65 64 20 6e y is [mirrored n
0bc0: 69 67 68 74 6c 79 2c 20 68 65 72 65 5d 28 68 74 ightly, here](ht
0bd0: 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d tps://github.com
0be0: 2f 74 61 6e 67 65 6e 74 73 6f 66 74 2f 6d 79 73 /tangentsoft/mys
0bf0: 71 6c 70 70 29 2e 20 57 65 20 5b 64 6f 20 6e 6f qlpp). We [do no
0c00: 74 20 61 63 63 65 70 74 20 50 52 73 5d 28 2f 66 t accept PRs](/f
0c10: 69 6c 65 2f 48 41 43 4b 45 52 53 2e 6d 64 23 70 ile/HACKERS.md#p
0c20: 61 74 63 68 65 73 29 20 76 69 61 20 74 68 61 74 atches) via that
0c30: 20 63 68 61 6e 6e 65 6c 2e 0d 0a 0d 0a 0d 0a 23 channel.......#
0c40: 23 23 20 3c 61 20 6e 61 6d 65 3d 22 62 69 6e 61 ## <a name="bina
0c50: 72 79 22 3e 3c 2f 61 3e 42 69 6e 61 72 79 20 50 ry"></a>Binary P
0c60: 61 63 6b 61 67 65 73 0d 0a 0d 0a 3c 69 6d 67 20 ackages....<img
0c70: 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 74 61 6e src="https://tan
0c80: 67 65 6e 74 73 6f 66 74 2e 63 6f 6d 2f 6d 79 73 gentsoft.com/mys
0c90: 71 6c 70 70 2f 62 69 74 6d 61 70 73 2f 70 6b 67 qlpp/bitmaps/pkg
0ca0: 73 74 61 74 2e 73 76 67 22 20 61 6c 74 3d 22 4d stat.svg" alt="M
0cb0: 79 53 51 4c 2b 2b 20 70 61 63 6b 61 67 69 6e 67 ySQL++ packaging
0cc0: 20 73 74 61 74 75 73 22 20 73 74 79 6c 65 3d 22 status" style="
0cd0: 66 6c 6f 61 74 3a 72 69 67 68 74 3b 20 6d 61 72 float:right; mar
0ce0: 67 69 6e 2d 6c 65 66 74 3a 32 30 70 78 22 20 2f gin-left:20px" /
0cf0: 3e 0d 0a 0d 0a 4d 79 53 51 4c 2b 2b 20 68 61 73 >....MySQL++ has
0d00: 20 62 65 65 6e 20 70 69 63 6b 65 64 20 75 70 20 been picked up
0d10: 62 79 20 6d 61 6e 79 20 70 61 63 6b 61 67 65 20 by many package
0d20: 64 69 73 74 72 6f 73 2e 20 49 6e 20 61 64 64 69 distros. In addi
0d30: 74 69 6f 6e 20 74 6f 20 74 68 6f 73 65 20 6c 69 tion to those li
0d40: 73 74 65 64 20 69 6e 20 74 68 65 20 74 61 62 6c sted in the tabl
0d50: 65 20 28 72 69 67 68 74 29 20 69 74 27 73 20 61 e (right) it's a
0d60: 6c 73 6f 20 62 65 65 6e 20 73 70 6f 74 74 65 64 lso been spotted
0d70: 20 5b 69 6e 20 46 72 65 65 42 53 44 5d 28 68 74 [in FreeBSD](ht
0d80: 74 70 3a 2f 2f 77 77 77 2e 66 72 65 73 68 70 6f tp://www.freshpo
0d90: 72 74 73 2e 6f 72 67 2f 64 61 74 61 62 61 73 65 rts.org/database
0da0: 73 2f 6d 79 73 71 6c 2b 2b 33 2f 29 2e 20 53 69 s/mysql++3/). Si
0db0: 6e 63 65 20 74 68 65 73 65 20 70 61 63 6b 61 67 nce these packag
0dc0: 65 73 20 61 72 65 20 70 72 6f 70 65 72 6c 79 20 es are properly
0dd0: 69 6e 74 65 67 72 61 74 65 64 20 69 6e 74 6f 20 integrated into
0de0: 74 68 65 69 72 20 68 6f 73 74 20 64 69 73 74 72 their host distr
0df0: 69 62 75 74 69 6f 6e 73 2c 20 77 65 20 64 6f 20 ibutions, we do
0e00: 6e 6f 74 20 6f 66 66 65 72 20 63 6f 6d 70 65 74 not offer compet
0e10: 69 6e 67 20 62 69 6e 61 72 79 20 70 61 63 6b 61 ing binary packa
0e20: 67 65 73 20 68 65 72 65 2e 0d 0a 0d 0a 49 66 20 ges here.....If
0e30: 79 6f 75 20 77 61 6e 74 20 73 6f 6d 65 74 68 69 you want somethi
0e40: 6e 67 20 64 69 66 66 65 72 65 6e 74 20 69 6e 20 ng different in
0e50: 79 6f 75 72 20 62 69 6e 61 72 79 20 70 61 63 6b your binary pack
0e60: 61 67 65 20 74 68 61 6e 20 79 6f 75 20 67 65 74 age than you get
0e70: 20 69 6e 20 74 68 65 20 73 74 61 6e 64 61 72 64 in the standard
0e80: 20 70 61 63 6b 61 67 65 20 64 69 73 74 72 6f 20 package distro
0e90: 66 6f 72 20 79 6f 75 72 20 4f 53 2c 20 79 6f 75 for your OS, you
0ea0: 20 73 68 6f 75 6c 64 20 62 75 69 6c 64 20 69 74 should build it
0eb0: 20 66 72 6f 6d 20 5b 73 6f 75 72 63 65 5d 28 23 from [source](#
0ec0: 73 6f 75 72 63 65 29 20 6f 6e 20 74 68 65 20 74 source) on the t
0ed0: 61 72 67 65 74 20 4f 53 2c 20 6f 72 20 65 6c 73 arget OS, or els
0ee0: 65 20 79 6f 75 20 61 72 65 20 6c 69 6b 65 6c 79 e you are likely
0ef0: 20 74 6f 20 68 61 76 65 20 5b 70 72 6f 62 6c 65 to have [proble
0f00: 6d 73 5d 28 2f 77 69 6b 69 3f 6e 61 6d 65 3d 46 ms](/wiki?name=F
0f10: 41 51 23 73 65 67 66 61 75 6c 74 73 29 2e 0d 0a AQ#segfaults)...
0f20: 0d 0a 0d 0a 23 23 20 3c 61 20 6e 61 6d 65 3d 22 ....## <a name="
0f30: 6f 6c 64 76 65 72 22 3e 3c 2f 61 3e 4f 6c 64 20 oldver"></a>Old
0f40: 56 65 72 73 69 6f 6e 73 0d 0a 0d 0a 49 66 20 79 Versions....If y
0f50: 6f 75 20 6e 65 65 64 20 61 20 70 61 72 74 69 63 ou need a partic
0f60: 75 6c 61 72 20 6f 6c 64 65 72 20 76 65 72 73 69 ular older versi
0f70: 6f 6e 20 6f 66 20 4d 79 53 51 4c 2b 2b 2c 20 79 on of MySQL++, y
0f80: 6f 75 20 63 61 6e 20 65 69 74 68 65 72 20 67 72 ou can either gr
0f90: 61 62 20 74 68 65 20 72 61 77 20 73 6f 75 72 63 ab the raw sourc
0fa0: 65 20 63 6f 64 65 20 66 6f 72 20 69 74 20 66 72 e code for it fr
0fb0: 6f 6d 20 74 68 65 20 5b 46 6f 73 73 69 6c 20 74 om the [Fossil t
0fc0: 61 67 20 6c 69 73 74 20 70 61 67 65 5d 28 2f 74 ag list page](/t
0fd0: 61 67 6c 69 73 74 29 20 6f 72 20 79 6f 75 20 63 aglist) or you c
0fe0: 61 6e 20 5b 62 72 6f 77 73 65 5d 28 2f 72 65 6c an [browse](/rel
0ff0: 65 61 73 65 73 29 20 74 68 65 20 6f 6c 64 20 76 eases) the old v
1000: 65 72 73 69 6f 6e 20 61 72 63 68 69 76 65 2e 0d ersion archive..
1010: 0a 0d 0a 54 68 6f 73 65 20 73 74 69 6c 6c 20 6e ...Those still n
1020: 65 65 64 69 6e 67 20 4d 79 53 51 4c 2b 2b 20 32 eeding MySQL++ 2
1030: 2e 78 20 6d 69 67 68 74 20 62 65 20 69 6e 74 65 .x might be inte
1040: 72 65 73 74 65 64 20 69 6e 20 74 68 65 20 5b 60 rested in the [`
1050: 76 32 2e 33 2e 32 2d 6d 6f 64 65 72 6e 60 5d 28 v2.3.2-modern`](
1060: 68 74 74 70 73 3a 2f 2f 74 61 6e 67 65 6e 74 73 https://tangents
1070: 6f 66 74 2e 63 6f 6d 2f 6d 79 73 71 6c 70 70 2f oft.com/mysqlpp/
1080: 74 69 6d 65 6c 69 6e 65 3f 72 3d 76 32 2e 33 2e timeline?r=v2.3.
1090: 32 2d 6d 6f 64 65 72 6e 29 20 62 72 61 6e 63 68 2-modern) branch
10a0: 2c 20 77 68 69 63 68 20 6d 61 6b 65 73 20 6d 69 , which makes mi
10b0: 6e 69 6d 61 6c 20 63 68 61 6e 67 65 73 20 74 6f nimal changes to
10c0: 20 76 65 72 73 69 6f 6e 20 32 2e 33 2e 32 20 e2 version 2.3.2
10d0: 80 94 20 74 68 65 20 6c 61 73 74 20 72 65 6c 65 the last rele
10e0: 61 73 65 20 69 6e 20 74 68 65 20 32 2e 78 20 6c ase in the 2.x l
10f0: 69 6e 65 20 e2 80 94 20 74 6f 20 61 6c 6c 6f 77 ine — to allow
1100: 20 69 74 20 74 6f 20 62 75 69 6c 64 20 6f 6e 20 it to build on
1110: 6d 6f 64 65 72 6e 20 73 79 73 74 65 6d 73 2e 20 modern systems.
1120: 45 73 73 65 6e 74 69 61 6c 6c 79 2c 20 69 74 20 Essentially, it
1130: 63 6f 6e 74 61 69 6e 73 20 62 75 69 6c 64 20 66 contains build f
1140: 69 78 65 73 20 61 6e 61 6c 6f 67 6f 75 73 20 74 ixes analogous t
1150: 6f 20 74 68 6f 73 65 20 77 65 27 76 65 20 64 6f o those we've do
1160: 6e 65 20 69 6e 20 74 68 65 20 33 2e 78 20 6c 69 ne in the 3.x li
1170: 6e 65 20 77 69 74 68 6f 75 74 20 62 61 63 6b 70 ne without backp
1180: 6f 72 74 69 6e 67 20 61 6e 79 20 61 63 74 75 61 orting any actua
1190: 6c 20 66 65 61 74 75 72 65 73 20 6f 72 20 62 65 l features or be
11a0: 68 61 76 69 6f 72 20 63 68 61 6e 67 65 73 20 66 havior changes f
11b0: 72 6f 6d 20 33 2e 78 2e 20 54 68 69 73 20 62 72 rom 3.x. This br
11c0: 61 6e 63 68 20 69 73 20 75 6e 6c 69 6b 65 6c 79 anch is unlikely
11d0: 20 74 6f 20 65 76 65 72 20 62 65 20 72 65 6c 65 to ever be rele
11e0: 61 73 65 64 2c 20 62 75 74 20 69 74 20 69 73 20 ased, but it is
11f0: 69 6e 74 65 6e 64 65 64 20 74 6f 20 62 65 20 22 intended to be "
1200: 73 74 61 62 6c 65 22 20 61 74 20 61 6c 6c 20 74 stable" at all t
1210: 69 6d 65 73 2e 0d 0a 0d 0a 0d 0a 23 23 20 3c 61 imes.......## <a
1220: 20 6e 61 6d 65 3d 22 64 6f 63 73 22 3e 3c 2f 61 name="docs"></a
1230: 3e 44 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 0d 0a >Documentation..
1240: 0d 0a 54 68 65 20 75 73 65 72 20 61 6e 64 20 72 ..The user and r
1250: 65 66 65 72 65 6e 63 65 20 6d 61 6e 75 61 6c 73 eference manuals
1260: 20 61 72 65 20 73 68 69 70 70 65 64 20 69 6e 20 are shipped in
1270: 74 68 65 20 73 6f 75 72 63 65 20 63 6f 64 65 20 the source code
1280: 74 61 72 62 61 6c 6c 20 61 62 6f 76 65 2e 20 54 tarball above. T
1290: 68 65 79 20 61 72 65 20 61 6c 73 6f 20 5b 61 76 hey are also [av
12a0: 61 69 6c 61 62 6c 65 20 6f 6e 6c 69 6e 65 5d 28 ailable online](
12b0: 2f 64 6f 63 2f 29 2e 0d 0a 0d 0a 0d 0a 23 23 20 /doc/).......##
12c0: 3c 61 20 6e 61 6d 65 3d 22 66 61 71 22 3e 3c 2f <a name="faq"></
12d0: 61 3e 46 72 65 71 75 65 6e 74 6c 79 2d 41 73 6b a>Frequently-Ask
12e0: 65 64 20 51 75 65 73 74 69 6f 6e 73 0d 0a 0d 0a ed Questions....
12f0: 54 68 65 20 5b 46 41 51 20 6c 69 73 74 5d 28 2f The [FAQ list](/
1300: 77 69 6b 69 3f 6e 61 6d 65 3d 46 41 51 29 20 61 wiki?name=FAQ) a
1310: 6e 73 77 65 72 73 20 6d 61 6e 79 20 63 6f 6d 6d nswers many comm
1320: 6f 6e 6c 79 2d 61 73 6b 65 64 20 71 75 65 73 74 only-asked quest
1330: 69 6f 6e 73 20 61 62 6f 75 74 20 4d 79 53 51 4c ions about MySQL
1340: 2b 2b 2e 0d 0a 0d 0a 0d 0a 23 23 20 3c 61 20 6e ++.......## <a n
1350: 61 6d 65 3d 22 63 6f 6e 74 72 69 62 22 3e 3c 2f ame="contrib"></
1360: 61 3e 43 6f 6e 74 72 69 62 75 74 69 6e 67 20 74 a>Contributing t
1370: 6f 20 74 68 65 20 45 66 66 6f 72 74 0d 0a 0d 0a o the Effort....
1380: 54 68 65 20 65 61 73 69 65 73 74 20 74 68 69 6e The easiest thin
1390: 67 20 74 6f 20 64 6f 20 69 66 20 79 6f 75 20 77 g to do if you w
13a0: 61 6e 74 20 74 6f 20 68 65 6c 70 20 6f 75 74 20 ant to help out
13b0: 77 69 74 68 20 74 68 65 20 4d 79 53 51 4c 2b 2b with the MySQL++
13c0: 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 65 66 66 development eff
13d0: 6f 72 74 20 69 73 20 74 6f 20 70 61 72 74 69 63 ort is to partic
13e0: 69 70 61 74 65 20 6f 6e 20 74 68 65 20 5b 6d 61 ipate on the [ma
13f0: 69 6c 69 6e 67 20 6c 69 73 74 5d 28 68 74 74 70 iling list](http
1400: 3a 2f 2f 6c 69 73 74 73 2e 6d 79 73 71 6c 2e 63 ://lists.mysql.c
1410: 6f 6d 2f 70 6c 75 73 70 6c 75 73 2f 29 20 61 6e om/plusplus/) an
1420: 64 2f 6f 72 20 5b 77 65 62 20 66 6f 72 75 6d 5d d/or [web forum]
1430: 28 2f 66 6f 72 75 6d 29 2e 20 54 68 65 20 6c 69 (/forum). The li
1440: 62 72 61 72 79 27 73 20 70 72 69 6d 61 72 79 20 brary's primary
1450: 64 65 76 65 6c 6f 70 65 72 20 64 6f 65 73 20 6e developer does n
1460: 6f 74 20 6d 69 6e 64 20 61 74 20 61 6c 6c 20 69 ot mind at all i
1470: 66 20 73 6f 6d 65 6f 6e 65 20 65 6c 73 65 20 61 f someone else a
1480: 6e 73 77 65 72 73 20 61 20 71 75 65 73 74 69 6f nswers a questio
1490: 6e 20 62 65 66 6f 72 65 20 68 65 20 63 61 6e 20 n before he can
14a0: 67 65 74 20 74 6f 20 69 74 2e 20 3c 62 3e 3c 74 get to it. <b><t
14b0: 74 3e 3a 29 3c 2f 74 74 3e 3c 2f 62 3e 20 49 74 t>:)</tt></b> It
14c0: e2 80 99 73 20 61 6c 73 6f 20 66 72 65 71 75 65 ’s also freque
14d0: 6e 74 6c 79 20 68 65 6c 70 66 75 6c 20 74 6f 20 ntly helpful to
14e0: 68 61 76 65 20 64 69 66 66 65 72 65 6e 74 20 76 have different v
14f0: 6f 69 63 65 73 20 63 6f 6e 74 72 69 62 75 74 69 oices contributi
1500: 6e 67 20 74 6f 20 64 69 73 63 75 73 73 69 6f 6e ng to discussion
1510: 73 20 61 62 6f 75 74 20 74 68 65 20 6c 69 62 72 s about the libr
1520: 61 72 79 e2 80 99 73 20 66 75 74 75 72 65 2e 0d ary’s future..
1530: 0a 0d 0a 49 66 20 79 6f 75 20 77 61 6e 74 20 74 ...If you want t
1540: 6f 20 70 61 72 74 69 63 69 70 61 74 65 20 69 6e o participate in
1550: 20 74 68 65 20 63 6f 64 69 6e 67 20 65 66 66 6f the coding effo
1560: 72 74 2c 20 74 68 65 20 4d 79 53 51 4c 2b 2b 20 rt, the MySQL++
1570: 64 65 76 65 6c 6f 70 6d 65 6e 74 20 70 72 6f 6a development proj
1580: 65 63 74 20 69 73 20 68 6f 73 74 65 64 20 62 79 ect is hosted by
1590: 20 5b 46 6f 73 73 69 6c 5d 28 68 74 74 70 3a 2f [Fossil](http:/
15a0: 2f 66 6f 73 73 69 6c 2d 73 63 6d 2e 6f 72 67 2f /fossil-scm.org/
15b0: 29 2c 20 61 20 64 69 73 74 72 69 62 75 74 65 64 ), a distributed
15c0: 20 76 65 72 73 69 6f 6e 20 63 6f 6e 74 72 6f 6c version control
15d0: 20 73 69 6d 69 6c 61 72 20 74 6f 20 47 69 74 20 similar to Git
15e0: 62 75 74 20 6d 75 63 68 20 65 61 73 69 65 72 20 but much easier
15f0: 74 6f 20 75 73 65 2e 20 53 65 65 20 5b 74 68 65 to use. See [the
1600: 20 48 61 63 6b 65 72 73 20 66 69 6c 65 5d 28 2f Hackers file](/
1610: 66 69 6c 65 2f 48 41 43 4b 45 52 53 2e 6d 64 29 file/HACKERS.md)
1620: 20 66 6f 72 20 69 6e 73 74 72 75 63 74 69 6f 6e for instruction
1630: 73 20 6f 6e 20 77 6f 72 6b 69 6e 67 20 77 69 74 s on working wit
1640: 68 20 46 6f 73 73 69 6c 20 61 6e 64 20 74 68 65 h Fossil and the
1650: 20 4d 79 53 51 4c 2b 2b 20 73 6f 75 72 63 65 20 MySQL++ source
1660: 63 6f 64 65 2e 0d 0a 0d 0a 46 6f 72 20 61 20 67 code.....For a g
1670: 72 65 61 74 20 73 6f 75 72 63 65 20 6f 66 20 70 reat source of p
1680: 72 6f 6a 65 63 74 73 20 74 6f 20 74 61 63 6b 6c rojects to tackl
1690: 65 2c 20 73 65 65 20 5b 74 68 65 20 57 69 73 68 e, see [the Wish
16a0: 6c 69 73 74 5d 28 2f 66 65 61 74 75 72 65 73 29 list](/features)
16b0: 2e 0d 0a 0d 0a 49 66 20 79 6f 75 20 6a 75 73 74 .....If you just
16c0: 20 77 61 6e 74 20 74 6f 20 6b 65 65 70 20 75 70 want to keep up
16d0: 20 6f 6e 20 74 68 65 20 69 6e 2d 70 72 6f 67 72 on the in-progr
16e0: 65 73 73 20 64 65 76 65 6c 6f 70 6d 65 6e 74 73 ess developments
16f0: 2c 20 73 65 65 20 5b 74 68 65 20 70 72 6f 6a 65 , see [the proje
1700: 63 74 20 74 69 6d 65 6c 69 6e 65 5d 28 2f 74 69 ct timeline](/ti
1710: 6d 65 6c 69 6e 65 29 2c 20 77 68 69 63 68 20 69 meline), which i
1720: 73 20 61 6c 73 6f 20 61 76 61 69 6c 61 62 6c 65 s also available
1730: 20 69 6e 20 5b 52 53 53 20 66 6f 72 6d 5d 28 2f in [RSS form](/
1740: 74 69 6d 65 6c 69 6e 65 2e 72 73 73 29 20 66 6f timeline.rss) fo
1750: 72 20 74 68 6f 73 65 20 77 68 6f 20 77 61 6e 74 r those who want
1760: 20 4d 79 53 51 4c 2b 2b 20 63 68 61 6e 67 65 73 MySQL++ changes
1770: 20 74 6f 20 61 70 70 65 61 72 20 69 6e 20 74 68 to appear in th
1780: 65 69 72 20 66 65 65 64 20 72 65 61 64 65 72 2e eir feed reader.
1790: 20 59 6f 75 20 63 61 6e 20 61 6c 73 6f 20 5b 73 You can also [s
17a0: 75 62 73 63 72 69 62 65 20 74 6f 20 65 6d 61 69 ubscribe to emai
17b0: 6c 20 6e 6f 74 69 66 69 63 61 74 69 6f 6e 73 5d l notifications]
17c0: 28 2f 73 75 62 73 63 72 69 62 65 29 20 66 6f 72 (/subscribe) for
17d0: 20 76 61 72 69 6f 75 73 20 65 76 65 6e 74 73 3a various events:
17e0: 20 63 68 65 63 6b 2d 69 6e 73 2c 20 77 69 6b 69 check-ins, wiki
17f0: 20 65 64 69 74 73 2c 20 66 6f 72 75 6d 20 70 6f edits, forum po
1800: 73 74 69 6e 67 73 2c 20 65 74 63 2e 0a 5a 20 65 stings, etc..Z e
1810: 35 35 30 35 31 39 36 31 65 31 36 36 64 63 65 32 55051961e166dce2
1820: 37 35 31 64 30 61 62 66 37 61 66 36 33 61 36 0a 751d0abf7af63a6.