MySQL++

Check-in [b0b6e246e9]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Released v3.2.5
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b0b6e246e9ea3b62f19966361f948b7532d243ce39e2cbcad92218919c6f5b8c
User & Date: tangent 2019-07-21 10:35:34
Context
2019-07-21
10:47
Merged trunk changes for v3.2.5 into release branch check-in: 596aa10b32 user: tangent tags: release, v3.2.5
10:43
Fix to bootstrap to cope with autoreconf's unwillingness to provide install-sh and such even though we passed -i. check-in: a15f552cc5 user: tangent tags: trunk
10:35
Released v3.2.5 check-in: b0b6e246e9 user: tangent tags: trunk
10:30
Updated userman copyright year to 2019 check-in: 5dc77942a0 user: tangent tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.md.

1















2
3
4
5
6
7
8
# Change Log
















## 3.2.4, 2018.07.26

*   Added the `MYSQLPP_UTF8_CS` and `MYSQLPP_UTF8_COL` macros to allow a
    given bit of code use either the legacy "utf8" character set or the
    new full-Unicode "utf8mb4" version depending on whether MySQL++ is
    built against MySQL 5.5 or newer, the version where `utf8mb4` was

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Change Log

## 3.2.5, 2019.07.21

*   Supports `ulonglong` in MySQL++-to-SQL data type conversions so you
    can pass the return from `Result.insert_id()` and such into another
    SQL expression.  This previously required an explicit cast to one of
    the `sql_*` types when using a C++ compiler that can’t figure out
    that `sql_bigint` is equivalent on its own.

*   Updates to support newer versions of MySQL and MariaDB.

*   Assorted documentation improvements.

*   Assorted build system improvements.


## 3.2.4, 2018.07.26

*   Added the `MYSQLPP_UTF8_CS` and `MYSQLPP_UTF8_COL` macros to allow a
    given bit of code use either the legacy "utf8" character set or the
    new full-Unicode "utf8mb4" version depending on whether MySQL++ is
    built against MySQL 5.5 or newer, the version where `utf8mb4` was

Changes to RELEASE-CHECKLIST.txt.

37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
    Those are safe.

- Re-bootstrap it again without "pedantic", to avoid shipping the
  pedantic build files.

- Run tools/mkrel to check the new ChangeLog.md, configure.ac, and
  mysqyl++.bkl files in with the proper version tag and to merge it into
  the release branch.

- Copy mysql++-$(VERSION).tar.gz to tangentsoft.com releases directory.

- On a CentOS 7 box, say "make rpm" from the "release" branch tree.
  Copy the resulting ~/rpmbuild/SRPMS/mysql++-$(VERSION)-1.el7.src.rpm
  to that same releases directory.

- Update "MySQL++" wiki document to point to new release packages.







|
|
<






37
38
39
40
41
42
43
44
45

46
47
48
49
50
51
    Those are safe.

- Re-bootstrap it again without "pedantic", to avoid shipping the
  pedantic build files.

- Run tools/mkrel to check the new ChangeLog.md, configure.ac, and
  mysqyl++.bkl files in with the proper version tag and to merge it into
  the release branch.  This also creates mysql++-$(VERSION).tar.gz and
  synchs it up to tangentsoft.com in the MySQL++ releases directory.


- On a CentOS 7 box, say "make rpm" from the "release" branch tree.
  Copy the resulting ~/rpmbuild/SRPMS/mysql++-$(VERSION)-1.el7.src.rpm
  to that same releases directory.

- Update "MySQL++" wiki document to point to new release packages.

Changes to configure.ac.

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# You should have received a copy of the GNU Lesser General Public
# License along with MySQL++; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
# USA

# Standard autotools stuff
AC_INIT(mysql++, 3.2.4, plusplus@lists.mysql.com, mysql++)
AC_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIR([config])
AC_CANONICAL_SYSTEM


# Enable libtool to decide shared library compile flags (ie -fPIC)
AC_PROG_LIBTOOL







|







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# You should have received a copy of the GNU Lesser General Public
# License along with MySQL++; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
# USA

# Standard autotools stuff
AC_INIT(mysql++, 3.2.5, plusplus@lists.mysql.com, mysql++)
AC_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIR([config])
AC_CANONICAL_SYSTEM


# Enable libtool to decide shared library compile flags (ie -fPIC)
AC_PROG_LIBTOOL

Changes to mysql++.bkl.

59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
    <set-srcdir>..</set-srcdir>
  </if>

  <if cond="BUILDLIBRARY=='yes'">
    <dll id="mysqlpp">
      <dllname>mysqlpp$(DEBUG_SUFFIX)</dllname>
      <libname>mysqlpp$(DEBUG_SUFFIX)</libname>
      <so_version>3.2.4</so_version>

      <sources>
        lib/beemutex.cpp
        lib/cmdline.cpp
        lib/connection.cpp
        lib/cpool.cpp
        lib/datetime.cpp







|







59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
    <set-srcdir>..</set-srcdir>
  </if>

  <if cond="BUILDLIBRARY=='yes'">
    <dll id="mysqlpp">
      <dllname>mysqlpp$(DEBUG_SUFFIX)</dllname>
      <libname>mysqlpp$(DEBUG_SUFFIX)</libname>
      <so_version>3.2.5</so_version>

      <sources>
        lib/beemutex.cpp
        lib/cmdline.cpp
        lib/connection.cpp
        lib/cpool.cpp
        lib/datetime.cpp

Changes to tools/mkrel.

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

45
46
47
48
49
50
51
52
53






54
# use or other dealings in this Software without prior written
# authorization from those authors.
########################################################################

set -e

ggrep=$(which ggrep grep 2> /dev/null | head -1)
tag=v$(grep -F so_version mysql++.bkl | $ggrep -Po '\d+\.\d+.\d+')
if [ $? != 0 ] || [ -z "$v" ]
then
    echo "Failed to extract version info from Bakefile!"
    echo
    exit 1
fi


alias f=fossil
f update &&
	( test -z "$(f changes --no-classify)" || f ci -m "Released $tag" ) &&
	cd ../release &&
	f update release &&
	f merge trunk &&
	test -z "$(f changes --conflict)" &&
	tools/mmake &&
	f diff -w --tk &&






	f ci --tag $tag -m "Merged trunk changes for $tag into release branch"







|
|






>


|




<

>
>
>
>
>
>
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

53
54
55
56
57
58
59
60
# use or other dealings in this Software without prior written
# authorization from those authors.
########################################################################

set -e

ggrep=$(which ggrep grep 2> /dev/null | head -1)
ver=$(grep -F so_version mysql++.bkl | $ggrep -Po '\d+\.\d+.\d+')
if [ $? != 0 ] || [ -z "$ver" ]
then
    echo "Failed to extract version info from Bakefile!"
    echo
    exit 1
fi

make=$(which gmake make 2> /dev/null | head -1)
alias f=fossil
f update &&
	( test -z "$(f changes --no-classify)" || f ci -m "Released v$ver" ) &&
	cd ../release &&
	f update release &&
	f merge trunk &&
	test -z "$(f changes --conflict)" &&

	f diff -w --tk &&
	tools/mmake &&
    $make dist &&
    cp mysql++-${ver}.tar.gz ~/tangentsoft.com/mysqlpp/releases &&
    cd ~/tangentsoft.com &&
    $make synch &&
    cd - &&
	f ci --tag v$ver -m "Merged trunk changes for v$ver into release branch"