BUG: Delphi 1, SQL Links 2.5, Oracle7
Hello All !
I have a problem. I think that it is a SERIOS BUG !!! I use software:
- Delphi 1 (ALT-VERSION: 1.47.135.0);
- IDAPI 2.5 (IDAPI01.DLL product version: 3.219);
- SQL Links 2.5 (SQLD_ORA.DLL product version: 3.197);
- Oracle7 Workgroup Server for NetWare (7.1.4)
Description follows.
1. Create a Oracle table:
create table test (
a123456789012345 varchar2(5),
b123456789012345 varchar2(5)
);
2. Create a index on table TEST:
create index i_test on test (
a123456789012345,
b123456789012345
);
3. Build a simple form with TTable, TDataSource, connected to TTable, and
TDBGrid, connected to TDataSource.
4. Setup TTable:
DatabaseName := 'ORADB';
TableName := 'USR.TEST';
IndexFieldNames := 'a123456789012345;b123456789012345';
UpdateMode := upWhereKeyOnly;
5. Run application and try update/delete any record.
Are you get a message like "GPF in SQLD_ORA.DLL" ?! It will arise always
when a SUM OF FIELDS NAME LENGTHES IN PROPERTY TTable.IndexFieldNames
GREATER OR EQUAL 32 CHARCTERS.
--
------------------------------------------------------------------------
Arefiev Dmitry, Nica-Com Ltd., di...@ncom.nnov.su
Senior programmer Russia, N.Novgorod
------------------------------------------------------------------------