summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc
diff options
context:
space:
mode:
authorBruce Momjian2000-01-05 18:23:54 +0000
committerBruce Momjian2000-01-05 18:23:54 +0000
commitb78769fda2dc51052d2d0349f4b284c7431dcd01 (patch)
treefc0e9cef831aa1906d9754390cbc2b6c85c93cc3 /src/interfaces/odbc
parentc0cab6f4fa7642425728c710bb3215f94c239ddb (diff)
Fix it's and its to be correct.
Diffstat (limited to 'src/interfaces/odbc')
-rw-r--r--src/interfaces/odbc/convert.c6
-rw-r--r--src/interfaces/odbc/drvconn.c2
-rw-r--r--src/interfaces/odbc/info.c4
-rw-r--r--src/interfaces/odbc/parse.c4
-rw-r--r--src/interfaces/odbc/pgtypes.c2
-rw-r--r--src/interfaces/odbc/results.c2
-rw-r--r--src/interfaces/odbc/statement.c4
7 files changed, 12 insertions, 12 deletions
diff --git a/src/interfaces/odbc/convert.c b/src/interfaces/odbc/convert.c
index 4355fdf6f5..09d27d3e04 100644
--- a/src/interfaces/odbc/convert.c
+++ b/src/interfaces/odbc/convert.c
@@ -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) {
diff --git a/src/interfaces/odbc/drvconn.c b/src/interfaces/odbc/drvconn.c
index c9a98cc037..261874772e 100644
--- a/src/interfaces/odbc/drvconn.c
+++ b/src/interfaces/odbc/drvconn.c
@@ -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' ||
diff --git a/src/interfaces/odbc/info.c b/src/interfaces/odbc/info.c
index 84092b98af..8f630710da 100644
--- a/src/interfaces/odbc/info.c
+++ b/src/interfaces/odbc/info.c
@@ -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) {
diff --git a/src/interfaces/odbc/parse.c b/src/interfaces/odbc/parse.c
index 78abaf30f0..3920116c5c 100644
--- a/src/interfaces/odbc/parse.c
+++ b/src/interfaces/odbc/parse.c
@@ -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)) {
diff --git a/src/interfaces/odbc/pgtypes.c b/src/interfaces/odbc/pgtypes.c
index b3a9d94b1a..5c02c4c21a 100644
--- a/src/interfaces/odbc/pgtypes.c
+++ b/src/interfaces/odbc/pgtypes.c
@@ -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;
diff --git a/src/interfaces/odbc/results.c b/src/interfaces/odbc/results.c
index ece49dd8b0..47291127d1 100644
--- a/src/interfaces/odbc/results.c
+++ b/src/interfaces/odbc/results.c
@@ -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;
diff --git a/src/interfaces/odbc/statement.c b/src/interfaces/odbc/statement.c
index a5fc1488a6..da71600129 100644
--- a/src/interfaces/odbc/statement.c
+++ b/src/interfaces/odbc/statement.c
@@ -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.