Hi Manu,
Am Montag, den 19.02.2007, 12:13 +0100 schrieb ciccettino@stripped:
> H...
> I'm working with 5.1.15-beta source code. It seems to me that the obvious way to
> start is to add hp_blobs.c (hp_blobs.h) to the "mysql-
> 5.1.15-beta/storage/heap", but it could not be so. Which other files and parts of the
> code would be interested in this modification and
> should be analyzed/modified?
A complete answer would require some investigation. I can give some
hints though.
The access point to the memory engine is the handler code in ha_heap.h
and ha_heap.cc. Here are all methods defined that MySQL calls.
For INSERT/UPDATE/DELETE you will need to look at
hp_write.c/hp_update.c/hp_delete.c. For reading without indexes you will
need to look at hp-scan.c. If you want to support indexes, almost all
hp_r*.c come into the game.
Regards
Ingo
--
Ingo Strüwing, Senior Software Developer
MySQL GmbH, Radlkoferstr. 2, D-81373 München
Geschäftsführer: Hans von Bell, Kaj Arnö - HRB München 162140