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

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: 05/Mar/18 07:46 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

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

QA Status: Cannot be tested

 Description  « Hide
When doing
nothing is printed. If you try to repeat it, exception is thrown:
Statement failed SQLCODE = -519.

Was reported originally by Paul Beach.

 All   Comments   Change History   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.