MySQL Forums
Forum List  »  Optimizer & Parser

Re: Help with handlersocket
Posted by: Rick James
Date: May 18, 2011 10:32PM

"Handlers" are low level. They do not provide many of the features of SQL.

"where SNAME='Mike' and TOTAL > 50" should be feasible, but it may not be exposed.

MAX() would be implemented by reaching for MAXVALUE and reading 1 row "descending".

COUNT() would be done by writing a loop to "read next" until you run out of rows, counting as you go.

I have not heard of anyone using Handlers -- it seems like a waste of programmer productivity.

Options: ReplyQuote


Subject
Views
Written By
Posted
3464
May 16, 2011 05:41AM
Re: Help with handlersocket
1503
May 18, 2011 10:32PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.