Thanks for your tip, Stewart.
I am able to implement this functionality.
Though it seems kind of hack, but it works, it can read '/proc/meminfo'
directly.

On Wed, Jul 7, 2010 at 1:49 PM, Stewart Smith <stew...@flamingspork.com>wrote:

> On Tue, 6 Jul 2010 14:08:08 +0800, ZQ <zim...@gmail.com> wrote:
> > This requirement does seem a little odd.
> > This scenario comes from my file system storage engine when I try to read
> > files as /proc/meminfo,
> > I would like it to be transposed, so that MemTotal, MemFree and other
> would
> > become columns, then user can
> > just use the statement as 'select MemTotal from t1'.
> > Otherwise, there will be only two columns for this file.
> >
> > What do you think, Stewart?
>
> I think it's a useful feature.
>
> you should be able to do this during gettabledefinition, just discover what
> fields there are and populate the proto with them.
>
> --
> Stewart Smith
>
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : drizzle-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to