Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4216

Functions mysql_get_timeout_value and mysql_socket_get not exported

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.29
    • Fix Version/s: 5.5.30
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux

      Description

      First, according to [1] functions:

      mysql_get_timeout_value
      mysql_get_timeout_value_ms
      mysql_get_socket

      can be "used to get the socket fd and timeout values when waiting for events to occur"

      But they're not exported into libmysqlclient (not tested, because we use our own list of functions, but they're not listed in [2]).

      I think these functions should be exported if they're expected to be used.

      [1] https://kb.askmonty.org/en/non-blocking-api-reference/
      [2] http://bazaar.launchpad.net/~maria-captains/maria/5.5/view/head:/libmysql/CMakeLists.txt

      Second, a typo in [1]: mysql_get_timeout_value is listed twice, the second should be mysql_get_timeout_value_ms..

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            hhorak Honza Horak added a comment -

            The opposite problem is with functions mysql_close_slow_part_start and mysql_close_slow_part_cont – they are exported in libmysqlclient, but not documented. The solution depends if they're expected to be used by users (then we should document them) or not (then I'd propose removing from exported set). Thanks for consideration.

            Show
            hhorak Honza Horak added a comment - The opposite problem is with functions mysql_close_slow_part_start and mysql_close_slow_part_cont – they are exported in libmysqlclient, but not documented. The solution depends if they're expected to be used by users (then we should document them) or not (then I'd propose removing from exported set). Thanks for consideration.

              People

              • Assignee:
                wlad Vladislav Vaintroub
                Reporter:
                hhorak Honza Horak
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes
                  20m