Issue Details (XML | Word | Printable)

Key: ODBC-55
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Unassigned
Reporter: Viesturs Ducens
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ODBC Driver

Garbage by serial update

Created: 15/Jan/09 08:24 AM   Updated: 04/Jan/14 01:24 PM
Component/s: None
Affects Version/s: 2.0 RC1
Fix Version/s: 2.0.3

File Attachments: 1. Zip Archive test.zip (7 kB)
2. Zip Archive trace.zip (10 kB)

Environment:
Server - FB 2.0.3, FB 2.1.1 (Windows & Linux)
Client - Windows XP, Windows 2000


 Description  « Hide
When multiple updates is running, (one time Prepare, multiple Executes), data base fields is filled with garbage from previous records.
Sample:
If SqlPrepare ('Update Table Set Field = xxxx')
   While Ok
        BindVariables
        SqlExecute ()

The first record seems to be Ok. If the value for next record is shorter, at the end of Field there are appended aditional characters from previous record. It seems, that it hasn't released some buffers between SqlExecutes.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Potapchenko made changes - 15/Jan/09 06:58 PM
Field Original Value New Value
Assignee Alexander Potapchenko [ lightfore ]
Viesturs Ducens made changes - 19/Jan/09 12:13 PM
Attachment test.zip [ 11300 ]
Alexander Potapchenko made changes - 19/Jan/09 01:55 PM
Comment [ There are files
test2.sql - database metadata
TEST2.gbk - database backup (FB 2.0.3)
test.txt - source code of test case
]
Viesturs Ducens made changes - 20/Jan/09 08:46 AM
Attachment trace.zip [ 11301 ]
Alexander Potapchenko made changes - 12/Apr/09 03:06 AM
Assignee Alexander Potapchenko [ lightfore ]
Alexander Potapchenko made changes - 04/Jan/14 01:24 PM
Status Open [ 1 ] Closed [ 6 ]
Fix Version/s 2.0.3 [ 10581 ]
Resolution Cannot Reproduce [ 5 ]