List:Internals« Previous MessageNext Message »
From:Ingo Strüwing Date:February 19 2007 2:21pm
Subject:Re: BLOB implementation for heap engine
View as plain text  
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

Thread
BLOB implementation for heap engineciccettino@tiscali.it19 Feb
  • Re: BLOB implementation for heap engineGiuseppe Maxia19 Feb
  • Re: BLOB implementation for heap engineIngo Strüwing19 Feb
Re: BLOB implementation for heap engineciccettino@tiscali.it1 Mar
  • Re: BLOB implementation for heap engineMark Callaghan1 Mar
    • Re: BLOB implementation for heap engineIngo Strüwing1 Mar
      • Re: BLOB implementation for heap engineIngo Strüwing1 Mar
  • Re: BLOB implementation for heap engineSergei Golubchik1 Mar
Re: BLOB implementation for heap engineciccettino@tiscali.it7 Mar
  • Re: BLOB implementation for heap engineIngo Strüwing8 Mar