Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: c
    • Labels:
      None

      Description

      In the current code there is no ability to check if schema is alive after avro_schema_decref() call. I.e.:

      schema = avro_schema_from_json();
      do_something (schema); // call to avro_schema_decref. maybe.
      if (!schema_is_alive) // can`t check it
      cleanup();

      1. AVRO-1129.patch
        1.0 kB
        Pugachev Maxim

        Activity

        Hide
        Pugachev Maxim added a comment -

        Patch for this issue.

        Show
        Pugachev Maxim added a comment - Patch for this issue.
        Hide
        Pugachev Maxim added a comment -

        Any chances for reviewing it?

        Show
        Pugachev Maxim added a comment - Any chances for reviewing it?
        Hide
        Douglas Creager added a comment -

        Even though this changes the signature of avro_schema_decref, it's a backwards-compatible change in both the API and ABI. Merged into SVN.

        Show
        Douglas Creager added a comment - Even though this changes the signature of avro_schema_decref, it's a backwards-compatible change in both the API and ABI. Merged into SVN.

          People

          • Assignee:
            Unassigned
            Reporter:
            Pugachev Maxim
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development