diff --git a/.appveyor.yml b/.appveyor.yml
index 21a40f6e..52fde6bc 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -5,6 +5,11 @@
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
+branches:
+ except:
+ - value-relational-operators
+ - gh-pages
+
matrix:
fast_finish: true
diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml
new file mode 100644
index 00000000..6e5b1de3
--- /dev/null
+++ b/.github/workflows/build-docs.yml
@@ -0,0 +1,23 @@
+name: Build docs
+
+on:
+ push:
+ branches:
+ - value-relational-operators
+ - master
+
+jobs:
+ build-and-deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2.3.1
+
+ - name: Build docs
+ run: bash -e -x tools/build_docs.sh
+
+ - name: Deploy to GitHub pages
+ uses: JamesIves/github-pages-deploy-action@4.0.0
+ with:
+ branch: gh-pages
+ folder: build-docs
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
index 0ec19b35..e6d865ee 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,11 @@
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
+branches:
+ except:
+ - value-relational-operators
+ - gh-pages
+
__linux_defaults: &__linux_defaults
os: linux
dist: bionic
diff --git a/cmake/config.cmake.in b/cmake/config.cmake.in
index 4e60152b..94058880 100644
--- a/cmake/config.cmake.in
+++ b/cmake/config.cmake.in
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+# Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/cmake/test_utils.cmake b/cmake/test_utils.cmake
index 5f089cb5..a2bb4939 100644
--- a/cmake/test_utils.cmake
+++ b/cmake/test_utils.cmake
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+# Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/doc/Doxyfile b/doc/Doxyfile
index de1b8077..af1514fe 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+# Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/doc/Jamfile b/doc/Jamfile
index 3a878c37..77150bf9 100644
--- a/doc/Jamfile
+++ b/doc/Jamfile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+# Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -92,31 +92,20 @@ else
# imports the former) must be run again.
#
path-constant docca : $(BOOST_ROOT)/tools/docca ;
-make extract-xml-pages.xsl : $(docca)/include/docca/extract-xml-pages.xsl : @copy_script ;
-make base-extract-xml-pages.xsl : $(docca)/include/docca/base-extract-xml-pages.xsl : @copy_script ;
-make common.xsl : $(docca)/include/docca/common.xsl : @copy_script ;
-make stage1.xsl : $(docca)/include/docca/stage1.xsl : @copy_script ;
-make base-stage1.xsl : $(docca)/include/docca/base-stage1.xsl : @copy_script ;
+make extract-xml-pages.xsl : $(docca)/include/docca/extract-xml-pages.xsl : @copy_script ;
+make base-extract-xml-pages.xsl : $(docca)/include/docca/base-extract-xml-pages.xsl : @copy_script ;
+make common.xsl : $(docca)/include/docca/common.xsl : @copy_script ;
+make stage1.xsl : $(docca)/include/docca/stage1.xsl : @copy_script ;
+make base-stage1.xsl : $(docca)/include/docca/base-stage1.xsl : @copy_script ;
+make stage2.xsl : $(docca)/include/docca/stage2.xsl : @copy_script ;
# Workaround to prevent docca from escaping quickbook from Doxygen comments
-make stage2.xsl : $(BOOST_ROOT)/libs/mysql/doc/docca-stage2-noescape.xsl : @copy_script ;
-make assemble-quickbook.xsl : $(docca)/include/docca/assemble-quickbook.xsl : @copy_script ;
-make emphasized-types.xsl : $(BOOST_ROOT)/libs/mysql/doc/xsl/emphasized-types.xsl : @copy_script ;
+make base-stage2.xsl : $(BOOST_ROOT)/libs/mysql/doc/docca-base-stage2-noescape.xsl : @copy_script ;
+make assemble-quickbook.xsl : $(docca)/include/docca/assemble-quickbook.xsl : @copy_script ;
+make emphasized-types.xsl : $(BOOST_ROOT)/libs/mysql/doc/xsl/emphasized-types.xsl : @copy_script ;
+make base-config.xsl : $(docca)/include/docca/base-config.xsl : @copy_script ;
-make config.xsl
- :
- $(docca)/include/docca/config.xsl
- xsl/config.xsl
- xsl/includes.xsl
- :
- @make_config
- ;
-
-actions make_config
-{
- cp $(2[1]) $(1)
- sed -i -e "//{r $(2[2])" -e "d}" $(1)
- sed -i -e "//{r $(2[3])" -e "d}" $(1)
-}
+# Copy the project-specific config XSLT
+make custom-overrides.xsl : xsl/custom-overrides.xsl : @copy_script ;
# Make a copy of the given file.
actions copy_script
@@ -140,7 +129,8 @@ make xml-pages.xml
# Make bjam aware of additional dependencies
base-extract-xml-pages.xsl
- config.xsl
+ base-config.xsl
+ custom-overrides.xsl
common.xsl
:
saxonhe.saxonhe
@@ -162,7 +152,8 @@ make stage1/results
# additional dependencies
xml-pages.xml
base-stage1.xsl
- config.xsl
+ base-config.xsl
+ custom-overrides.xsl
common.xsl
:
saxonhe.saxonhe_dir
@@ -175,6 +166,10 @@ make stage2/results
# additional dependencies
emphasized-types.xsl
+ base-stage2.xsl
+ base-config.xsl
+ custom-overrides.xsl
+ common.xsl
:
saxonhe.saxonhe_dir
;
diff --git a/doc/docca-stage2-noescape.xsl b/doc/docca-base-stage2-noescape.xsl
similarity index 97%
rename from doc/docca-stage2-noescape.xsl
rename to doc/docca-base-stage2-noescape.xsl
index e9d78cf3..a10d2951 100644
--- a/doc/docca-stage2-noescape.xsl
+++ b/doc/docca-base-stage2-noescape.xsl
@@ -13,11 +13,10 @@
xmlns:d="http://github.com/vinniefalco/docca"
expand-text="yes">
-
-
-
+
+
@@ -146,6 +145,9 @@
['
]
+ [role {@class}
+ ]
+
[@{@url}
]
@@ -188,6 +190,8 @@
{$nl}{$nl}
+ [br]
+
{$nl}```{$nl}
```{$nl}
@@ -196,6 +200,10 @@
+
+
+
+
diff --git a/doc/qbk/async.qbk b/doc/qbk/async.qbk
index 2f41e0b7..906ff9f0 100644
--- a/doc/qbk/async.qbk
+++ b/doc/qbk/async.qbk
@@ -1,5 +1,5 @@
[/
- Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+ Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/doc/qbk/connparams.qbk b/doc/qbk/connparams.qbk
index 7d4b2559..2fb70d45 100644
--- a/doc/qbk/connparams.qbk
+++ b/doc/qbk/connparams.qbk
@@ -1,5 +1,5 @@
[/
- Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+ Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/doc/qbk/error_handling.qbk b/doc/qbk/error_handling.qbk
index bcbcad57..8f3686fd 100644
--- a/doc/qbk/error_handling.qbk
+++ b/doc/qbk/error_handling.qbk
@@ -1,5 +1,5 @@
[/
- Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+ Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/doc/qbk/examples.qbk b/doc/qbk/examples.qbk
index f911c3eb..e8790857 100644
--- a/doc/qbk/examples.qbk
+++ b/doc/qbk/examples.qbk
@@ -1,5 +1,5 @@
[/
- Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+ Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/doc/qbk/helpers/ValueCollection.qbk b/doc/qbk/helpers/ValueCollection.qbk
index e1a445c7..d35fb766 100644
--- a/doc/qbk/helpers/ValueCollection.qbk
+++ b/doc/qbk/helpers/ValueCollection.qbk
@@ -1,5 +1,5 @@
[/
- Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+ Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/doc/qbk/helpers/ValueForwardIterator.qbk b/doc/qbk/helpers/ValueForwardIterator.qbk
index 87d9f41a..2babbbfd 100644
--- a/doc/qbk/helpers/ValueForwardIterator.qbk
+++ b/doc/qbk/helpers/ValueForwardIterator.qbk
@@ -1,5 +1,5 @@
[/
- Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+ Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/doc/qbk/helpers/query_strings_encoding.qbk b/doc/qbk/helpers/query_strings_encoding.qbk
index f8f2026f..f6057236 100644
--- a/doc/qbk/helpers/query_strings_encoding.qbk
+++ b/doc/qbk/helpers/query_strings_encoding.qbk
@@ -1,5 +1,5 @@
[/
- Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+ Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/doc/qbk/helpers/quickref.xml b/doc/qbk/helpers/quickref.xml
index 1c5de28b..ddc41239 100644
--- a/doc/qbk/helpers/quickref.xml
+++ b/doc/qbk/helpers/quickref.xml
@@ -2,7 +2,7 @@
-
-
-
-
-
-
-
-
-
diff --git a/doc/xsl/custom-overrides.xsl b/doc/xsl/custom-overrides.xsl
new file mode 100644
index 00000000..3458b8e4
--- /dev/null
+++ b/doc/xsl/custom-overrides.xsl
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {$nl}
+ Convenience header [include_file boost/{$convenience-header}]
+ {$nl}
+
+
+
+ mysql.hpp
+
+
diff --git a/doc/xsl/emphasized-types.xsl b/doc/xsl/emphasized-types.xsl
index e90690f4..57292b7e 100644
--- a/doc/xsl/emphasized-types.xsl
+++ b/doc/xsl/emphasized-types.xsl
@@ -1,3 +1,10 @@
+
+
-
-
-
-mysql.hpp
-
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
index e7054ca5..8b8dac6b 100644
--- a/example/CMakeLists.txt
+++ b/example/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+# Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/Jamfile b/example/Jamfile
index 9b011542..614ffb14 100644
--- a/example/Jamfile
+++ b/example/Jamfile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+# Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/db_setup.sql b/example/db_setup.sql
index 40f967d4..1b6f4e34 100644
--- a/example/db_setup.sql
+++ b/example/db_setup.sql
@@ -1,5 +1,5 @@
--
--- Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+-- Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
--
-- Distributed under the Boost Software License, Version 1.0. (See accompanying
-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/default_completion_tokens.cpp b/example/default_completion_tokens.cpp
index 672c4385..f6b1b4fc 100644
--- a/example/default_completion_tokens.cpp
+++ b/example/default_completion_tokens.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/metadata.cpp b/example/metadata.cpp
index e828721d..ebf3529a 100644
--- a/example/metadata.cpp
+++ b/example/metadata.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/prepared_statements.cpp b/example/prepared_statements.cpp
index 21cdd952..384e1262 100644
--- a/example/prepared_statements.cpp
+++ b/example/prepared_statements.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/query_async_callbacks.cpp b/example/query_async_callbacks.cpp
index 8c59bdef..7108cf09 100644
--- a/example/query_async_callbacks.cpp
+++ b/example/query_async_callbacks.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/query_async_coroutines.cpp b/example/query_async_coroutines.cpp
index eb519dcd..47ec1814 100644
--- a/example/query_async_coroutines.cpp
+++ b/example/query_async_coroutines.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/query_async_coroutinescpp20.cpp b/example/query_async_coroutinescpp20.cpp
index 5a61edcb..1c8b684e 100644
--- a/example/query_async_coroutinescpp20.cpp
+++ b/example/query_async_coroutinescpp20.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/query_async_futures.cpp b/example/query_async_futures.cpp
index 101379ca..b9fa3514 100644
--- a/example/query_async_futures.cpp
+++ b/example/query_async_futures.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/query_sync.cpp b/example/query_sync.cpp
index f5571f35..70f8b6b4 100644
--- a/example/query_sync.cpp
+++ b/example/query_sync.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/tutorial.cpp b/example/tutorial.cpp
index 4413bca1..ec366901 100644
--- a/example/tutorial.cpp
+++ b/example/tutorial.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/unix_socket.cpp b/example/unix_socket.cpp
index 93f1fef3..7cec4ccc 100644
--- a/example/unix_socket.cpp
+++ b/example/unix_socket.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/example/value.cpp b/example/value.cpp
index 6db965e0..fac1409c 100644
--- a/example/value.cpp
+++ b/example/value.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/collation.hpp b/include/boost/mysql/collation.hpp
index 3e0803f0..e567b91e 100644
--- a/include/boost/mysql/collation.hpp
+++ b/include/boost/mysql/collation.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/connection.hpp b/include/boost/mysql/connection.hpp
index 12c58e7e..a736b164 100644
--- a/include/boost/mysql/connection.hpp
+++ b/include/boost/mysql/connection.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/connection_params.hpp b/include/boost/mysql/connection_params.hpp
index 0c7ece28..08c28ff8 100644
--- a/include/boost/mysql/connection_params.hpp
+++ b/include/boost/mysql/connection_params.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auth/auth_calculator.hpp b/include/boost/mysql/detail/auth/auth_calculator.hpp
index 34b7668a..e2923d47 100644
--- a/include/boost/mysql/detail/auth/auth_calculator.hpp
+++ b/include/boost/mysql/detail/auth/auth_calculator.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auth/caching_sha2_password.hpp b/include/boost/mysql/detail/auth/caching_sha2_password.hpp
index e67a3074..5357ef5e 100644
--- a/include/boost/mysql/detail/auth/caching_sha2_password.hpp
+++ b/include/boost/mysql/detail/auth/caching_sha2_password.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auth/impl/auth_calculator.ipp b/include/boost/mysql/detail/auth/impl/auth_calculator.ipp
index 189a9c5d..4e3351ca 100644
--- a/include/boost/mysql/detail/auth/impl/auth_calculator.ipp
+++ b/include/boost/mysql/detail/auth/impl/auth_calculator.ipp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auth/impl/caching_sha2_password.ipp b/include/boost/mysql/detail/auth/impl/caching_sha2_password.ipp
index 3a651cef..41816e82 100644
--- a/include/boost/mysql/detail/auth/impl/caching_sha2_password.ipp
+++ b/include/boost/mysql/detail/auth/impl/caching_sha2_password.ipp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auth/impl/mysql_native_password.ipp b/include/boost/mysql/detail/auth/impl/mysql_native_password.ipp
index cac6f78e..fdc1a7a0 100644
--- a/include/boost/mysql/detail/auth/impl/mysql_native_password.ipp
+++ b/include/boost/mysql/detail/auth/impl/mysql_native_password.ipp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auth/mysql_native_password.hpp b/include/boost/mysql/detail/auth/mysql_native_password.hpp
index f9e8ad6e..ad074ee8 100644
--- a/include/boost/mysql/detail/auth/mysql_native_password.hpp
+++ b/include/boost/mysql/detail/auth/mysql_native_password.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auxiliar/bytestring.hpp b/include/boost/mysql/detail/auxiliar/bytestring.hpp
index a9b5350b..bc2184b1 100644
--- a/include/boost/mysql/detail/auxiliar/bytestring.hpp
+++ b/include/boost/mysql/detail/auxiliar/bytestring.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auxiliar/container_equals.hpp b/include/boost/mysql/detail/auxiliar/container_equals.hpp
index ff4bd080..5e2d7ab9 100644
--- a/include/boost/mysql/detail/auxiliar/container_equals.hpp
+++ b/include/boost/mysql/detail/auxiliar/container_equals.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auxiliar/make_string_view.hpp b/include/boost/mysql/detail/auxiliar/make_string_view.hpp
index 3fadb88e..b052206a 100644
--- a/include/boost/mysql/detail/auxiliar/make_string_view.hpp
+++ b/include/boost/mysql/detail/auxiliar/make_string_view.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auxiliar/static_string.hpp b/include/boost/mysql/detail/auxiliar/static_string.hpp
index cd73156e..4853783f 100644
--- a/include/boost/mysql/detail/auxiliar/static_string.hpp
+++ b/include/boost/mysql/detail/auxiliar/static_string.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auxiliar/stringize.hpp b/include/boost/mysql/detail/auxiliar/stringize.hpp
index 6a752a5f..9aa66861 100644
--- a/include/boost/mysql/detail/auxiliar/stringize.hpp
+++ b/include/boost/mysql/detail/auxiliar/stringize.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auxiliar/valgrind.hpp b/include/boost/mysql/detail/auxiliar/valgrind.hpp
index 6c5fedfd..c9ae442f 100644
--- a/include/boost/mysql/detail/auxiliar/valgrind.hpp
+++ b/include/boost/mysql/detail/auxiliar/valgrind.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/auxiliar/value_type_traits.hpp b/include/boost/mysql/detail/auxiliar/value_type_traits.hpp
index 221f995d..924ee015 100644
--- a/include/boost/mysql/detail/auxiliar/value_type_traits.hpp
+++ b/include/boost/mysql/detail/auxiliar/value_type_traits.hpp
@@ -1,12 +1,12 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
-#ifndef BOOST_MYSQL_DETAIL_AUXILIAR_VALUE_TYPE_TRAIS_HPP
-#define BOOST_MYSQL_DETAIL_AUXILIAR_VALUE_TYPE_TRAIS_HPP
+#ifndef BOOST_MYSQL_DETAIL_AUXILIAR_VALUE_TYPE_TRAITS_HPP
+#define BOOST_MYSQL_DETAIL_AUXILIAR_VALUE_TYPE_TRAITS_HPP
#include "boost/mysql/value.hpp"
#include
diff --git a/include/boost/mysql/detail/network_algorithms/close_connection.hpp b/include/boost/mysql/detail/network_algorithms/close_connection.hpp
index 32aabdf1..3b42b00e 100644
--- a/include/boost/mysql/detail/network_algorithms/close_connection.hpp
+++ b/include/boost/mysql/detail/network_algorithms/close_connection.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/close_statement.hpp b/include/boost/mysql/detail/network_algorithms/close_statement.hpp
index 4d57907e..996e5396 100644
--- a/include/boost/mysql/detail/network_algorithms/close_statement.hpp
+++ b/include/boost/mysql/detail/network_algorithms/close_statement.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/common.hpp b/include/boost/mysql/detail/network_algorithms/common.hpp
index 96edfba8..eee24f1d 100644
--- a/include/boost/mysql/detail/network_algorithms/common.hpp
+++ b/include/boost/mysql/detail/network_algorithms/common.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/connect.hpp b/include/boost/mysql/detail/network_algorithms/connect.hpp
index 3d297ba9..d3bd7237 100644
--- a/include/boost/mysql/detail/network_algorithms/connect.hpp
+++ b/include/boost/mysql/detail/network_algorithms/connect.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/execute_generic.hpp b/include/boost/mysql/detail/network_algorithms/execute_generic.hpp
index c15b609b..3b9ff98d 100644
--- a/include/boost/mysql/detail/network_algorithms/execute_generic.hpp
+++ b/include/boost/mysql/detail/network_algorithms/execute_generic.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/execute_query.hpp b/include/boost/mysql/detail/network_algorithms/execute_query.hpp
index 96667cbc..63c0afa5 100644
--- a/include/boost/mysql/detail/network_algorithms/execute_query.hpp
+++ b/include/boost/mysql/detail/network_algorithms/execute_query.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/execute_statement.hpp b/include/boost/mysql/detail/network_algorithms/execute_statement.hpp
index 0a38afb2..06b0372f 100644
--- a/include/boost/mysql/detail/network_algorithms/execute_statement.hpp
+++ b/include/boost/mysql/detail/network_algorithms/execute_statement.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/handshake.hpp b/include/boost/mysql/detail/network_algorithms/handshake.hpp
index 6b388a46..1d005d62 100644
--- a/include/boost/mysql/detail/network_algorithms/handshake.hpp
+++ b/include/boost/mysql/detail/network_algorithms/handshake.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/impl/close_connection.hpp b/include/boost/mysql/detail/network_algorithms/impl/close_connection.hpp
index fa5b412c..587d6cab 100644
--- a/include/boost/mysql/detail/network_algorithms/impl/close_connection.hpp
+++ b/include/boost/mysql/detail/network_algorithms/impl/close_connection.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/impl/close_statement.hpp b/include/boost/mysql/detail/network_algorithms/impl/close_statement.hpp
index 1d0aa243..7aca0cac 100644
--- a/include/boost/mysql/detail/network_algorithms/impl/close_statement.hpp
+++ b/include/boost/mysql/detail/network_algorithms/impl/close_statement.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/impl/connect.hpp b/include/boost/mysql/detail/network_algorithms/impl/connect.hpp
index 414e728a..e9f692dd 100644
--- a/include/boost/mysql/detail/network_algorithms/impl/connect.hpp
+++ b/include/boost/mysql/detail/network_algorithms/impl/connect.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/impl/execute_generic.hpp b/include/boost/mysql/detail/network_algorithms/impl/execute_generic.hpp
index 261e7848..f7bc9625 100644
--- a/include/boost/mysql/detail/network_algorithms/impl/execute_generic.hpp
+++ b/include/boost/mysql/detail/network_algorithms/impl/execute_generic.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/impl/execute_query.hpp b/include/boost/mysql/detail/network_algorithms/impl/execute_query.hpp
index 45abf6a7..a7b91685 100644
--- a/include/boost/mysql/detail/network_algorithms/impl/execute_query.hpp
+++ b/include/boost/mysql/detail/network_algorithms/impl/execute_query.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/impl/execute_statement.hpp b/include/boost/mysql/detail/network_algorithms/impl/execute_statement.hpp
index 39d1e0b5..c4c89ee3 100644
--- a/include/boost/mysql/detail/network_algorithms/impl/execute_statement.hpp
+++ b/include/boost/mysql/detail/network_algorithms/impl/execute_statement.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/impl/handshake.hpp b/include/boost/mysql/detail/network_algorithms/impl/handshake.hpp
index 7614800e..5abec537 100644
--- a/include/boost/mysql/detail/network_algorithms/impl/handshake.hpp
+++ b/include/boost/mysql/detail/network_algorithms/impl/handshake.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/impl/prepare_statement.hpp b/include/boost/mysql/detail/network_algorithms/impl/prepare_statement.hpp
index 256db323..73c7732d 100644
--- a/include/boost/mysql/detail/network_algorithms/impl/prepare_statement.hpp
+++ b/include/boost/mysql/detail/network_algorithms/impl/prepare_statement.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/impl/quit_connection.hpp b/include/boost/mysql/detail/network_algorithms/impl/quit_connection.hpp
index 8ed07e97..8e88ccaa 100644
--- a/include/boost/mysql/detail/network_algorithms/impl/quit_connection.hpp
+++ b/include/boost/mysql/detail/network_algorithms/impl/quit_connection.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/impl/read_row.hpp b/include/boost/mysql/detail/network_algorithms/impl/read_row.hpp
index 924561d6..171344ff 100644
--- a/include/boost/mysql/detail/network_algorithms/impl/read_row.hpp
+++ b/include/boost/mysql/detail/network_algorithms/impl/read_row.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/prepare_statement.hpp b/include/boost/mysql/detail/network_algorithms/prepare_statement.hpp
index 099ea74c..3fbbdf04 100644
--- a/include/boost/mysql/detail/network_algorithms/prepare_statement.hpp
+++ b/include/boost/mysql/detail/network_algorithms/prepare_statement.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/quit_connection.hpp b/include/boost/mysql/detail/network_algorithms/quit_connection.hpp
index 47d97874..01934f56 100644
--- a/include/boost/mysql/detail/network_algorithms/quit_connection.hpp
+++ b/include/boost/mysql/detail/network_algorithms/quit_connection.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/network_algorithms/read_row.hpp b/include/boost/mysql/detail/network_algorithms/read_row.hpp
index e22441a1..fd1c2584 100644
--- a/include/boost/mysql/detail/network_algorithms/read_row.hpp
+++ b/include/boost/mysql/detail/network_algorithms/read_row.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/binary_deserialization.hpp b/include/boost/mysql/detail/protocol/binary_deserialization.hpp
index a0ffd6fb..8763f652 100644
--- a/include/boost/mysql/detail/protocol/binary_deserialization.hpp
+++ b/include/boost/mysql/detail/protocol/binary_deserialization.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/binary_serialization.hpp b/include/boost/mysql/detail/protocol/binary_serialization.hpp
index 484a6350..a2b5c538 100644
--- a/include/boost/mysql/detail/protocol/binary_serialization.hpp
+++ b/include/boost/mysql/detail/protocol/binary_serialization.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/capabilities.hpp b/include/boost/mysql/detail/protocol/capabilities.hpp
index bdf4a5ce..9438502f 100644
--- a/include/boost/mysql/detail/protocol/capabilities.hpp
+++ b/include/boost/mysql/detail/protocol/capabilities.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/channel.hpp b/include/boost/mysql/detail/protocol/channel.hpp
index 2b91192b..bec9e9fb 100644
--- a/include/boost/mysql/detail/protocol/channel.hpp
+++ b/include/boost/mysql/detail/protocol/channel.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/common_messages.hpp b/include/boost/mysql/detail/protocol/common_messages.hpp
index 352e3d2c..39be1407 100644
--- a/include/boost/mysql/detail/protocol/common_messages.hpp
+++ b/include/boost/mysql/detail/protocol/common_messages.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/constants.hpp b/include/boost/mysql/detail/protocol/constants.hpp
index b9d89186..f5df0741 100644
--- a/include/boost/mysql/detail/protocol/constants.hpp
+++ b/include/boost/mysql/detail/protocol/constants.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/date.hpp b/include/boost/mysql/detail/protocol/date.hpp
index accfdc36..2cfaec18 100644
--- a/include/boost/mysql/detail/protocol/date.hpp
+++ b/include/boost/mysql/detail/protocol/date.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/deserialization_context.hpp b/include/boost/mysql/detail/protocol/deserialization_context.hpp
index e520f083..8fa4cc8d 100644
--- a/include/boost/mysql/detail/protocol/deserialization_context.hpp
+++ b/include/boost/mysql/detail/protocol/deserialization_context.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/handshake_messages.hpp b/include/boost/mysql/detail/protocol/handshake_messages.hpp
index ad130880..a03f852a 100644
--- a/include/boost/mysql/detail/protocol/handshake_messages.hpp
+++ b/include/boost/mysql/detail/protocol/handshake_messages.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/impl/binary_deserialization.ipp b/include/boost/mysql/detail/protocol/impl/binary_deserialization.ipp
index 3254fbcd..4bd28844 100644
--- a/include/boost/mysql/detail/protocol/impl/binary_deserialization.ipp
+++ b/include/boost/mysql/detail/protocol/impl/binary_deserialization.ipp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/impl/binary_serialization.ipp b/include/boost/mysql/detail/protocol/impl/binary_serialization.ipp
index 2f275704..f4155132 100644
--- a/include/boost/mysql/detail/protocol/impl/binary_serialization.ipp
+++ b/include/boost/mysql/detail/protocol/impl/binary_serialization.ipp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -127,7 +127,7 @@ struct size_visitor
std::size_t operator()(const date&) noexcept { return binc::date_sz + binc::length_sz; }
std::size_t operator()(const datetime&) noexcept { return binc::datetime_dhmsu_sz + binc::length_sz; }
std::size_t operator()(const time&) noexcept { return binc::time_dhmsu_sz + binc::length_sz; }
- std::size_t operator()(std::nullptr_t) noexcept { return 0; }
+ std::size_t operator()(null_t) noexcept { return 0; }
};
struct serialize_visitor
@@ -142,7 +142,7 @@ struct serialize_visitor
void operator()(std::int64_t v) noexcept { serialize(ctx, v); }
void operator()(std::uint64_t v) noexcept { serialize(ctx, v); }
void operator()(boost::string_view v) noexcept { serialize(ctx, string_lenenc(v)); }
- void operator()(std::nullptr_t) noexcept {}
+ void operator()(null_t) noexcept {}
};
} // detail
diff --git a/include/boost/mysql/detail/protocol/impl/channel.hpp b/include/boost/mysql/detail/protocol/impl/channel.hpp
index 1d876965..125ee4a3 100644
--- a/include/boost/mysql/detail/protocol/impl/channel.hpp
+++ b/include/boost/mysql/detail/protocol/impl/channel.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/impl/common_messages.ipp b/include/boost/mysql/detail/protocol/impl/common_messages.ipp
index 98c1824c..c1600560 100644
--- a/include/boost/mysql/detail/protocol/impl/common_messages.ipp
+++ b/include/boost/mysql/detail/protocol/impl/common_messages.ipp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/impl/date.hpp b/include/boost/mysql/detail/protocol/impl/date.hpp
index 0a247c4c..8548e511 100644
--- a/include/boost/mysql/detail/protocol/impl/date.hpp
+++ b/include/boost/mysql/detail/protocol/impl/date.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/impl/handshake_messages.ipp b/include/boost/mysql/detail/protocol/impl/handshake_messages.ipp
index 1ca0cbb5..406d0d52 100644
--- a/include/boost/mysql/detail/protocol/impl/handshake_messages.ipp
+++ b/include/boost/mysql/detail/protocol/impl/handshake_messages.ipp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/impl/prepared_statement_messages.hpp b/include/boost/mysql/detail/protocol/impl/prepared_statement_messages.hpp
index 7738b3e9..fccae8d7 100644
--- a/include/boost/mysql/detail/protocol/impl/prepared_statement_messages.hpp
+++ b/include/boost/mysql/detail/protocol/impl/prepared_statement_messages.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -30,7 +30,7 @@ inline protocol_field_type get_protocol_field_type(
protocol_field_type operator()(date) const noexcept { return protocol_field_type::date; }
protocol_field_type operator()(datetime) const noexcept { return protocol_field_type::datetime; }
protocol_field_type operator()(time) const noexcept { return protocol_field_type::time; }
- protocol_field_type operator()(std::nullptr_t) const noexcept { return protocol_field_type::null; }
+ protocol_field_type operator()(null_t) const noexcept { return protocol_field_type::null; }
};
return boost::variant2::visit(visitor(), input.to_variant());
}
diff --git a/include/boost/mysql/detail/protocol/impl/serialization.hpp b/include/boost/mysql/detail/protocol/impl/serialization.hpp
index 5163e921..232a40c2 100644
--- a/include/boost/mysql/detail/protocol/impl/serialization.hpp
+++ b/include/boost/mysql/detail/protocol/impl/serialization.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/impl/serialization.ipp b/include/boost/mysql/detail/protocol/impl/serialization.ipp
index eb6fa3e8..1239e003 100644
--- a/include/boost/mysql/detail/protocol/impl/serialization.ipp
+++ b/include/boost/mysql/detail/protocol/impl/serialization.ipp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/impl/text_deserialization.ipp b/include/boost/mysql/detail/protocol/impl/text_deserialization.ipp
index 13f9a650..5fc836c2 100644
--- a/include/boost/mysql/detail/protocol/impl/text_deserialization.ipp
+++ b/include/boost/mysql/detail/protocol/impl/text_deserialization.ipp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/null_bitmap_traits.hpp b/include/boost/mysql/detail/protocol/null_bitmap_traits.hpp
index ea1b0239..040ed33c 100644
--- a/include/boost/mysql/detail/protocol/null_bitmap_traits.hpp
+++ b/include/boost/mysql/detail/protocol/null_bitmap_traits.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/prepared_statement_messages.hpp b/include/boost/mysql/detail/protocol/prepared_statement_messages.hpp
index d61e1abd..9363dd75 100644
--- a/include/boost/mysql/detail/protocol/prepared_statement_messages.hpp
+++ b/include/boost/mysql/detail/protocol/prepared_statement_messages.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/protocol_types.hpp b/include/boost/mysql/detail/protocol/protocol_types.hpp
index c039734b..903b05be 100644
--- a/include/boost/mysql/detail/protocol/protocol_types.hpp
+++ b/include/boost/mysql/detail/protocol/protocol_types.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/query_messages.hpp b/include/boost/mysql/detail/protocol/query_messages.hpp
index dfa21bc0..405de136 100644
--- a/include/boost/mysql/detail/protocol/query_messages.hpp
+++ b/include/boost/mysql/detail/protocol/query_messages.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/serialization.hpp b/include/boost/mysql/detail/protocol/serialization.hpp
index 3b68dc90..349fa9f0 100644
--- a/include/boost/mysql/detail/protocol/serialization.hpp
+++ b/include/boost/mysql/detail/protocol/serialization.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/serialization_context.hpp b/include/boost/mysql/detail/protocol/serialization_context.hpp
index d238720d..b5e86b12 100644
--- a/include/boost/mysql/detail/protocol/serialization_context.hpp
+++ b/include/boost/mysql/detail/protocol/serialization_context.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/detail/protocol/text_deserialization.hpp b/include/boost/mysql/detail/protocol/text_deserialization.hpp
index c15b3954..284098e2 100644
--- a/include/boost/mysql/detail/protocol/text_deserialization.hpp
+++ b/include/boost/mysql/detail/protocol/text_deserialization.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/errc.hpp b/include/boost/mysql/errc.hpp
index 0d4dacde..128f5a06 100644
--- a/include/boost/mysql/errc.hpp
+++ b/include/boost/mysql/errc.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -621,7 +621,6 @@ enum class errc : int
too_long_index_comment = 1688, ///< Server error. Error number: 1688, symbol: [mysqllink server-error-reference.html\#error_er_too_long_index_comment ER_TOO_LONG_INDEX_COMMENT].
lock_aborted = 1689, ///< Server error. Error number: 1689, symbol: [mysqllink server-error-reference.html\#error_er_lock_aborted ER_LOCK_ABORTED].
data_out_of_range = 1690, ///< Server error. Error number: 1690, symbol: [mysqllink server-error-reference.html\#error_er_data_out_of_range ER_DATA_OUT_OF_RANGE].
- wrong_spvar_type_in_limit = 1691, ///< Server error. Error number: 1691, symbol: [mysqllink server-error-reference.html\#error_er_wrong_spvar_type_in_limit ER_WRONG_SPVAR_TYPE_IN_LIMIT].
binlog_unsafe_multiple_engines_and_self_logging_engine = 1692, ///< Server error. Error number: 1692, symbol: [mysqllink server-error-reference.html\#error_er_binlog_unsafe_multiple_engines_and_self_logging_engine ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE].
binlog_unsafe_mixed_statement = 1693, ///< Server error. Error number: 1693, symbol: [mysqllink server-error-reference.html\#error_er_binlog_unsafe_mixed_statement ER_BINLOG_UNSAFE_MIXED_STATEMENT].
inside_transaction_prevents_switch_sql_log_bin = 1694, ///< Server error. Error number: 1694, symbol: [mysqllink server-error-reference.html\#error_er_inside_transaction_prevents_switch_sql_log_bin ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN].
@@ -773,7 +772,6 @@ enum class errc : int
alter_operation_not_supported_reason_hidden_fts = 1855, ///< Server error. Error number: 1855, symbol: [mysqllink server-error-reference.html\#error_er_alter_operation_not_supported_reason_hidden_fts ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS].
alter_operation_not_supported_reason_change_fts = 1856, ///< Server error. Error number: 1856, symbol: [mysqllink server-error-reference.html\#error_er_alter_operation_not_supported_reason_change_fts ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS].
alter_operation_not_supported_reason_fts = 1857, ///< Server error. Error number: 1857, symbol: [mysqllink server-error-reference.html\#error_er_alter_operation_not_supported_reason_fts ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS].
- sql_slave_skip_counter_not_settable_in_gtid_mode = 1858, ///< Server error. Error number: 1858, symbol: [mysqllink server-error-reference.html\#error_er_sql_slave_skip_counter_not_settable_in_gtid_mode ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE].
dup_unknown_in_index = 1859, ///< Server error. Error number: 1859, symbol: [mysqllink server-error-reference.html\#error_er_dup_unknown_in_index ER_DUP_UNKNOWN_IN_INDEX].
ident_causes_too_long_path = 1860, ///< Server error. Error number: 1860, symbol: [mysqllink server-error-reference.html\#error_er_ident_causes_too_long_path ER_IDENT_CAUSES_TOO_LONG_PATH].
alter_operation_not_supported_reason_not_null = 1861, ///< Server error. Error number: 1861, symbol: [mysqllink server-error-reference.html\#error_er_alter_operation_not_supported_reason_not_null ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL].
@@ -992,6 +990,7 @@ enum class errc : int
keyring_access_denied_error = 3202, ///< Server error. Error number: 3202, symbol: [mysqllink server-error-reference.html\#error_er_keyring_access_denied_error ER_KEYRING_ACCESS_DENIED_ERROR].
keyring_migration_status = 3203, ///< Server error. Error number: 3203, symbol: [mysqllink server-error-reference.html\#error_er_keyring_migration_status ER_KEYRING_MIGRATION_STATUS].
audit_log_udf_read_invalid_max_array_length_arg_value = 3218, ///< Server error. Error number: 3218, symbol: [mysqllink server-error-reference.html\#error_er_audit_log_udf_read_invalid_max_array_length_arg_value ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_VALUE].
+ write_set_exceeds_limit = 3231, ///< Server error. Error number: 3231, symbol: [mysqllink server-error-reference.html\#error_er_write_set_exceeds_limit ER_WRITE_SET_EXCEEDS_LIMIT].
unsupport_compressed_temporary_table = 3500, ///< Server error. Error number: 3500, symbol: [mysqllink server-error-reference.html\#error_er_unsupport_compressed_temporary_table ER_UNSUPPORT_COMPRESSED_TEMPORARY_TABLE].
acl_operation_failed = 3501, ///< Server error. Error number: 3501, symbol: [mysqllink server-error-reference.html\#error_er_acl_operation_failed ER_ACL_OPERATION_FAILED].
unsupported_index_algorithm = 3502, ///< Server error. Error number: 3502, symbol: [mysqllink server-error-reference.html\#error_er_unsupported_index_algorithm ER_UNSUPPORTED_INDEX_ALGORITHM].
@@ -1454,6 +1453,70 @@ enum class errc : int
warn_deprecated_values_function_always_null = 3963, ///< Server error. Error number: 3963, symbol: [mysqllink server-error-reference.html\#error_er_warn_deprecated_values_function_always_null ER_WARN_DEPRECATED_VALUES_FUNCTION_ALWAYS_NULL].
warn_deprecated_sql_calc_found_rows = 3964, ///< Server error. Error number: 3964, symbol: [mysqllink server-error-reference.html\#error_er_warn_deprecated_sql_calc_found_rows ER_WARN_DEPRECATED_SQL_CALC_FOUND_ROWS].
warn_deprecated_found_rows = 3965, ///< Server error. Error number: 3965, symbol: [mysqllink server-error-reference.html\#error_er_warn_deprecated_found_rows ER_WARN_DEPRECATED_FOUND_ROWS].
+ missing_json_value = 3966, ///< Server error. Error number: 3966, symbol: [mysqllink server-error-reference.html\#error_er_missing_json_value ER_MISSING_JSON_VALUE].
+ multiple_json_values = 3967, ///< Server error. Error number: 3967, symbol: [mysqllink server-error-reference.html\#error_er_multiple_json_values ER_MULTIPLE_JSON_VALUES].
+ hostname_too_long = 3968, ///< Server error. Error number: 3968, symbol: [mysqllink server-error-reference.html\#error_er_hostname_too_long ER_HOSTNAME_TOO_LONG].
+ warn_client_deprecated_partition_prefix_key = 3969, ///< Server error. Error number: 3969, symbol: [mysqllink server-error-reference.html\#error_er_warn_client_deprecated_partition_prefix_key ER_WARN_CLIENT_DEPRECATED_PARTITION_PREFIX_KEY].
+ group_replication_user_empty_msg = 3970, ///< Server error. Error number: 3970, symbol: [mysqllink server-error-reference.html\#error_er_group_replication_user_empty_msg ER_GROUP_REPLICATION_USER_EMPTY_MSG].
+ group_replication_user_mandatory_msg = 3971, ///< Server error. Error number: 3971, symbol: [mysqllink server-error-reference.html\#error_er_group_replication_user_mandatory_msg ER_GROUP_REPLICATION_USER_MANDATORY_MSG].
+ group_replication_password_length = 3972, ///< Server error. Error number: 3972, symbol: [mysqllink server-error-reference.html\#error_er_group_replication_password_length ER_GROUP_REPLICATION_PASSWORD_LENGTH].
+ subquery_transform_rejected = 3973, ///< Server error. Error number: 3973, symbol: [mysqllink server-error-reference.html\#error_er_subquery_transform_rejected ER_SUBQUERY_TRANSFORM_REJECTED].
+ da_grp_rpl_recovery_endpoint_format = 3974, ///< Server error. Error number: 3974, symbol: [mysqllink server-error-reference.html\#error_er_da_grp_rpl_recovery_endpoint_format ER_DA_GRP_RPL_RECOVERY_ENDPOINT_FORMAT].
+ da_grp_rpl_recovery_endpoint_invalid = 3975, ///< Server error. Error number: 3975, symbol: [mysqllink server-error-reference.html\#error_er_da_grp_rpl_recovery_endpoint_invalid ER_DA_GRP_RPL_RECOVERY_ENDPOINT_INVALID].
+ wrong_value_for_var_plus_actionable_part = 3976, ///< Server error. Error number: 3976, symbol: [mysqllink server-error-reference.html\#error_er_wrong_value_for_var_plus_actionable_part ER_WRONG_VALUE_FOR_VAR_PLUS_ACTIONABLE_PART].
+ statement_not_allowed_after_start_transaction = 3977, ///< Server error. Error number: 3977, symbol: [mysqllink server-error-reference.html\#error_er_statement_not_allowed_after_start_transaction ER_STATEMENT_NOT_ALLOWED_AFTER_START_TRANSACTION].
+ foreign_key_with_atomic_create_select = 3978, ///< Server error. Error number: 3978, symbol: [mysqllink server-error-reference.html\#error_er_foreign_key_with_atomic_create_select ER_FOREIGN_KEY_WITH_ATOMIC_CREATE_SELECT].
+ not_allowed_with_start_transaction = 3979, ///< Server error. Error number: 3979, symbol: [mysqllink server-error-reference.html\#error_er_not_allowed_with_start_transaction ER_NOT_ALLOWED_WITH_START_TRANSACTION].
+ invalid_json_attribute = 3980, ///< Server error. Error number: 3980, symbol: [mysqllink server-error-reference.html\#error_er_invalid_json_attribute ER_INVALID_JSON_ATTRIBUTE].
+ engine_attribute_not_supported = 3981, ///< Server error. Error number: 3981, symbol: [mysqllink server-error-reference.html\#error_er_engine_attribute_not_supported ER_ENGINE_ATTRIBUTE_NOT_SUPPORTED].
+ invalid_user_attribute_json = 3982, ///< Server error. Error number: 3982, symbol: [mysqllink server-error-reference.html\#error_er_invalid_user_attribute_json ER_INVALID_USER_ATTRIBUTE_JSON].
+ innodb_redo_disabled = 3983, ///< Server error. Error number: 3983, symbol: [mysqllink server-error-reference.html\#error_er_innodb_redo_disabled ER_INNODB_REDO_DISABLED].
+ innodb_redo_archiving_enabled = 3984, ///< Server error. Error number: 3984, symbol: [mysqllink server-error-reference.html\#error_er_innodb_redo_archiving_enabled ER_INNODB_REDO_ARCHIVING_ENABLED].
+ mdl_out_of_resources = 3985, ///< Server error. Error number: 3985, symbol: [mysqllink server-error-reference.html\#error_er_mdl_out_of_resources ER_MDL_OUT_OF_RESOURCES].
+ implicit_comparison_for_json = 3986, ///< Server error. Error number: 3986, symbol: [mysqllink server-error-reference.html\#error_er_implicit_comparison_for_json ER_IMPLICIT_COMPARISON_FOR_JSON].
+ function_does_not_support_character_set = 3987, ///< Server error. Error number: 3987, symbol: [mysqllink server-error-reference.html\#error_er_function_does_not_support_character_set ER_FUNCTION_DOES_NOT_SUPPORT_CHARACTER_SET].
+ impossible_string_conversion = 3988, ///< Server error. Error number: 3988, symbol: [mysqllink server-error-reference.html\#error_er_impossible_string_conversion ER_IMPOSSIBLE_STRING_CONVERSION].
+ schema_read_only = 3989, ///< Server error. Error number: 3989, symbol: [mysqllink server-error-reference.html\#error_er_schema_read_only ER_SCHEMA_READ_ONLY].
+ rpl_async_reconnect_gtid_mode_off = 3990, ///< Server error. Error number: 3990, symbol: [mysqllink server-error-reference.html\#error_er_rpl_async_reconnect_gtid_mode_off ER_RPL_ASYNC_RECONNECT_GTID_MODE_OFF].
+ rpl_async_reconnect_auto_position_off = 3991, ///< Server error. Error number: 3991, symbol: [mysqllink server-error-reference.html\#error_er_rpl_async_reconnect_auto_position_off ER_RPL_ASYNC_RECONNECT_AUTO_POSITION_OFF].
+ disable_gtid_mode_requires_async_reconnect_off = 3992, ///< Server error. Error number: 3992, symbol: [mysqllink server-error-reference.html\#error_er_disable_gtid_mode_requires_async_reconnect_off ER_DISABLE_GTID_MODE_REQUIRES_ASYNC_RECONNECT_OFF].
+ disable_auto_position_requires_async_reconnect_off = 3993, ///< Server error. Error number: 3993, symbol: [mysqllink server-error-reference.html\#error_er_disable_auto_position_requires_async_reconnect_off ER_DISABLE_AUTO_POSITION_REQUIRES_ASYNC_RECONNECT_OFF].
+ invalid_parameter_use = 3994, ///< Server error. Error number: 3994, symbol: [mysqllink server-error-reference.html\#error_er_invalid_parameter_use ER_INVALID_PARAMETER_USE].
+ character_set_mismatch = 3995, ///< Server error. Error number: 3995, symbol: [mysqllink server-error-reference.html\#error_er_character_set_mismatch ER_CHARACTER_SET_MISMATCH].
+ warn_var_value_change_not_supported = 3996, ///< Server error. Error number: 3996, symbol: [mysqllink server-error-reference.html\#error_er_warn_var_value_change_not_supported ER_WARN_VAR_VALUE_CHANGE_NOT_SUPPORTED].
+ invalid_time_zone_interval = 3997, ///< Server error. Error number: 3997, symbol: [mysqllink server-error-reference.html\#error_er_invalid_time_zone_interval ER_INVALID_TIME_ZONE_INTERVAL].
+ invalid_cast = 3998, ///< Server error. Error number: 3998, symbol: [mysqllink server-error-reference.html\#error_er_invalid_cast ER_INVALID_CAST].
+ hypergraph_not_supported_yet = 3999, ///< Server error. Error number: 3999, symbol: [mysqllink server-error-reference.html\#error_er_hypergraph_not_supported_yet ER_HYPERGRAPH_NOT_SUPPORTED_YET].
+ warn_hypergraph_experimental = 4000, ///< Server error. Error number: 4000, symbol: [mysqllink server-error-reference.html\#error_er_warn_hypergraph_experimental ER_WARN_HYPERGRAPH_EXPERIMENTAL].
+ da_no_error_log_parser_configured = 4001, ///< Server error. Error number: 4001, symbol: [mysqllink server-error-reference.html\#error_er_da_no_error_log_parser_configured ER_DA_NO_ERROR_LOG_PARSER_CONFIGURED].
+ da_error_log_table_disabled = 4002, ///< Server error. Error number: 4002, symbol: [mysqllink server-error-reference.html\#error_er_da_error_log_table_disabled ER_DA_ERROR_LOG_TABLE_DISABLED].
+ da_error_log_multiple_filters = 4003, ///< Server error. Error number: 4003, symbol: [mysqllink server-error-reference.html\#error_er_da_error_log_multiple_filters ER_DA_ERROR_LOG_MULTIPLE_FILTERS].
+ da_cant_open_error_log = 4004, ///< Server error. Error number: 4004, symbol: [mysqllink server-error-reference.html\#error_er_da_cant_open_error_log ER_DA_CANT_OPEN_ERROR_LOG].
+ user_referenced_as_definer = 4005, ///< Server error. Error number: 4005, symbol: [mysqllink server-error-reference.html\#error_er_user_referenced_as_definer ER_USER_REFERENCED_AS_DEFINER].
+ cannot_user_referenced_as_definer = 4006, ///< Server error. Error number: 4006, symbol: [mysqllink server-error-reference.html\#error_er_cannot_user_referenced_as_definer ER_CANNOT_USER_REFERENCED_AS_DEFINER].
+ regex_number_too_big = 4007, ///< Server error. Error number: 4007, symbol: [mysqllink server-error-reference.html\#error_er_regex_number_too_big ER_REGEX_NUMBER_TOO_BIG].
+ spvar_noninteger_type = 4008, ///< Server error. Error number: 4008, symbol: [mysqllink server-error-reference.html\#error_er_spvar_noninteger_type ER_SPVAR_NONINTEGER_TYPE].
+ binlog_unsafe_acl_table_read_in_dml_ddl = 4010, ///< Server error. Error number: 4010, symbol: [mysqllink server-error-reference.html\#error_er_binlog_unsafe_acl_table_read_in_dml_ddl ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDL].
+ stop_replica_monitor_io_thread_timeout = 4011, ///< Server error. Error number: 4011, symbol: [mysqllink server-error-reference.html\#error_er_stop_replica_monitor_io_thread_timeout ER_STOP_REPLICA_MONITOR_IO_THREAD_TIMEOUT].
+ starting_replica_monitor_io_thread = 4012, ///< Server error. Error number: 4012, symbol: [mysqllink server-error-reference.html\#error_er_starting_replica_monitor_io_thread ER_STARTING_REPLICA_MONITOR_IO_THREAD].
+ cant_use_anonymous_to_gtid_with_gtid_mode_not_on = 4013, ///< Server error. Error number: 4013, symbol: [mysqllink server-error-reference.html\#error_er_cant_use_anonymous_to_gtid_with_gtid_mode_not_on ER_CANT_USE_ANONYMOUS_TO_GTID_WITH_GTID_MODE_NOT_ON].
+ cant_combine_anonymous_to_gtid_and_autoposition = 4014, ///< Server error. Error number: 4014, symbol: [mysqllink server-error-reference.html\#error_er_cant_combine_anonymous_to_gtid_and_autoposition ER_CANT_COMBINE_ANONYMOUS_TO_GTID_AND_AUTOPOSITION].
+ assign_gtids_to_anonymous_transactions_requires_gtid_mode_on = 4015, ///< Server error. Error number: 4015, symbol: [mysqllink server-error-reference.html\#error_er_assign_gtids_to_anonymous_transactions_requires_gtid_mode_on ER_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_REQUIRES_GTID_MODE_ON].
+ sql_slave_skip_counter_used_with_gtid_mode_on = 4016, ///< Server error. Error number: 4016, symbol: [mysqllink server-error-reference.html\#error_er_sql_slave_skip_counter_used_with_gtid_mode_on ER_SQL_SLAVE_SKIP_COUNTER_USED_WITH_GTID_MODE_ON].
+ using_assign_gtids_to_anonymous_transactions_as_local_or_uuid = 4017, ///< Server error. Error number: 4017, symbol: [mysqllink server-error-reference.html\#error_er_using_assign_gtids_to_anonymous_transactions_as_local_or_uuid ER_USING_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_AS_LOCAL_OR_UUID].
+ cant_set_anonymous_to_gtid_and_wait_until_sql_thd_after_gtids = 4018, ///< Server error. Error number: 4018, symbol: [mysqllink server-error-reference.html\#error_er_cant_set_anonymous_to_gtid_and_wait_until_sql_thd_after_gtids ER_CANT_SET_ANONYMOUS_TO_GTID_AND_WAIT_UNTIL_SQL_THD_AFTER_GTIDS].
+ cant_set_sql_after_or_before_gtids_with_anonymous_to_gtid = 4019, ///< Server error. Error number: 4019, symbol: [mysqllink server-error-reference.html\#error_er_cant_set_sql_after_or_before_gtids_with_anonymous_to_gtid ER_CANT_SET_SQL_AFTER_OR_BEFORE_GTIDS_WITH_ANONYMOUS_TO_GTID].
+ anonymous_to_gtid_uuid_same_as_group_name = 4020, ///< Server error. Error number: 4020, symbol: [mysqllink server-error-reference.html\#error_er_anonymous_to_gtid_uuid_same_as_group_name ER_ANONYMOUS_TO_GTID_UUID_SAME_AS_GROUP_NAME].
+ cant_use_same_uuid_as_group_name = 4021, ///< Server error. Error number: 4021, symbol: [mysqllink server-error-reference.html\#error_er_cant_use_same_uuid_as_group_name ER_CANT_USE_SAME_UUID_AS_GROUP_NAME].
+ grp_rpl_recovery_channel_still_running = 4022, ///< Server error. Error number: 4022, symbol: [mysqllink server-error-reference.html\#error_er_grp_rpl_recovery_channel_still_running ER_GRP_RPL_RECOVERY_CHANNEL_STILL_RUNNING].
+ innodb_invalid_autoextend_size_value = 4023, ///< Server error. Error number: 4023, symbol: [mysqllink server-error-reference.html\#error_er_innodb_invalid_autoextend_size_value ER_INNODB_INVALID_AUTOEXTEND_SIZE_VALUE].
+ innodb_incompatible_with_tablespace = 4024, ///< Server error. Error number: 4024, symbol: [mysqllink server-error-reference.html\#error_er_innodb_incompatible_with_tablespace ER_INNODB_INCOMPATIBLE_WITH_TABLESPACE].
+ innodb_autoextend_size_out_of_range = 4025, ///< Server error. Error number: 4025, symbol: [mysqllink server-error-reference.html\#error_er_innodb_autoextend_size_out_of_range ER_INNODB_AUTOEXTEND_SIZE_OUT_OF_RANGE].
+ cannot_use_autoextend_size_clause = 4026, ///< Server error. Error number: 4026, symbol: [mysqllink server-error-reference.html\#error_er_cannot_use_autoextend_size_clause ER_CANNOT_USE_AUTOEXTEND_SIZE_CLAUSE].
+ role_granted_to_itself = 4027, ///< Server error. Error number: 4027, symbol: [mysqllink server-error-reference.html\#error_er_role_granted_to_itself ER_ROLE_GRANTED_TO_ITSELF].
+ table_must_have_a_visible_column = 4028, ///< Server error. Error number: 4028, symbol: [mysqllink server-error-reference.html\#error_er_table_must_have_a_visible_column ER_TABLE_MUST_HAVE_A_VISIBLE_COLUMN].
+ innodb_compression_failure = 4029, ///< Server error. Error number: 4029, symbol: [mysqllink server-error-reference.html\#error_er_innodb_compression_failure ER_INNODB_COMPRESSION_FAILURE].
+ warn_async_conn_failover_network_namespace = 4030, ///< Server error. Error number: 4030, symbol: [mysqllink server-error-reference.html\#error_er_warn_async_conn_failover_network_namespace ER_WARN_ASYNC_CONN_FAILOVER_NETWORK_NAMESPACE].
incomplete_message = 65536, ///< Client error. An incomplete message was received from the server
extra_bytes = 65537, ///< Client error. Unexpected extra bytes at the end of a message were received
sequence_number_mismatch = 65538, ///< Client error. Mismatched sequence numbers
diff --git a/include/boost/mysql/error.hpp b/include/boost/mysql/error.hpp
index 8efcbbb0..366ca1bc 100644
--- a/include/boost/mysql/error.hpp
+++ b/include/boost/mysql/error.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/execute_params.hpp b/include/boost/mysql/execute_params.hpp
index 04609a54..08a002cb 100644
--- a/include/boost/mysql/execute_params.hpp
+++ b/include/boost/mysql/execute_params.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/field_type.hpp b/include/boost/mysql/field_type.hpp
index 18a07ea1..f8c3ea8a 100644
--- a/include/boost/mysql/field_type.hpp
+++ b/include/boost/mysql/field_type.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/impl/connection.hpp b/include/boost/mysql/impl/connection.hpp
index 501ff567..49da0c5a 100644
--- a/include/boost/mysql/impl/connection.hpp
+++ b/include/boost/mysql/impl/connection.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/impl/error.hpp b/include/boost/mysql/impl/error.hpp
index 844791e8..ec67b0bf 100644
--- a/include/boost/mysql/impl/error.hpp
+++ b/include/boost/mysql/impl/error.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/impl/error_descriptions.hpp b/include/boost/mysql/impl/error_descriptions.hpp
index 59f79b25..0abde7dc 100644
--- a/include/boost/mysql/impl/error_descriptions.hpp
+++ b/include/boost/mysql/impl/error_descriptions.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -619,7 +619,6 @@ constexpr error_entry all_errors [] = {
{ errc::too_long_index_comment, "too_long_index_comment" },
{ errc::lock_aborted, "lock_aborted" },
{ errc::data_out_of_range, "data_out_of_range" },
- { errc::wrong_spvar_type_in_limit, "wrong_spvar_type_in_limit" },
{ errc::binlog_unsafe_multiple_engines_and_self_logging_engine, "binlog_unsafe_multiple_engines_and_self_logging_engine" },
{ errc::binlog_unsafe_mixed_statement, "binlog_unsafe_mixed_statement" },
{ errc::inside_transaction_prevents_switch_sql_log_bin, "inside_transaction_prevents_switch_sql_log_bin" },
@@ -771,7 +770,6 @@ constexpr error_entry all_errors [] = {
{ errc::alter_operation_not_supported_reason_hidden_fts, "alter_operation_not_supported_reason_hidden_fts" },
{ errc::alter_operation_not_supported_reason_change_fts, "alter_operation_not_supported_reason_change_fts" },
{ errc::alter_operation_not_supported_reason_fts, "alter_operation_not_supported_reason_fts" },
- { errc::sql_slave_skip_counter_not_settable_in_gtid_mode, "sql_slave_skip_counter_not_settable_in_gtid_mode" },
{ errc::dup_unknown_in_index, "dup_unknown_in_index" },
{ errc::ident_causes_too_long_path, "ident_causes_too_long_path" },
{ errc::alter_operation_not_supported_reason_not_null, "alter_operation_not_supported_reason_not_null" },
@@ -990,6 +988,7 @@ constexpr error_entry all_errors [] = {
{ errc::keyring_access_denied_error, "keyring_access_denied_error" },
{ errc::keyring_migration_status, "keyring_migration_status" },
{ errc::audit_log_udf_read_invalid_max_array_length_arg_value, "audit_log_udf_read_invalid_max_array_length_arg_value" },
+ { errc::write_set_exceeds_limit, "write_set_exceeds_limit" },
{ errc::unsupport_compressed_temporary_table, "unsupport_compressed_temporary_table" },
{ errc::acl_operation_failed, "acl_operation_failed" },
{ errc::unsupported_index_algorithm, "unsupported_index_algorithm" },
@@ -1452,6 +1451,70 @@ constexpr error_entry all_errors [] = {
{ errc::warn_deprecated_values_function_always_null, "warn_deprecated_values_function_always_null" },
{ errc::warn_deprecated_sql_calc_found_rows, "warn_deprecated_sql_calc_found_rows" },
{ errc::warn_deprecated_found_rows, "warn_deprecated_found_rows" },
+ { errc::missing_json_value, "missing_json_value" },
+ { errc::multiple_json_values, "multiple_json_values" },
+ { errc::hostname_too_long, "hostname_too_long" },
+ { errc::warn_client_deprecated_partition_prefix_key, "warn_client_deprecated_partition_prefix_key" },
+ { errc::group_replication_user_empty_msg, "group_replication_user_empty_msg" },
+ { errc::group_replication_user_mandatory_msg, "group_replication_user_mandatory_msg" },
+ { errc::group_replication_password_length, "group_replication_password_length" },
+ { errc::subquery_transform_rejected, "subquery_transform_rejected" },
+ { errc::da_grp_rpl_recovery_endpoint_format, "da_grp_rpl_recovery_endpoint_format" },
+ { errc::da_grp_rpl_recovery_endpoint_invalid, "da_grp_rpl_recovery_endpoint_invalid" },
+ { errc::wrong_value_for_var_plus_actionable_part, "wrong_value_for_var_plus_actionable_part" },
+ { errc::statement_not_allowed_after_start_transaction, "statement_not_allowed_after_start_transaction" },
+ { errc::foreign_key_with_atomic_create_select, "foreign_key_with_atomic_create_select" },
+ { errc::not_allowed_with_start_transaction, "not_allowed_with_start_transaction" },
+ { errc::invalid_json_attribute, "invalid_json_attribute" },
+ { errc::engine_attribute_not_supported, "engine_attribute_not_supported" },
+ { errc::invalid_user_attribute_json, "invalid_user_attribute_json" },
+ { errc::innodb_redo_disabled, "innodb_redo_disabled" },
+ { errc::innodb_redo_archiving_enabled, "innodb_redo_archiving_enabled" },
+ { errc::mdl_out_of_resources, "mdl_out_of_resources" },
+ { errc::implicit_comparison_for_json, "implicit_comparison_for_json" },
+ { errc::function_does_not_support_character_set, "function_does_not_support_character_set" },
+ { errc::impossible_string_conversion, "impossible_string_conversion" },
+ { errc::schema_read_only, "schema_read_only" },
+ { errc::rpl_async_reconnect_gtid_mode_off, "rpl_async_reconnect_gtid_mode_off" },
+ { errc::rpl_async_reconnect_auto_position_off, "rpl_async_reconnect_auto_position_off" },
+ { errc::disable_gtid_mode_requires_async_reconnect_off, "disable_gtid_mode_requires_async_reconnect_off" },
+ { errc::disable_auto_position_requires_async_reconnect_off, "disable_auto_position_requires_async_reconnect_off" },
+ { errc::invalid_parameter_use, "invalid_parameter_use" },
+ { errc::character_set_mismatch, "character_set_mismatch" },
+ { errc::warn_var_value_change_not_supported, "warn_var_value_change_not_supported" },
+ { errc::invalid_time_zone_interval, "invalid_time_zone_interval" },
+ { errc::invalid_cast, "invalid_cast" },
+ { errc::hypergraph_not_supported_yet, "hypergraph_not_supported_yet" },
+ { errc::warn_hypergraph_experimental, "warn_hypergraph_experimental" },
+ { errc::da_no_error_log_parser_configured, "da_no_error_log_parser_configured" },
+ { errc::da_error_log_table_disabled, "da_error_log_table_disabled" },
+ { errc::da_error_log_multiple_filters, "da_error_log_multiple_filters" },
+ { errc::da_cant_open_error_log, "da_cant_open_error_log" },
+ { errc::user_referenced_as_definer, "user_referenced_as_definer" },
+ { errc::cannot_user_referenced_as_definer, "cannot_user_referenced_as_definer" },
+ { errc::regex_number_too_big, "regex_number_too_big" },
+ { errc::spvar_noninteger_type, "spvar_noninteger_type" },
+ { errc::binlog_unsafe_acl_table_read_in_dml_ddl, "binlog_unsafe_acl_table_read_in_dml_ddl" },
+ { errc::stop_replica_monitor_io_thread_timeout, "stop_replica_monitor_io_thread_timeout" },
+ { errc::starting_replica_monitor_io_thread, "starting_replica_monitor_io_thread" },
+ { errc::cant_use_anonymous_to_gtid_with_gtid_mode_not_on, "cant_use_anonymous_to_gtid_with_gtid_mode_not_on" },
+ { errc::cant_combine_anonymous_to_gtid_and_autoposition, "cant_combine_anonymous_to_gtid_and_autoposition" },
+ { errc::assign_gtids_to_anonymous_transactions_requires_gtid_mode_on, "assign_gtids_to_anonymous_transactions_requires_gtid_mode_on" },
+ { errc::sql_slave_skip_counter_used_with_gtid_mode_on, "sql_slave_skip_counter_used_with_gtid_mode_on" },
+ { errc::using_assign_gtids_to_anonymous_transactions_as_local_or_uuid, "using_assign_gtids_to_anonymous_transactions_as_local_or_uuid" },
+ { errc::cant_set_anonymous_to_gtid_and_wait_until_sql_thd_after_gtids, "cant_set_anonymous_to_gtid_and_wait_until_sql_thd_after_gtids" },
+ { errc::cant_set_sql_after_or_before_gtids_with_anonymous_to_gtid, "cant_set_sql_after_or_before_gtids_with_anonymous_to_gtid" },
+ { errc::anonymous_to_gtid_uuid_same_as_group_name, "anonymous_to_gtid_uuid_same_as_group_name" },
+ { errc::cant_use_same_uuid_as_group_name, "cant_use_same_uuid_as_group_name" },
+ { errc::grp_rpl_recovery_channel_still_running, "grp_rpl_recovery_channel_still_running" },
+ { errc::innodb_invalid_autoextend_size_value, "innodb_invalid_autoextend_size_value" },
+ { errc::innodb_incompatible_with_tablespace, "innodb_incompatible_with_tablespace" },
+ { errc::innodb_autoextend_size_out_of_range, "innodb_autoextend_size_out_of_range" },
+ { errc::cannot_use_autoextend_size_clause, "cannot_use_autoextend_size_clause" },
+ { errc::role_granted_to_itself, "role_granted_to_itself" },
+ { errc::table_must_have_a_visible_column, "table_must_have_a_visible_column" },
+ { errc::innodb_compression_failure, "innodb_compression_failure" },
+ { errc::warn_async_conn_failover_network_namespace, "warn_async_conn_failover_network_namespace" },
{ errc::incomplete_message, "An incomplete message was received from the server" },
{ errc::extra_bytes, "Unexpected extra bytes at the end of a message were received" },
{ errc::sequence_number_mismatch, "Mismatched sequence numbers" },
diff --git a/include/boost/mysql/impl/metadata.ipp b/include/boost/mysql/impl/metadata.ipp
index f4446bcd..72d8aa84 100644
--- a/include/boost/mysql/impl/metadata.ipp
+++ b/include/boost/mysql/impl/metadata.ipp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/impl/prepared_statement.hpp b/include/boost/mysql/impl/prepared_statement.hpp
index 6878d804..0187f9c0 100644
--- a/include/boost/mysql/impl/prepared_statement.hpp
+++ b/include/boost/mysql/impl/prepared_statement.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/impl/resultset.hpp b/include/boost/mysql/impl/resultset.hpp
index 1dab1926..03d1d287 100644
--- a/include/boost/mysql/impl/resultset.hpp
+++ b/include/boost/mysql/impl/resultset.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/impl/value.hpp b/include/boost/mysql/impl/value.hpp
index ff3bc00c..36f911b2 100644
--- a/include/boost/mysql/impl/value.hpp
+++ b/include/boost/mysql/impl/value.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -65,7 +65,7 @@ struct print_visitor
os << buffer;
}
- void operator()(std::nullptr_t) const { os << ""; }
+ void operator()(null_t) const { os << ""; }
};
template class Optional>
diff --git a/include/boost/mysql/metadata.hpp b/include/boost/mysql/metadata.hpp
index c783ef43..fea6e493 100644
--- a/include/boost/mysql/metadata.hpp
+++ b/include/boost/mysql/metadata.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/mysql.hpp b/include/boost/mysql/mysql.hpp
index c495e49a..00cd639b 100644
--- a/include/boost/mysql/mysql.hpp
+++ b/include/boost/mysql/mysql.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/prepared_statement.hpp b/include/boost/mysql/prepared_statement.hpp
index 1ba3e398..d957619e 100644
--- a/include/boost/mysql/prepared_statement.hpp
+++ b/include/boost/mysql/prepared_statement.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/resultset.hpp b/include/boost/mysql/resultset.hpp
index e94d3991..f2a7887b 100644
--- a/include/boost/mysql/resultset.hpp
+++ b/include/boost/mysql/resultset.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/row.hpp b/include/boost/mysql/row.hpp
index e9039319..1cca90d4 100644
--- a/include/boost/mysql/row.hpp
+++ b/include/boost/mysql/row.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/include/boost/mysql/value.hpp b/include/boost/mysql/value.hpp
index d6c8a44f..a2715a79 100644
--- a/include/boost/mysql/value.hpp
+++ b/include/boost/mysql/value.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -38,6 +38,9 @@ using datetime = std::chrono::time_point()`.
+ * is `std::nullptr_t`. Equivalent to `value::is()`.
*/
BOOST_CXX14_CONSTEXPR bool is_null() const noexcept
{
- return boost::variant2::holds_alternative(repr_);
+ return boost::variant2::holds_alternative(repr_);
}
/**
@@ -174,11 +185,23 @@ public:
/// Converts a value to an actual variant of type [refmem value variant_type].
BOOST_CXX14_CONSTEXPR variant_type to_variant() const noexcept { return repr_; }
- /// Tests for equality (type and value).
+ /// Tests for equality (type and value); see [link mysql.values.relational this section] for more info.
BOOST_CXX14_CONSTEXPR bool operator==(const value& rhs) const noexcept { return repr_ == rhs.repr_; }
- /// Tests for inequality (type and value).
+ /// Tests for inequality (type and value); see [link mysql.values.relational this section] for more info.
BOOST_CXX14_CONSTEXPR bool operator!=(const value& rhs) const noexcept { return !(*this==rhs); }
+
+ /// Tests for inequality (type and value); see [link mysql.values.relational this section] for more info.
+ BOOST_CXX14_CONSTEXPR bool operator<(const value& rhs) const noexcept { return repr_ < rhs.repr_; }
+
+ /// Tests for inequality (type and value); see [link mysql.values.relational this section] for more info.
+ BOOST_CXX14_CONSTEXPR bool operator<=(const value& rhs) const noexcept { return repr_ <= rhs.repr_; }
+
+ /// Tests for inequality (type and value); see [link mysql.values.relational this section] for more info.
+ BOOST_CXX14_CONSTEXPR bool operator>(const value& rhs) const noexcept { return repr_ > rhs.repr_; }
+
+ /// Tests for inequality (type and value); see [link mysql.values.relational this section] for more info.
+ BOOST_CXX14_CONSTEXPR bool operator>=(const value& rhs) const noexcept { return repr_ >= rhs.repr_; }
private:
struct unsigned_int_tag {};
struct signed_int_tag {};
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 36f16257..556fe51e 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+# Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -29,24 +29,24 @@ target_link_libraries(
# Unit testing
add_executable(
boost_mysql_unittests
- unit/detail/auth/auth_calculator.cpp
- unit/detail/auxiliar/static_string.cpp
- unit/detail/auxiliar/value_type_traits.cpp
- unit/detail/protocol/capabilities.cpp
- unit/detail/protocol/date.cpp
- unit/detail/protocol/null_bitmap_traits.cpp
- unit/detail/protocol/serialization_test.cpp
- unit/detail/protocol/text_deserialization_value.cpp
- unit/detail/protocol/text_deserialization_error.cpp
- unit/detail/protocol/binary_deserialization_value.cpp
- unit/detail/protocol/binary_deserialization_error.cpp
- unit/detail/protocol/row_deserialization.cpp
- unit/metadata.cpp
+ # unit/detail/auth/auth_calculator.cpp
+ # unit/detail/auxiliar/static_string.cpp
+ # unit/detail/auxiliar/value_type_traits.cpp
+ # unit/detail/protocol/capabilities.cpp
+ # unit/detail/protocol/date.cpp
+ # unit/detail/protocol/null_bitmap_traits.cpp
+ # unit/detail/protocol/serialization_test.cpp
+ # unit/detail/protocol/text_deserialization_value.cpp
+ # unit/detail/protocol/text_deserialization_error.cpp
+ # unit/detail/protocol/binary_deserialization_value.cpp
+ # unit/detail/protocol/binary_deserialization_error.cpp
+ # unit/detail/protocol/row_deserialization.cpp
+ # unit/metadata.cpp
unit/value.cpp
unit/row.cpp
- unit/error.cpp
- unit/execute_params.cpp
- unit/prepared_statement.cpp
+ # unit/error.cpp
+ # unit/execute_params.cpp
+ # unit/prepared_statement.cpp
unit/resultset.cpp
unit/connection.cpp
unit/entry_point.cpp
diff --git a/test/Jamfile b/test/Jamfile
index fe3de684..2fa38d12 100644
--- a/test/Jamfile
+++ b/test/Jamfile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+# Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/common/assert_type_equals.hpp b/test/common/assert_type_equals.hpp
index 062e4208..f04a167d 100644
--- a/test/common/assert_type_equals.hpp
+++ b/test/common/assert_type_equals.hpp
@@ -1,10 +1,13 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
+#ifndef BOOST_MYSQL_TEST_COMMON_ASSERT_TYPE_EQUALS_HPP
+#define BOOST_MYSQL_TEST_COMMON_ASSERT_TYPE_EQUALS_HPP
+
#include
#include
#include
@@ -25,3 +28,5 @@ void assert_type_equals()
}
}
}
+
+#endif
\ No newline at end of file
diff --git a/test/common/test_common.hpp b/test/common/test_common.hpp
index 0056322e..6c052238 100644
--- a/test/common/test_common.hpp
+++ b/test/common/test_common.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/close_connection.cpp b/test/integration/close_connection.cpp
index c759dfdf..7eea4cc2 100644
--- a/test/integration/close_connection.cpp
+++ b/test/integration/close_connection.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/close_statement.cpp b/test/integration/close_statement.cpp
index c7252148..c7df020f 100644
--- a/test/integration/close_statement.cpp
+++ b/test/integration/close_statement.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/connect.cpp b/test/integration/connect.cpp
index 933efd78..7f75bbdb 100644
--- a/test/integration/connect.cpp
+++ b/test/integration/connect.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/connection.cpp b/test/integration/connection.cpp
index 15eda841..f111fcd3 100644
--- a/test/integration/connection.cpp
+++ b/test/integration/connection.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/database_types.cpp b/test/integration/database_types.cpp
index 4c15b34f..c4dddfe8 100644
--- a/test/integration/database_types.cpp
+++ b/test/integration/database_types.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -401,7 +401,7 @@ void add_datetime_samples(std::vector& output)
output.push_back(create_datetime_sample(
decimals,
stringize(length, '_', invalid_date_case),
- value(nullptr),
+ value(),
field_type::datetime
));
}
@@ -418,7 +418,7 @@ void add_timestamp_samples(std::vector& output)
for (int decimals = 0; decimals <= 6; ++decimals)
{
output.push_back(create_datetime_sample(decimals,
- "zero", value(nullptr), field_type::timestamp));
+ "zero", value(), field_type::timestamp));
}
}
diff --git a/test/integration/db_setup.sql b/test/integration/db_setup.sql
index 6871ed52..ebc03b6a 100644
--- a/test/integration/db_setup.sql
+++ b/test/integration/db_setup.sql
@@ -1,5 +1,5 @@
--
--- Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+-- Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
--
-- Distributed under the Boost Software License, Version 1.0. (See accompanying
-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/db_setup_sha256.sql b/test/integration/db_setup_sha256.sql
index ea102d9f..f5acc9fc 100644
--- a/test/integration/db_setup_sha256.sql
+++ b/test/integration/db_setup_sha256.sql
@@ -1,5 +1,5 @@
--
--- Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+-- Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
--
-- Distributed under the Boost Software License, Version 1.0. (See accompanying
-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/entry_point.cpp b/test/integration/entry_point.cpp
index 8a54725e..8bdf5318 100644
--- a/test/integration/entry_point.cpp
+++ b/test/integration/entry_point.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/execute_statement.cpp b/test/integration/execute_statement.cpp
index 811c2eb9..3fd57e73 100644
--- a/test/integration/execute_statement.cpp
+++ b/test/integration/execute_statement.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/get_endpoint.hpp b/test/integration/get_endpoint.hpp
index 637941b9..c1ded72a 100644
--- a/test/integration/get_endpoint.hpp
+++ b/test/integration/get_endpoint.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/handshake.cpp b/test/integration/handshake.cpp
index d91e569c..dd1378f4 100644
--- a/test/integration/handshake.cpp
+++ b/test/integration/handshake.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/integration_test_common.hpp b/test/integration/integration_test_common.hpp
index 25c91924..987f50f9 100644
--- a/test/integration/integration_test_common.hpp
+++ b/test/integration/integration_test_common.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/metadata_validator.cpp b/test/integration/metadata_validator.cpp
index 58699b2e..fcabe59b 100644
--- a/test/integration/metadata_validator.cpp
+++ b/test/integration/metadata_validator.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/metadata_validator.hpp b/test/integration/metadata_validator.hpp
index d93cdb40..58092efd 100644
--- a/test/integration/metadata_validator.hpp
+++ b/test/integration/metadata_validator.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/network_functions.hpp b/test/integration/network_functions.hpp
index 3af0ca51..77aef3ec 100644
--- a/test/integration/network_functions.hpp
+++ b/test/integration/network_functions.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/network_functions/async_callback.cpp b/test/integration/network_functions/async_callback.cpp
index 4b86f704..cddad195 100644
--- a/test/integration/network_functions/async_callback.cpp
+++ b/test/integration/network_functions/async_callback.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/network_functions/async_coroutine.cpp b/test/integration/network_functions/async_coroutine.cpp
index ce00cf75..448c28ad 100644
--- a/test/integration/network_functions/async_coroutine.cpp
+++ b/test/integration/network_functions/async_coroutine.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/network_functions/async_coroutinecpp20.cpp b/test/integration/network_functions/async_coroutinecpp20.cpp
index cc085ac1..3e6d9de7 100644
--- a/test/integration/network_functions/async_coroutinecpp20.cpp
+++ b/test/integration/network_functions/async_coroutinecpp20.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/network_functions/async_future.cpp b/test/integration/network_functions/async_future.cpp
index 8002b89d..03fd38f5 100644
--- a/test/integration/network_functions/async_future.cpp
+++ b/test/integration/network_functions/async_future.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/network_functions/network_functions_impl.cpp b/test/integration/network_functions/network_functions_impl.cpp
index c54fd4c1..516a5396 100644
--- a/test/integration/network_functions/network_functions_impl.cpp
+++ b/test/integration/network_functions/network_functions_impl.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/network_functions/network_functions_impl.hpp b/test/integration/network_functions/network_functions_impl.hpp
index 1a723fd4..a9495259 100644
--- a/test/integration/network_functions/network_functions_impl.hpp
+++ b/test/integration/network_functions/network_functions_impl.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/network_functions/sync.cpp b/test/integration/network_functions/sync.cpp
index 77bf72a2..eb3b8f98 100644
--- a/test/integration/network_functions/sync.cpp
+++ b/test/integration/network_functions/sync.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/network_test.hpp b/test/integration/network_test.hpp
index 53c6bdc8..45f9b0f5 100644
--- a/test/integration/network_test.hpp
+++ b/test/integration/network_test.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/prepare_statement.cpp b/test/integration/prepare_statement.cpp
index abf75775..107d456c 100644
--- a/test/integration/prepare_statement.cpp
+++ b/test/integration/prepare_statement.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/prepared_statement_lifecycle.cpp b/test/integration/prepared_statement_lifecycle.cpp
index 5b65627c..8f0c2f6f 100644
--- a/test/integration/prepared_statement_lifecycle.cpp
+++ b/test/integration/prepared_statement_lifecycle.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/query.cpp b/test/integration/query.cpp
index 16335ba7..5d9e28ca 100644
--- a/test/integration/query.cpp
+++ b/test/integration/query.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/quit_connection.cpp b/test/integration/quit_connection.cpp
index e91a9a77..9c9b1a50 100644
--- a/test/integration/quit_connection.cpp
+++ b/test/integration/quit_connection.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/resultset.cpp b/test/integration/resultset.cpp
index 5fb26d08..2c577c68 100644
--- a/test/integration/resultset.cpp
+++ b/test/integration/resultset.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/integration/tcp_future_socket.hpp b/test/integration/tcp_future_socket.hpp
index f66306c0..9e341a21 100644
--- a/test/integration/tcp_future_socket.hpp
+++ b/test/integration/tcp_future_socket.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/connection.cpp b/test/unit/connection.cpp
index e091433c..bed0bc44 100644
--- a/test/unit/connection.cpp
+++ b/test/unit/connection.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/auth/auth_calculator.cpp b/test/unit/detail/auth/auth_calculator.cpp
index e5c5cf59..987090d5 100644
--- a/test/unit/detail/auth/auth_calculator.cpp
+++ b/test/unit/detail/auth/auth_calculator.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/auxiliar/static_string.cpp b/test/unit/detail/auxiliar/static_string.cpp
index 0b8b1ed1..67c10072 100644
--- a/test/unit/detail/auxiliar/static_string.cpp
+++ b/test/unit/detail/auxiliar/static_string.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/auxiliar/value_type_traits.cpp b/test/unit/detail/auxiliar/value_type_traits.cpp
index 4319f431..16efc8be 100644
--- a/test/unit/detail/auxiliar/value_type_traits.cpp
+++ b/test/unit/detail/auxiliar/value_type_traits.cpp
@@ -1,3 +1,9 @@
+//
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+//
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
#include
#include
diff --git a/test/unit/detail/protocol/binary_deserialization_error.cpp b/test/unit/detail/protocol/binary_deserialization_error.cpp
index 6928ab9a..d258e48b 100644
--- a/test/unit/detail/protocol/binary_deserialization_error.cpp
+++ b/test/unit/detail/protocol/binary_deserialization_error.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/binary_deserialization_value.cpp b/test/unit/detail/protocol/binary_deserialization_value.cpp
index b77dd0da..4cdd6745 100644
--- a/test/unit/detail/protocol/binary_deserialization_value.cpp
+++ b/test/unit/detail/protocol/binary_deserialization_value.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/capabilities.cpp b/test/unit/detail/protocol/capabilities.cpp
index b27754b4..09c2f162 100644
--- a/test/unit/detail/protocol/capabilities.cpp
+++ b/test/unit/detail/protocol/capabilities.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/date.cpp b/test/unit/detail/protocol/date.cpp
index a3116491..2d597819 100644
--- a/test/unit/detail/protocol/date.cpp
+++ b/test/unit/detail/protocol/date.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/null_bitmap_traits.cpp b/test/unit/detail/protocol/null_bitmap_traits.cpp
index 3c9c3297..91152d89 100644
--- a/test/unit/detail/protocol/null_bitmap_traits.cpp
+++ b/test/unit/detail/protocol/null_bitmap_traits.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/row_deserialization.cpp b/test/unit/detail/protocol/row_deserialization.cpp
index 9ff8a77f..7c0c660c 100644
--- a/test/unit/detail/protocol/row_deserialization.cpp
+++ b/test/unit/detail/protocol/row_deserialization.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -132,10 +132,10 @@ std::vector make_ok_samples()
make_value_vector(nullptr, nullptr),
{protocol_field_type::tiny, protocol_field_type::tiny}),
row_sample(bin, "six_nulls", {0x00, 0xfc},
- std::vector(6, value(nullptr)),
+ std::vector(6, value()),
std::vector(6, protocol_field_type::tiny)),
row_sample(bin, "seven_nulls", {0x00, 0xfc, 0x01},
- std::vector(7, value(nullptr)),
+ std::vector(7, value()),
std::vector(7, protocol_field_type::tiny)),
row_sample(bin, "several_values", {
0x00, 0x90, 0x00, 0xfd, 0x14, 0x00, 0xc3, 0xf5, 0x48,
diff --git a/test/unit/detail/protocol/serialization_test.cpp b/test/unit/detail/protocol/serialization_test.cpp
index 7ee3f6d5..ddbe311d 100644
--- a/test/unit/detail/protocol/serialization_test.cpp
+++ b/test/unit/detail/protocol/serialization_test.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/serialization_test.hpp b/test/unit/detail/protocol/serialization_test.hpp
index e5a56a32..03220f29 100644
--- a/test/unit/detail/protocol/serialization_test.hpp
+++ b/test/unit/detail/protocol/serialization_test.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/serialization_test_samples/basic_types.hpp b/test/unit/detail/protocol/serialization_test_samples/basic_types.hpp
index 53458cd4..9306aee0 100644
--- a/test/unit/detail/protocol/serialization_test_samples/basic_types.hpp
+++ b/test/unit/detail/protocol/serialization_test_samples/basic_types.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/serialization_test_samples/binary_serialization.hpp b/test/unit/detail/protocol/serialization_test_samples/binary_serialization.hpp
index 6dad8f24..8383f636 100644
--- a/test/unit/detail/protocol/serialization_test_samples/binary_serialization.hpp
+++ b/test/unit/detail/protocol/serialization_test_samples/binary_serialization.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/serialization_test_samples/common_messages.hpp b/test/unit/detail/protocol/serialization_test_samples/common_messages.hpp
index 0144a2dc..690508bc 100644
--- a/test/unit/detail/protocol/serialization_test_samples/common_messages.hpp
+++ b/test/unit/detail/protocol/serialization_test_samples/common_messages.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/serialization_test_samples/handshake_messages.hpp b/test/unit/detail/protocol/serialization_test_samples/handshake_messages.hpp
index 4ba83de9..0b0705e8 100644
--- a/test/unit/detail/protocol/serialization_test_samples/handshake_messages.hpp
+++ b/test/unit/detail/protocol/serialization_test_samples/handshake_messages.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/serialization_test_samples/prepared_statement_messages.hpp b/test/unit/detail/protocol/serialization_test_samples/prepared_statement_messages.hpp
index 1df8472f..55a0ad54 100644
--- a/test/unit/detail/protocol/serialization_test_samples/prepared_statement_messages.hpp
+++ b/test/unit/detail/protocol/serialization_test_samples/prepared_statement_messages.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/serialization_test_samples/query_messages.hpp b/test/unit/detail/protocol/serialization_test_samples/query_messages.hpp
index 4d681aa9..9d5981c5 100644
--- a/test/unit/detail/protocol/serialization_test_samples/query_messages.hpp
+++ b/test/unit/detail/protocol/serialization_test_samples/query_messages.hpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/text_deserialization_error.cpp b/test/unit/detail/protocol/text_deserialization_error.cpp
index 41cf8bae..e380595f 100644
--- a/test/unit/detail/protocol/text_deserialization_error.cpp
+++ b/test/unit/detail/protocol/text_deserialization_error.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/detail/protocol/text_deserialization_value.cpp b/test/unit/detail/protocol/text_deserialization_value.cpp
index 907523a3..7adc67b5 100644
--- a/test/unit/detail/protocol/text_deserialization_value.cpp
+++ b/test/unit/detail/protocol/text_deserialization_value.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/entry_point.cpp b/test/unit/entry_point.cpp
index 27bb4e33..23ea6f5f 100644
--- a/test/unit/entry_point.cpp
+++ b/test/unit/entry_point.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/error.cpp b/test/unit/error.cpp
index 6e2c3dff..7cad6ee2 100644
--- a/test/unit/error.cpp
+++ b/test/unit/error.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/execute_params.cpp b/test/unit/execute_params.cpp
index 88232318..dc6ad77c 100644
--- a/test/unit/execute_params.cpp
+++ b/test/unit/execute_params.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/metadata.cpp b/test/unit/metadata.cpp
index deeacbf3..47605ec9 100644
--- a/test/unit/metadata.cpp
+++ b/test/unit/metadata.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/prepared_statement.cpp b/test/unit/prepared_statement.cpp
index 2643e2d1..dadb1fd5 100644
--- a/test/unit/prepared_statement.cpp
+++ b/test/unit/prepared_statement.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/resultset.cpp b/test/unit/resultset.cpp
index c10ad198..c8671e41 100644
--- a/test/unit/resultset.cpp
+++ b/test/unit/resultset.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/row.cpp b/test/unit/row.cpp
index b4b71ed1..952e4a56 100644
--- a/test/unit/row.cpp
+++ b/test/unit/row.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
diff --git a/test/unit/value.cpp b/test/unit/value.cpp
index e9919148..13876452 100644
--- a/test/unit/value.cpp
+++ b/test/unit/value.cpp
@@ -1,5 +1,5 @@
//
-// Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
+// Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -7,9 +7,11 @@
#include "boost/mysql/value.hpp"
#include "test_common.hpp"
+#include
#include
#include
#include
+#include
#include
#include