9

24-Dec-2009: Radiohead lyrics in Oracle RDBMS code

 3 years ago
source link: https://yurichev.com/blog/32/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Radiohead lyrics in Oracle RDBMS code

24-Dec-2009: Radiohead lyrics in Oracle RDBMS code

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;
};

Update: Lyrics is seems not correct...


→ [list of blog posts]


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK