You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Bojan Smojver <bo...@rexursive.com> on 2006/02/14 22:30:23 UTC
[PATCH]: Introduce dbd_mysql_get_name in apr_dbd_mysql.c
I was thinking something like this for MySQL, but I haven't even
compiled this, so approach with caution.
--
Bojan
Re: [PATCH]: Introduce dbd_mysql_get_name in apr_dbd_mysql.c
Posted by Bojan Smojver <bo...@rexursive.com>.
Quoting Bojan Smojver <bo...@rexursive.com>:
> I was thinking something like this for MySQL, but I haven't even
> compiled this, so approach with caution.
Also, quite obviuosly, the } after the dbd_mysql_get_name function
definition should be {.
--
Bojan
Re: [PATCH]: Introduce dbd_mysql_get_name in apr_dbd_mysql.c
Posted by Bojan Smojver <bo...@rexursive.com>.
Quoting Bojan Smojver <bo...@rexursive.com>:
> I was thinking something like this for MySQL, but I haven't even
> compiled this, so approach with caution.
I'm pretty sure this one will have at least one problem. The line:
return res->fields[n]->name;
should probably be:
return res->fields[n].name;
--
Bojan