Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-678

Retrieve warnings via SESSION_TRACK_WARNINGS

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Error handling
    • None

    Description

      This issue is the client part of MDEV-32931

      To support receiving warning via session tracking, the following features have to be implemented:

      1) Store warnings in function ma_save_session_track_info
      2) Beside setting session variable session_track_warnings via SQL command, provide an option which specifies if and how many warnings should be retrieved - this setting will be set when establishing connection between client and server (init_command):

      unsigned int warning_count= 5;
       
      rc= mysql_optionsv(mysql, MARIADB_OPT_WARNING_COUNT, &warning_count);
      

      Warnings will be retrieved via mysql_session_track_get* functions.

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              georg Georg Richter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.