[Serdev] Nested MySQL queries
Andreas Granig
andreas.granig at inode.info
Mon Sep 19 18:23:55 UTC 2005
Jan Janak wrote:
>>Another possibility which is more elegant IMHO is storing the result in
>>a void-pointer in db_res_t, where it logically belongs to. Would this be
>>a passable solution?
>
>
> I don't know what is the internal structure of the data in mysqlclient
> library, the strings are zero terminated so most likely each of them
> has its own memory chunk.
No, what I mean is storing the MYSQL_RES pointer into a data pointer of
db_res_t like it is done with the connection as tail-pointer in db_con_t.
Andy
More information about the Serdev
mailing list