Bug #109343 missing DBUG_RETURN or DBUG_VOID_RETURN
Submitted: 12 Dec 2022 14:34 Modified: 13 Dec 2022 13:57
Reporter: PBAX AndroX Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:8.0 OS:Windows
Assigned to: CPU Architecture:x86

[12 Dec 2022 14:34] PBAX AndroX
Description:
Hello, i got "missing DBUG_RETURN or DBUG_VOID_RETURN macro in function "?func" and don't know what to do with it.
Search in Google don't help at all.

Tried to call (as Documented in mysql.com) Connection::reconnect() before executeQuery call BUT it didn't call at all and then the error shows...

I used the binaries from mysql.com and them don't have some suggested macro in any headers.

Help me solve it.

How to repeat:
Where the client and the server do the things try to restart the server and when the next query tries to executed the debugger is stopped on "__debug_proccess()" then the app exited.
[12 Dec 2022 15:25] MySQL Verification Team
Hi Mr. AndroX,

Thank you for your bug report.

However, this is a forum for a repeatable test cases and you have not provided a fully repeatable test case. We are also hoping that you are not running a debug binary on your production system.

When you provide a detailed test case, we shall test it ourselves and if we manage to repeat it, we shall change the status of this report.

Can't repeat.
[12 Dec 2022 15:54] PBAX AndroX
How did you test? May be needs add some macros to build? Everything works fine but when mysql Server tries to reconnect it failed... I also can not use DBUG_RETURN or DBUG_VOID_RETURN and don't know how to use it.
[13 Dec 2022 12:13] MySQL Verification Team
Hi,

Start by using our production binary and not the one built by some third party .....
[13 Dec 2022 13:54] PBAX AndroX
Ok, i redid some my code and fixed one of two bugs. I saw that my code use 2 threads because I use Boost::asio that using thread_pool and execQuery NOT ALWAYS throw the exception (no every time) and i see the error as i mention before. I don't know how to solve it by now.
Also i used binaries from MYSQL.com! I didn't build it or use from third party just downloaded already built.
MySQL Connector/C++ Sources Information

version              :  8.0.31
branch               :  release/8.0.31
commit               :  c21a74e8f1995a02cf51aa643e9ccbe67b5c8dd9
short                :  c21a74e8

How can i solve the multithreading error?
[13 Dec 2022 13:57] MySQL Verification Team
We're sorry, but the bug system is not the appropriate forum for asking help on using MySQL products. Your problem is not the result of a bug.

For details on getting support for MySQL products see http://www.mysql.com/support/
You can also check our forums (free) at http://forums.mysql.com/

Thank you for your interest in MySQL.