Issue Details (XML | Word | Printable)

Key: CORE-1909
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Garbage in firebird.log on linux/amd64

Created: 21/May/08 04:20 AM   Updated: 26/Jan/09 07:09 AM
Component/s: None
Affects Version/s: 2.5 Initial, 2.1.0, 2.0.4, 2.1.1
Fix Version/s: 2.5 Alpha 1, 2.0.5, 2.1.2

Time Tracking:
Not Specified

Environment: linux/amd64

Target: 2.0.5
Planning Status: Unspecified


 Description  « Hide
Due to incorrect printf's format in validation.cpp garbage is printed.

I've already fixed it in HEAD, but could not log it in the tracker due to unavailability at that time.

Fix is trivial:
--- validation.cpp 6 May 2008 08:46:32 -0000 1.37
+++ validation.cpp 13 May 2008 08:07:31 -0000 1.38
@@ -631,7 +631,7 @@
        "Chain for record %ld is broken",
        "Data page %ld (sequence %ld) is confused",
        "Data page %ld (sequence %ld), line %ld is bad", // 10
- "Index %d is corrupt on page %ld level %ld. File: %s, line: %ld\n\t",
+ "Index %d is corrupt on page %ld level %d. File: %s, line: %d\n\t",
        "Pointer page (sequence %ld) lost",
        "Pointer page (sequence %ld) inconsistent",
        "Record %ld is marked as damaged",


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 21/May/08 04:21 AM
Also 2.1.2 is target, but it's still missing in the tracker.