2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-01-26 06:42:22 +00:00

50 Commits

Author SHA1 Message Date
Anarthal (Rubén Pérez)
d66156ab61 Added builds for new compilers and restructured old ones (#495)
* Added coverage to fill the gaps between compiler versions for clang
and gcc under Linux
* Added clang-19 and clang-20 builds
* Added a gcc-15 build
* Replaced the old clang 3.6 build by clang 3.8

close #478 
close #477 
close #476
2025-10-07 14:41:04 +02:00
Anarthal (Rubén Pérez)
6a82609638 caching_sha2_password can now be used without TLS
Fixed a problem that caused pfr_by_name<T> to fail compilation when T has no fields under older clang/libc++ versions.

close #313
close #483
2025-06-07 13:20:48 +02:00
Anarthal (Rubén Pérez)
272533c938 Boost 1.87 API status update
any_connection, client-side SQL formatting and connection_pool are now
stable
connection is now marked as legacy (not recommended for new code)
Added legacy/experimental tags in quickref file

close #364
2024-10-29 18:02:54 +01:00
Anarthal (Rubén Pérez)
3a49afeb87 Boost 1.86 new CI builds
Added gcc-14 build
Updated mysql8 to MySQL 8.4.1
Updated mariadb to MariaDB 11.4.2
Updated some CMake builds to the latest compiler versions
Updated GHA workflows to use Node 20 actions
Updated deprecated ENV commands in Dockerfiles
Removed debugging statements in OSX CI build
DB entrypoints are now inline scripts in Dockerfiles
TSAN is now run in ARM CIs and recent gcc's
TSAN is now disabled for TS executors

close #302
2024-07-08 17:12:43 +02:00
Ruben Perez
5e8992ba88 Client-side SQL formatting functions
Added format_sql, format_sql_to and basic_format_context
Boost.Charconv is now a mandatory dependency
Text queries are now locale-independent
any_connection::current_character_set now uses system::result
Added any_connection::format_opts
field_view, field and statement::bind now disallow character types
escape_string can now be used with any OutputString type
Added constant_string_view
character_set now uses string_view and span
set_character_set hardening

close #69
close #208
2024-02-15 16:02:39 +01:00
glywk
2542d48034 Fix typography 2023-07-28 00:21:08 +02:00
Ruben Perez
2dcea3f5e7 Added sanitizer builds
Fixed problem with header-only builds where
    meta_check_context didn't include its .ipp file
Fixed integer overflow problems in datetime::datetime
Fixed NULL memcpy problem in serialization_context::write
Updated tested systems in README and intro

close #33
2023-06-24 22:41:49 +02:00
Ruben Perez
b51115668d Added support for the static interface
Added support for the static interface
Statement execution now supports bool and optionals
Replaced the FieldLikeTuple and FieldLike concepts
    by WritableFieldTuple and WritableField
Added diagnostics::client_message
Solved a problem with blob types and stored procedures
    under MariaDB
Removed a troublesome assert in row_impl
Protected numeric_limits min/max from intrusive macros
Added C++11/14 order management examples
Documentation section collapsing
Test Jamfiles now show output only on failure

close #60
close #153
close #154
2023-05-22 14:05:12 +02:00
Ruben Perez
7ebea35291 General documentation fixes.
Removed the notion of "single stream read and write"
    for the notion of "single async operation"
UNIX socket examples no longer use SSL.
Added Doxygen reference template and applied it
    to all functions and classes.
Improved the overview section.
Misc corrections in discussion.
Added missing members to quickref.
Fixed usage instructions.
Fixed issue in rows that caused an unnecessary copy of the strings.
Added upgrade instructions from 0.2.x.
Added SQL injection warnings in connection::query docs.
Fixed problems with missing icons.

Close #66
Close #96
Close #78
Close #47
2023-02-24 19:26:41 +01:00
Ruben Perez
b63eaf761e Revert "Added a warning on the API being experimental"
This reverts commit 06357f17d1.
2023-02-21 13:34:48 +01:00
Ruben Perez
06357f17d1 Added a warning on the API being experimental 2023-02-20 13:23:56 +01:00
Ruben Perez
bf4071f370 Boostification, part 2
Fully migrated Linux and Windows jobs to Drone
Fixed time-zone related issue in integ tests
Support for MSVC 14.1
Support for latest docca version
Recover codecov support
Test to verify cmake find_package for a b2-generated distribution
Resilience against openssl not being found in Windows
2022-12-05 19:04:24 +01:00
Ruben Perez
f662df3635 Boostification, part 1
Proper cmake support
New UNIX B2 builds
New UNIX CMake builds
Removed appveyor support
New Windows B2 drone builds
2022-11-28 17:29:56 +01:00
Ruben Perez
e241ba28a3 README badge fixes 2022-03-22 00:16:33 +01:00
Ruben Perez
86e0eacd6a SSL/TLS and row reading rework (v0.2.0)
* SSL/TLS rework
* Unified connection object
* New prepared_statement::execute interface
* New resultset::read_one mechanic
* Unified row object
* null_t type
* Travis to GitHub actions migration
* Integration test rework
2022-03-21 16:09:48 +01:00
Ruben Perez
981c2b34d7 Escaped special chars in readme 2021-03-10 21:18:57 +01:00
Ruben Perez
85c40a2e83 Updated README title to be more clear 2021-03-10 21:17:35 +01:00
Ruben Perez
201cf3924a Added missing badge in readme 2021-03-09 08:28:35 +01:00
Ruben Perez
7bbf5acda6 Fixed issue when reconnecting a connection
closes #24
2021-03-09 08:24:39 +01:00
Ruben Perez
1ad31e7a6b TLS cert validation, valid() after moves and others
- Added connection::connection overload accepting a user-defined SSL
context.
- Added SSL certificate validation example.
- Removed ssl_options.
- Fixed an incorrect constexpr implementation
(value::is_convertible_to).
- Made I/O objects' valid() behavior after move operations more uniform.
- Changed exception type thrown by value::get to a custom one defined in
Boost.Mysql.
- Changed docs link in README.

closes #39
closes #27
closes #25
closes #10
2021-03-07 19:41:44 +01:00
Ruben Perez
dd2447c6cb Updated Boost version to 1.75.0
commit 5d0dafa324453ce731ddd2a427fa68490843b6c6
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 20 18:52:52 2020 +0100

    Added missing test exlussion on Windows

commit 52f1ce1eb6f43478451ee1c9761efa9a1f0c85bf
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 20 18:05:47 2020 +0100

    Trying to fix PS syntax errors 2

commit d680a874b069b8cc6c7965b226cda02f49438206
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 20 17:58:30 2020 +0100

    Fixing PS syntax errors

commit 84915ac269714fcfbfc6dc9e6ce10aefa395d33a
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 20 17:52:14 2020 +0100

    Changed Windows CMake builds to use latest Boost

commit 75aa757ae50f9c9d31cdb8018cf14e1dea5e6530
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 20 16:07:25 2020 +0100

    Removed conflictive build config under Windows

commit 7cd77f9204b842999233f8c6782caa3fbbf15a89
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Mon Dec 14 20:09:23 2020 +0100

    Desperate try to fix MSVC internal errors 2

commit f81de256735b1a705d03a7994cfecbce1a7581d4
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 20:44:59 2020 +0100

    Desperate try to fix stuff

commit 3a8f8d1caf8e8d906a7d96ba7edf62f2e3b09651
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 18:48:33 2020 +0100

    Reverted to using env var

commit 420427989274036fd04351531bdae2ebde621f5f
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 16:55:17 2020 +0100

    Changed CMake way of excluding tests to match b2's

commit 1db13f9e3df346135dadb1c2686ecafc0fe6c2df
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 16:33:05 2020 +0100

    Updated B2 CIs to explicitly run certain tests

commit 12700b387beb99f2ac1cf342291bc63f49d26a99
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 16:14:47 2020 +0100

    Updated test selection (sha256/unix) in b2

commit 0f23bddeb64203e5c570280e5e1de4a5ae083f94
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 16:14:34 2020 +0100

    Added internal script to setup b2 env

commit 13cf6b102b0d71f5496bcd433e3269ea297a9f26
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Dec 13 14:00:30 2020 +0100

    Added option to skip UNIX socket tests (only cmake)

commit a35f668ae0a968ef01eb6517d9de86c45e07dceb
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sat Dec 12 21:38:06 2020 +0100

    Attempted to correct test filter problem

commit 29282e5a4fa6e4f5b7c5de56662b9cbea7758e06
Author: anarthal <rubenperez038@gmail.com>
Date:   Sat Dec 12 11:27:53 2020 -0800

    Fixes to build in MSVC

commit bc8599358435de946cba10cc7cbdc264bb793e5b
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sat Dec 5 13:57:56 2020 +0100

    Reduced concurrency on Unix cmake builds

commit 3e183277cb2b3c4480ec102f956a4683811d3f44
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Fri Dec 4 17:50:31 2020 +0100

    Test ssh keys

commit d91a4ebdb65444da1c5952444c571dc68de1cd7b
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Nov 29 19:59:07 2020 +0100

    Remove TODO.txt in favor of GitHub issues

commit fbe5e58966304b6fd87029af4657e6ed1aa2f2fd
Author: Ruben Perez <rubenperez038@gmail.com>
Date:   Sun Nov 29 19:58:25 2020 +0100

    Updated to build with 1.75
2020-12-20 21:20:23 +01:00
Ruben Perez
94c44f43e6 Fixed badges in README.md 2020-11-29 18:23:47 +01:00
ruben
4c291205d1 Updated README 2020-07-07 14:38:23 +01:00
ruben
5ba63a8459 Migrated docs to quickbook 2020-07-06 17:56:04 +01:00
ruben
ddb3f14081 Removed date.h library 2020-06-21 15:49:30 +01:00
ruben
591671bd8d Lowered std requirement to C++11 2020-06-18 22:54:01 +01:00
ruben
9bba29e483 Added CMake target exports and install rules 2020-06-04 15:57:31 +01:00
Richard Hodges
3c420b8683 Added support for use_awaitable
Co-authored-by: ruben <rubenperez038@gmail.com>
Co-authored-by: Alex Hodges <alexander.hodges11@live.co.uk>
2020-06-02 12:11:48 +01:00
ruben
d2c9821564 Fixed typo in README 2020-04-29 10:42:48 +01:00
ruben
0a686fa18f Fixed codecov badge 2020-04-24 17:47:32 +01:00
ruben
f49ff4dc1f Added basic quit 2020-04-21 19:47:21 +01:00
ruben
984e714094 Added codecov badge to README 2020-04-21 14:25:20 +01:00
ruben
1ae738c35b Renamed database and CMake library 2020-04-20 11:54:16 +01:00
ruben
5c3e0c1a9c Updated readme 2020-04-16 14:02:44 +01:00
ruben
f8a5904d0b Changed Boost logo for proposed for 2020-04-09 17:25:04 +01:00
ruben
6477453a59 Added link to docs in README 2020-04-07 17:54:52 +01:00
ruben
e0f72d62ef Added Doxyfile and doxygen infrastructure 2020-04-07 17:19:38 +01:00
ruben
dfd556d5d0 Updated README 2020-04-07 12:05:20 +01:00
ruben
0f0a299e5c Updated README 2020-04-05 14:43:56 +01:00
ruben
24d0dc9d90 Updated compiler versions in README.md 2020-04-03 19:16:40 +01:00
ruben
5e33347c18 Added AppVeyor build badge 2020-04-03 18:22:09 +01:00
ruben
0b076b541d Updated versions in README.md 2020-03-17 11:13:28 +00:00
ruben
68b91ea362 Updated README with prepared statements info 2020-03-03 21:18:58 +00:00
anarthal
54f72e37ed Made test scripts work under Windows
Solved problem with integration tests under MySQL 8.x (due to default auth plugin for root)
2020-01-14 22:26:29 +00:00
ruben
e8e30410b8 Updated README with MySQL version for Travis 2020-01-13 13:17:34 +00:00
ruben
ca944a2887 Corrected build badge in README 2020-01-13 13:15:08 +00:00
ruben
27650fa0aa Changed .travis.yml to load test database 2020-01-13 12:46:25 +00:00
ruben
85b5cbbf34 Added build badge to README 2020-01-13 12:40:11 +00:00
ruben
7bdb287128 Now struct with fields use a separate trait
Required to build in Windows
2020-01-13 11:09:22 +00:00
ruben
aadcee4daa Added README 2020-01-12 13:32:06 +00:00