[Sqlrelay-discussion] A few minor code change requests
Brought to you by:
mused
|
From: Jacob H. <jh...@ny...> - 2006-09-14 18:05:37
|
Hello,
I know you're working on prerelease2, but I'm wondering if I could
request a few minor changes. I'm working on writing a custom
"database" connection for sqlrelay to interface with a daemon we have
that can take queries and return results. When compiling my change, I
found a few issues with sqlrelay I'd like to see changed if possible.
Thanks!
* One problem I had was that the code I was linking to had an enum
named DEFAULT_PORT which created a namespace collision with
SqlRelay's DEFAULT_PORT #define. I was wondering if we could rename
SqlRelay's internal defaults to start with SQLR_ to avoid such
namespace collisions in the future.
* One other thing. In my case, it's really useful for me to get the
constr as a single const char * rather than parsed into chunks. Could
we add a function
const char *sqlrconnection_svr::connectString()
that returns the whole string? Thank you.
Anyhow, those are my humble requests. Let me know if there is an
issue, but I think they should be self-explanatory. Thank you.
Jake
|