MySQL++

Check-in [be86b90b51]
Login

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

Overview
Comment:Version 3.2.4 (later replaced)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | release
Files: files | file ages | folders
SHA3-256:be86b90b51745b6d06fbea260841b8ab4cd805ad4c7ace8748dc1480d818d197
User & Date: tangent 2018-07-27 05:47:37
Original Comment: Version 3.2.4
Context
2018-07-27
06:13
Merged in trunk fixes to release 3.2.4 Leaf check-in: 64fd6873ed user: tangent tags: release, v3.2.4
05:48
Version 3.2.4 released check-in: 42db19f361 user: tangent tags: trunk
05:47
Version 3.2.4 (later replaced) check-in: be86b90b51 user: tangent tags: release
05:37
Updated Bakefile stuff in HACKERS.md. check-in: 5041d5c560 user: tangent tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.md.

1
2
3
4
5
6
7
8
9



10
11
12
13
14
15
16
# Change Log

## 3.2.4, UNRELEASED

*   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 added.
    See the [Unicode chapter in the user manual][umuc] for more details.




*   Recent versions of MySQL and MariaDB have removed some obsolete
    features, causing MySQL++ build errors in places where the library
    wraps one of these features:

    *   MySQL 8.0 removed the embedded database feature, which caused
        build errors in four `Option::set()` overrides.  For MySQL 8.0


|


|
|
|
|
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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
    added.  Using this in the `resetdb` example to demo the feature.

*   Updated the [Unicode chapter of the user manual][umuc] to cover this
    and other changes in the Unicode world over the past several years.

*   Recent versions of MySQL and MariaDB have removed some obsolete
    features, causing MySQL++ build errors in places where the library
    wraps one of these features:

    *   MySQL 8.0 removed the embedded database feature, which caused
        build errors in four `Option::set()` overrides.  For MySQL 8.0

Changes to RELEASE-CHECKLIST.txt.



1
2
3
4
5
6
7
..
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
..
32
33
34
35
36
37
38






- Change version number in configure.ac and mysql++.bkl.

  All other places the version number occurs are generated files
  created from one of these two.  If there's a corresponding *.in file
  for the one you're looking at, the version number was substituted in
  by autoconf from configure.ac.  Otherwise, the file was most likely
  created by the build system using the version number in mysql++.bkl.
................................................................................

  You may have to run the following command in the current "stable"
  directory before this will succeed, since it depends on there being
  an ACC dump file in place already.

      $ abi-compliance-checker -lib mysqlpp -dump abi.xml

  ("Stable" is assumed to be in ../3.1.0 relative to the svn "head"
  checkout, as I write this.)

  This dependence on an existing ABI dump file is deemed reasonable
  since the ABI of the stable version had better not be changing!
  Plus, it saves some processing time, since ACC can load the stable
  ABI info without re-parsing its headers and library file.

- Re-bootstrap the system in pedantic mode, then do a clean rebuild.
................................................................................

  - The "==" float comparisons in lib/stadapter.cpp are harmless.
    They're comparisons against special NaN and infinity constants.
    Those are safe.

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




>
>







 







|
|







 







>
>
>
>
1
2
3
4
5
6
7
8
9
..
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
..
34
35
36
37
38
39
40
41
42
43
44
- Update ChangeLog.md.

- Change version number in configure.ac and mysql++.bkl.

  All other places the version number occurs are generated files
  created from one of these two.  If there's a corresponding *.in file
  for the one you're looking at, the version number was substituted in
  by autoconf from configure.ac.  Otherwise, the file was most likely
  created by the build system using the version number in mysql++.bkl.
................................................................................

  You may have to run the following command in the current "stable"
  directory before this will succeed, since it depends on there being
  an ACC dump file in place already.

      $ abi-compliance-checker -lib mysqlpp -dump abi.xml

  ("Stable" is assumed to be in ../3.1.0 relative to the trunk checkout,
  as I write this.)

  This dependence on an existing ABI dump file is deemed reasonable
  since the ABI of the stable version had better not be changing!
  Plus, it saves some processing time, since ACC can load the stable
  ABI info without re-parsing its headers and library file.

- Re-bootstrap the system in pedantic mode, then do a clean rebuild.
................................................................................

  - The "==" float comparisons in lib/stadapter.cpp are harmless.
    They're comparisons against special NaN and infinity constants.
    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.

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.3, 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.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

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.3</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.4</so_version>

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