MySQL 8.4.0
Source Code Documentation
anonymous_namespace{}::WindowsErrorGuard Class Reference

RAII guard which ensures that: More...

Public Member Functions

 WindowsErrorGuard ()
 ~WindowsErrorGuard ()

Detailed Description

RAII guard which ensures that:

  • GetLastError() is mapped to its errno equivalent if set (unless errno is also set).
  • errno is copied to my_errno if set.

Constructor & Destructor Documentation

◆ WindowsErrorGuard()

anonymous_namespace{}::WindowsErrorGuard::WindowsErrorGuard ( )

◆ ~WindowsErrorGuard()

anonymous_namespace{}::WindowsErrorGuard::~WindowsErrorGuard ( )

The documentation for this class was generated from the following file: