mirror of
https://github.com/postgres/postgres.git
synced 2025-11-25 12:03:53 +03:00
1)Allow the access to indexes with up to 16 keys.
2)Fix some memory leaks. 3)Change some bogus error messages.
This commit is contained in:
@@ -405,7 +405,7 @@ int len = 0, value = 0;
|
||||
|
||||
if (icol >= cols) {
|
||||
stmt->errornumber = STMT_INVALID_COLUMN_NUMBER_ERROR;
|
||||
stmt->errormsg = "Invalid column number in DescribeCol.";
|
||||
stmt->errormsg = "Invalid column number in ColAttributes.";
|
||||
SC_log_error(func, "", stmt);
|
||||
return SQL_ERROR;
|
||||
}
|
||||
@@ -442,7 +442,7 @@ int len = 0, value = 0;
|
||||
|
||||
if (icol >= cols) {
|
||||
stmt->errornumber = STMT_INVALID_COLUMN_NUMBER_ERROR;
|
||||
stmt->errormsg = "Invalid column number in DescribeCol.";
|
||||
stmt->errormsg = "Invalid column number in ColAttributes.";
|
||||
SC_log_error(func, "", stmt);
|
||||
return SQL_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user