
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
SPARC Solaris (looks like can affect any bigendian)
|
|
| Planning Status: |
Unspecified
|
|
When working with DB_KEY in stored procedure, alignment error takes place. Tjhis happens due to badly aligned data in descriptor, storing DB_KEY as text, and direct reintepret_cast<>, applied to it in evl.cpp:
RecordNumber::Packed* numbers = reinterpret_cast<RecordNumber::Packed*>(desc->dsc_address);
|
|
Description
|
When working with DB_KEY in stored procedure, alignment error takes place. Tjhis happens due to badly aligned data in descriptor, storing DB_KEY as text, and direct reintepret_cast<>, applied to it in evl.cpp:
RecordNumber::Packed* numbers = reinterpret_cast<RecordNumber::Packed*>(desc->dsc_address); |
Show » |
|
In HEAD new descriptor type is added in engine, dtype_dbkey. It's never goes out of engine in 2.5 (even dsql knows nothing about it). In the future new type should be also added to XSQLDA and related places, helping void hacks in isql and other clients when displaying DB_KEY.