You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Julius Stroffek (JIRA)" <ji...@apache.org> on 2007/04/16 11:30:15 UTC

[jira] Updated: (DERBY-2551) Global Xid value garbled in syscs_diag.transaction_table.

     [ https://issues.apache.org/jira/browse/DERBY-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julius Stroffek updated DERBY-2551:
-----------------------------------

    Attachment: d2551.diff

This simple patch dumps the leading zeros in a hex number in case when the corresponding byte of GlobalTRansactionId and BranchQualifier is less then 0x10.

I ran derbyall and suites.All without failures.

Please, review the patch and if you find it to be ok, please apply it to trunk and 10.2 branch also. I will provide an additional patch with a junit test for trunk only.

> Global Xid value garbled in syscs_diag.transaction_table.
> ---------------------------------------------------------
>
>                 Key: DERBY-2551
>                 URL: https://issues.apache.org/jira/browse/DERBY-2551
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions: 10.3.0.0
>            Reporter: Julius Stroffek
>         Assigned To: Julius Stroffek
>         Attachments: d2551.diff
>
>
> The value of global xid is dumped without leading zeros on GlobalTransactionId and BranchQualifier byte arrays. Thus, it is impossible to reconstruct the xid value from the transaction_table.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.