1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-01 21:31:19 +03:00

Fix it's and its to be correct.

This commit is contained in:
Bruce Momjian
2000-01-05 18:23:54 +00:00
parent c0cab6f4fa
commit b78769fda2
24 changed files with 54 additions and 54 deletions

View File

@@ -347,7 +347,7 @@ char tempBuf[TEXT_FIELD_SIZE+5];
} else {
/* for SQL_C_CHAR, its probably ok to leave currency symbols in. But
/* for SQL_C_CHAR, it's probably ok to leave currency symbols in. But
to convert to numeric types, it is necessary to get rid of those.
*/
if (field_type == PG_TYPE_MONEY)
@@ -626,7 +626,7 @@ int lobj_fd, retval;
memcpy(&new_statement[npos], esc, strlen(esc));
npos += strlen(esc);
}
else { /* its not a valid literal so just copy */
else { /* it's not a valid literal so just copy */
*end = '}';
new_statement[npos++] = old_statement[opos];
continue;
@@ -680,7 +680,7 @@ int lobj_fd, retval;
continue;
}
/* If no buffer, and its not null, then what the hell is it?
/* If no buffer, and it's not null, then what the hell is it?
Just leave it alone then.
*/
if ( ! buffer) {

View File

@@ -157,7 +157,7 @@ dialog:
}
/* Password is not a required parameter unless authentication asks for it.
For now, I think its better to just let the application ask over and over until
For now, I think it's better to just let the application ask over and over until
a password is entered (the user can always hit Cancel to get out)
*/
if( ci->username[0] == '\0' ||

View File

@@ -1373,8 +1373,8 @@ ConnInfo *ci;
/* Only show oid if option AND there are other columns AND
its not being called by SQLStatistics .
Always show OID if its a system table
it's not being called by SQLStatistics .
Always show OID if it's a system table
*/
if (result != SQL_ERROR && ! stmt->internal) {

View File

@@ -447,7 +447,7 @@ RETCODE result;
continue;
}
/* otherwise, its probably an expression */
/* otherwise, it's probably an expression */
in_expr = TRUE;
fi[stmt->nfld-1]->expr = TRUE;
fi[stmt->nfld-1]->name[0] = '\0';
@@ -523,7 +523,7 @@ RETCODE result;
continue;
}
/* its a dot, resolve to table or alias */
/* it's a dot, resolve to table or alias */
else if (fi[i]->dot[0]) {
for (k = 0; k < stmt->ntab; k++) {
if ( ! stricmp(ti[k]->name, fi[i]->dot)) {

View File

@@ -224,7 +224,7 @@ Int2 pgtype_to_sqltype(StatementClass *stmt, Int4 type)
default:
/* first, check to see if 'type' is in list. If not, look up with query.
Add oid, name to list. If its already in list, just return.
Add oid, name to list. If it's already in list, just return.
*/
if (type == stmt->hdbc->lobj_type) /* hack until permanent type is available */
return SQL_LONGVARBINARY;

View File

@@ -692,7 +692,7 @@ mylog("SQLGetData: enter, stmt=%u\n", stmt);
mylog(" value = '%s'\n", value);
}
}
else { /* its a SOCKET result (backend data) */
else { /* it's a SOCKET result (backend data) */
if (stmt->currTuple == -1 || ! res || ! res->tupleField) {
stmt->errormsg = "Not positioned on a valid row for GetData.";
stmt->errornumber = STMT_INVALID_CURSOR_STATE_ERROR;

View File

@@ -783,7 +783,7 @@ QueryInfo qi;
self->status = STMT_EXECUTING;
// If its a SELECT statement, use a cursor.
// If it's a SELECT statement, use a cursor.
// Note that the declare cursor has already been prepended to the statement
// in copy_statement...
if (self->statement_type == STMT_TYPE_SELECT) {
@@ -822,7 +822,7 @@ QueryInfo qi;
}
else { // not a SELECT statement so don't use a cursor
mylog(" its NOT a select statement: stmt=%u\n", self);
mylog(" it's NOT a select statement: stmt=%u\n", self);
self->result = CC_send_query(conn, self->stmt_with_params, NULL);
// If we are in autocommit, we must send the commit.