Details

    • Task
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 10.7.1
    • Plugins
    • None

    Description

      It'd be useful for some plugins to read/store data from/to server tables.
      So we can provide the service (as it is defined in the Plugin API) with that functionality.
      The functions of that service look exactly as their counterparts from the client library, so users won't be needing extra documentation.
      The decided set of functions is:
      mysql_init
      mysql_real_connect
      mysql_options
      mysql_close
      mysql_real_query
      mysql_affected_rows
      mysql_errno
      mysql_error
      mysql_store_result
      mysql_free_result
      mysql_num_rows
      mysql_num_fields
      mysql_fetch_row
      mysql_fetch_lengths

      So that the plugin can do calls like
      mysql_real_connect();
      mysql_real_query();..
      res= mysql_store_result();
      ...
      and it's supposed to work as it does with the client library. The only addition is the
      MYSQL_CONNECT_LOCAL option. Connection of that sort attaches to the server itself.

      These local queries handled using Server_runnable class model.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Alexey Botchkov made transition -
            Open In Progress
            4d 12h 4m 1
            Alexey Botchkov made transition -
            In Progress Closed
            9m 42s 1
            Alexey Botchkov made transition -
            Closed Stalled
            489d 22h 2m 1
            Sergei Golubchik made transition -
            In Progress Stalled
            176d 5h 59m 1
            Alexey Botchkov made transition -
            Stalled In Progress
            150d 14h 46m 3
            Alexey Botchkov made transition -
            In Progress In Review
            33d 10h 26m 2
            Alexey Botchkov made transition -
            Stalled In Review
            4h 18m 1
            Sergei Golubchik made transition -
            In Review Stalled
            18d 20h 2m 3
            Sergei Golubchik made transition -
            Stalled Closed
            44d 16h 4m 1

            People

              holyfoot Alexey Botchkov
              holyfoot Alexey Botchkov
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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