mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
1) Not export ODBC 3.0 functions.
2) (Maybe) fix a bug reported by Mika Muntila.
This commit is contained in:
@@ -230,6 +230,9 @@ dialog:
|
||||
|
||||
if (len >= cbConnStrOutMax)
|
||||
{
|
||||
int clen;
|
||||
for (clen = strlen(szConnStrOut) - 1; clen >= 0 && szConnStrOut[clen] != ';'; clen--)
|
||||
szConnStrOut[clen] = '\0';
|
||||
result = SQL_SUCCESS_WITH_INFO;
|
||||
conn->errornumber = CONN_TRUNCATED;
|
||||
conn->errormsg = "The buffer was too small for the ConnStrOut.";
|
||||
|
||||
Reference in New Issue
Block a user