Re: Radiohead lyrics in Oracle RDBMS code
From: gazzag <gareth_at_jamms.org>
Date: Mon, 25 Jan 2010 03:05:37 -0800 (PST)
Message-ID: <1f6620a2-04f9-4658-bf46-006751f251ed_at_a22g2000yqc.googlegroups.com>
On 25 Jan, 08:16, Dennis Yurichev <dennis.yuric..._at_gmail.com> wrote:
> Hi.
>
> strings oracle.exe | grep radiohead
>
> Starting at least at 10.2.0.1, function kfasSelfTest_update() (located
> in kfas.o) use Radiohead lyrics to test... something related to ASM
> probably.
>
> Schematic pseudocode:
>
> #define STRING "I'm a creep, I'm a winner, what the hell am I doing
> here.I don't belong here - radiohead"
>
> kfasSelfTest_update()
> {
> kfasOpen (...);
> somestruct.somevalue=STRING;
> kfasUpdate (somestruct);
> kfasClose (...);
> newstruct=kfasOpen (...);
> if (strncmp (newstruct.somevalue, STRING, ...)!=0)
> {
> // raise error 99999?
> kserec1(99999, 1, ...);
> kserec2(99999, 1, ..., STRING, 1, ...);
> return 0;
> };
> kfasClose (...);
> return 1;
>
>
>
> };-
Date: Mon, 25 Jan 2010 03:05:37 -0800 (PST)
Message-ID: <1f6620a2-04f9-4658-bf46-006751f251ed_at_a22g2000yqc.googlegroups.com>
On 25 Jan, 08:16, Dennis Yurichev <dennis.yuric..._at_gmail.com> wrote:
> Hi.
>
> strings oracle.exe | grep radiohead
>
> Starting at least at 10.2.0.1, function kfasSelfTest_update() (located
> in kfas.o) use Radiohead lyrics to test... something related to ASM
> probably.
>
> Schematic pseudocode:
>
> #define STRING "I'm a creep, I'm a winner, what the hell am I doing
> here.I don't belong here - radiohead"
>
> kfasSelfTest_update()
> {
> kfasOpen (...);
> somestruct.somevalue=STRING;
> kfasUpdate (somestruct);
> kfasClose (...);
> newstruct=kfasOpen (...);
> if (strncmp (newstruct.somevalue, STRING, ...)!=0)
> {
> // raise error 99999?
> kserec1(99999, 1, ...);
> kserec2(99999, 1, ..., STRING, 1, ...);
> return 0;
> };
> kfasClose (...);
> return 1;
>
>
>
> };-
Sadly, if this is true, the lyric is wrong. The actual words are:
"I'm a creep, I'm a _weirdo_. What the hell am I doing here. I don't belong here."
Maybe I'll log a SR.... :P
HTH -g Received on Mon Jan 25 2010 - 05:05:37 CST