Issue Details (XML | Word | Printable)

Key: CORE-1864
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
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

SELECT operator does not work in ISQL

Created: 24/Apr/08 12:02 PM   Updated: 18/Nov/08 12:45 PM
Component/s: None
Affects Version/s: 2.1 RC1, 2.5 Initial, 2.1 RC2, 2.1.0
Fix Version/s: 2.5 Alpha 1, 2.1.1

Time Tracking:
Not Specified

Environment: big-endian machine, remote connection (embedded works)

Planning Status: Unspecified


 Description  « Hide
When doing
SELECT * FROM RDB$DATABASE;
nothing is printed. If you try to repeat it, exception is thrown:
Statement failed SQLCODE = -519.

Was reported originally by Paul Beach.

 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 - 24/Apr/08 12:14 PM
An issue was due to integers, placed in character buffer by yValve in wrong format.

In very many places of engine we do place integers in buffer in VAX format. But we never had common function to do it. Therefore - use of wrong for this purpose put_short and put_long. (Reverse function gds__vax_integer() existrs since beginning of FB time, and therefore no problems with backward conversion.)

I've added put_vax_short and put_vax_long and used them in yValve. Now it will be good idea to use them in all other places of our code base.