Re: Crashing OCI demos.

From: Arnar Mar Hrafnkelsson <amh_at_rhi.hi.is>
Date: 1996/07/02
Message-ID: <4ralui$r2g_at_eldborg.rhi.hi.is>#1/1


I have now discovered the reason for the crashes...

The reason lies in that when you compile under solaris 2.5 (atleast) there is no guarantee that the HDA defined as

ub1 HDA[256]; will be word aligned. Oracle on the other hand assumes just that.. so the bug fix is to either use a union to force word aligning. or define HDA as:

ub4 HDA[256/4];

Arnar M. Hrafnkelsson (amh_at_rhi.hi.is) Received on Tue Jul 02 1996 - 00:00:00 CEST

Original text of this message