← Back to team overview

drizzle-discuss team mailing list archive

Re: Thoughts....


On Mon, Nov 09, 2009 at 09:05:16AM -0500, Jay Pipes wrote:
> Stewart Smith wrote:
> >On Sat, Nov 07, 2009 at 05:00:47PM -0800, Brian Aker wrote:
> >>Should we have a unique key on tables, and if so... does it belong
> >>in the proto?
> >
> >Database, Table Name, is_temporary_table and session_id
> I don't see why is_temporary_table and session_id would be in the
> proto at all.  Reason: the proto isn't written to disk for temporary
> tables, and therefore there isn't a need to distinguish temporary
> tables from each other in a serialized on-disk format.

will never hit disk, correct. But would be good to have for
completeness. Also, engines doing temporary tables can get the info in
createTable via the proto this way.

Stewart Smith