1
0
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:
Hiroshi Inoue
2001-09-13 00:27:11 +00:00
parent f93449eb34
commit 9f990a73c1
6 changed files with 58 additions and 29 deletions

View File

@@ -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.";