← Back to team overview

drizzle-discuss team mailing list archive

Re: Improvements to Storage Engine API

 

On Tue, Jan 05, 2010 at 10:52:28AM -0500, Jay Pipes wrote:
> >Using GPB everywhere for DDL isn't an issue - DDL is never that
> >performance critical. But for actual DML... it gets incredibly so. The
> >foo() method on a GPB class is infinitile more complex than a getFoo()
> >{ return foo; } method.
> 
> Really? Infinitely more complex?  Here is, as a boring and normal
> example, the TransactionContext::transaction_id() method:
> 
> inline ::google::protobuf::uint64
> TransactionContext::transaction_id() const {
>   return transaction_id_;
> }

Dammit. I hate being proven slightly less than 100% correct... :)

-- 
Stewart Smith



References