Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | The SQL type mapping for TIMESTAMP NULL was missing the MySQL++ tf_null annotation. Closes bug [585db77afe8]. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
40f302fba159aa436e3a0b8be2a28b75 |
User & Date: | tangent 2020-07-23 06:52:44.214 |
Context
2020-07-23
| ||
06:59 | Added a few "throw UseQueryError" cases within class Result, applying an anonymous patch from ticket [e6cf4b6fbb4b8]. check-in: a45de8b0b2 user: tangent tags: trunk | |
06:52 | The SQL type mapping for TIMESTAMP NULL was missing the MySQL++ tf_null annotation. Closes bug [585db77afe8]. check-in: 40f302fba1 user: tangent tags: trunk | |
2020-07-10
| ||
20:35 | Added explicit mysql_library_init() calls from the tests that do quoting and escaping to avoid a crash in newer MariaDB versions which apparently delay doing this until you create a connection. (Thus why none of the examples fail on modern MariaDB versions.) It's basically the same patch as in the forum request [44684af1fd], but with comment and whitespace fixes. check-in: d8def9fe7b user: lukemewburn tags: trunk | |
Changes
Changes to lib/type_info.cpp.
1 2 3 | /*********************************************************************** type_info.cpp - Implements the mysql_type_info class. | > | > | > > | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | /*********************************************************************** type_info.cpp - Implements the mysql_type_info class. Copyright © 1998 by Kevin Atkinson © 1999-2001 by MySQL AB © 2004-2007 by Educational Technology Resources, Inc. © 2020 by Warren Young Others may also hold copyrights on code in this file. See the CREDITS.txt file in the top directory of the distribution for details. This file is part of MySQL++. MySQL++ is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. |
︙ | ︙ | |||
174 175 176 177 178 179 180 | sql_type_info("DOUBLE UNSIGNED NULL", typeid(Null<sql_double>), MYSQL_TYPE_DOUBLE, mysql_ti_sql_type_info::tf_default | mysql_ti_sql_type_info::tf_null | mysql_ti_sql_type_info::tf_unsigned), sql_type_info("NULL NULL", typeid(Null<void>), MYSQL_TYPE_NULL, mysql_ti_sql_type_info::tf_null), sql_type_info("TIMESTAMP NULL", typeid(Null<sql_timestamp>), | | | 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 | sql_type_info("DOUBLE UNSIGNED NULL", typeid(Null<sql_double>), MYSQL_TYPE_DOUBLE, mysql_ti_sql_type_info::tf_default | mysql_ti_sql_type_info::tf_null | mysql_ti_sql_type_info::tf_unsigned), sql_type_info("NULL NULL", typeid(Null<void>), MYSQL_TYPE_NULL, mysql_ti_sql_type_info::tf_null), sql_type_info("TIMESTAMP NULL", typeid(Null<sql_timestamp>), MYSQL_TYPE_TIMESTAMP, mysql_ti_sql_type_info::tf_null), sql_type_info("BIGINT NULL", typeid(Null<sql_bigint>), MYSQL_TYPE_LONGLONG, mysql_ti_sql_type_info::tf_default | mysql_ti_sql_type_info::tf_null), sql_type_info("BIGINT UNSIGNED NULL", typeid(Null<sql_bigint_unsigned>), MYSQL_TYPE_LONGLONG, mysql_ti_sql_type_info::tf_default | mysql_ti_sql_type_info::tf_null | mysql_ti_sql_type_info::tf_unsigned), |
︙ | ︙ |