Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 22662 invoked from network); 22 Jan 2010 22:38:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jan 2010 22:38:43 -0000 Received: (qmail 56304 invoked by uid 500); 22 Jan 2010 22:38:42 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 56189 invoked by uid 500); 22 Jan 2010 22:38:42 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 56167 invoked by uid 99); 22 Jan 2010 22:38:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 22:38:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 22:38:41 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 920F429A001C for ; Fri, 22 Jan 2010 14:38:21 -0800 (PST) Message-ID: <1223227298.16601264199901597.JavaMail.jira@brutus.apache.org> Date: Fri, 22 Jan 2010 22:38:21 +0000 (UTC) From: "Matt Massie (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Updated: (AVRO-370) Add support for encoding/decoding fixed data In-Reply-To: <2079423333.16501264199541467.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Massie updated AVRO-370: ----------------------------- Status: Patch Available (was: Open) > Add support for encoding/decoding fixed data > -------------------------------------------- > > Key: AVRO-370 > URL: https://issues.apache.org/jira/browse/AVRO-370 > Project: Avro > Issue Type: Improvement > Components: c > Reporter: Matt Massie > Assignee: Matt Massie > Fix For: 1.3.0 > > Attachments: AVRO-370.patch > > > This patch add fixed data support to the C implementation > Just as with {{string}} and {{bytes}} processing, I have added two new methods: {{avro_wrapfixed}}, {{avro_givefixed}} to allow developers that freedom to decide how the bytes of memory are managed. {{avro_wrapfixed}} will not free the bytes when the fixed datum is dereferenced. {{avro_givefixed}} will free the bytes memory when dereferenced. {{avro_fixed}} will make a copy of the bytes. > I also plugged a small potential memory leak issue that could occur because of IO errors. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.