Open avpalienko opened 7 months ago
CI env problem: Starting MySQL 5.7 Start-Service : Cannot find any service with service name 'MySQL57'. At line:1 char:1
+ CategoryInfo : ObjectNotFound: (MySQL[57](https://ci.appveyor.com/project/SOCI/soci/builds/48597466/job/r6lwn67f6ep8jnvb#L57):String) [Start-Service], ServiceCommandException
+ FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.StartServiceCommand
CI env problem: Starting MySQL 5.7 Start-Service : Cannot find any service with service name 'MySQL57'. At line:1 char:1
* Start-Service 'MySQL57' * ``` + CategoryInfo : ObjectNotFound: (MySQL[57](https://ci.appveyor.com/project/SOCI/soci/builds/48597466/job/r6lwn67f6ep8jnvb#L57):String) [Start-Service], ServiceCommandException + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.StartServiceCommand ```
AppVeyor probably updated their MySQL version... Also not sure why did we suddenly start getting deprecation warnings in the GitHub CI builds. This is clearly unrelated to this PR, of course.
It is a useful when we can write soci::use( 3 ) or soci::use (string_holder("once used string")) So, for rvalue case we have to use a specific type of use_container. And the overload of the exchange() and do_use() functions. As a result we have a "use_type" object of new derived class "by_value_use_type" (or "by_value_conversion_use_type"), which contains the copy of the rvalue