That would be nice but in lua you create a table in C that you pass to lua. I will add another query to select then go from their.
Thank You for your help.
On Fri, Apr 6, 2012 at 10:07 AM, Jan-Henrik Haukeland hauk@tildeslash.comwrote:
On Apr 6, 2012, at 6:46 PM, Joe Flemmings wrote:
I need it as i'm passing the results to lua and need to know the table
size in advance before sending to lua. Their is no other way to pass results to lua from c without knowing the size first.
I have no experience with lua, but can't you create a native lua interface to ResultSet and only send the ResultSet pointer to lua and have lua iterate over the set? Otherwise I'm out of suggestions other than changing libzdb. The required changes in libzdb is not complicated, but it is more a question of design and time.
-- To unsubscribe: http://www.tildeslash.com/mailman/listinfo/libzdb-general