For each use of std::string::c_str() where we also use the length() member to get the true length (i.e. to avoid being confused by nulls) using data() instead.  This should return a pointer to the internal buffer, or at least as close an approximation as matters.  c_str() can truncate the buffer, since it believes it's being used in a C string context, which isn't really true in the places we use length().
For each use of std::string::c_str() where we also use the length()
member to get the true length (i.e. to avoid being confused by nulls)
using data() instead.  This should return a pointer to the internal
buffer, or at least as close an approximation as matters.  c_str() can
truncate the buffer, since it believes it's being used in a C string
context, which isn't really true in the places we use length().


git-svn-id: 1a57124bbb9aca193a920d0ffd753d488afb922b@1439 5946f024-35f4-0310-b1b3-9a3be3380cfb

veprbl/mysqlpp,veprbl/mysqlpp,veprbl/mysqlpp