Re: Radiohead lyrics in Oracle RDBMS code
From: joel garry <joel-garry_at_home.com>
Date: Wed, 27 Jan 2010 10:09:42 -0800 (PST)
Message-ID: <234d8883-c22a-481d-a87e-055cf24fab5f_at_a5g2000yqi.googlegroups.com>
On Jan 25, 12:16 am, 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: Wed, 27 Jan 2010 10:09:42 -0800 (PST)
Message-ID: <234d8883-c22a-481d-a87e-055cf24fab5f_at_a5g2000yqi.googlegroups.com>
On Jan 25, 12:16 am, 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;
>
> };
On hp-ux, 10.2.0.4, the strings command seems to filter it out, but grepping directly for hell shows it.
lol, can't even get the lyric right! What was that misheard lyrics site?
jg
-- _at_home.com is bogus. Oracle owns java now: http://www.oracle.com/us/corporate/press/044428Received on Wed Jan 27 2010 - 12:09:42 CST