summaryrefslogtreecommitdiff
path: root/statement.c
diff options
context:
space:
mode:
authorHunaid Sohail2024-05-19 20:22:18 +0000
committerGitHub2024-05-19 20:22:18 +0000
commit7ec2337580447068b20dd3230c50229eae85dc08 (patch)
treead2c6e546f7ba0fc073e4fdf34e89c52fce512e9 /statement.c
parentb744235c9c18d9ddc2dcbdf9608dce36c173a86d (diff)
Fixed typos in all source code and documentations (#11)
Diffstat (limited to 'statement.c')
-rw-r--r--statement.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/statement.c b/statement.c
index f45cd79..0e04453 100644
--- a/statement.c
+++ b/statement.c
@@ -883,7 +883,7 @@ SC_recycle_statement(StatementClass *self)
break;
default:
- SC_set_error(self, STMT_INTERNAL_ERROR, "An internal error occured while recycling statements", func);
+ SC_set_error(self, STMT_INTERNAL_ERROR, "An internal error occurred while recycling statements", func);
return FALSE;
}
@@ -1840,7 +1840,7 @@ MYLOG(DETAIL_LOG_LEVEL, "curt=" FORMAT_LEN "\n", curt);
break;
case COPY_INVALID_STRING_CONVERSION: /* invalid string */
- SC_set_error(self, STMT_STRING_CONVERSION_ERROR, "invalid string conversion occured.", func);
+ SC_set_error(self, STMT_STRING_CONVERSION_ERROR, "invalid string conversion occurred.", func);
result = SQL_ERROR;
break;
@@ -1986,7 +1986,7 @@ SC_execute(StatementClass *self)
if (!SC_SetExecuting(self, TRUE))
{
- SC_set_error(self, STMT_OPERATION_CANCELLED, "Cancel Reuest Accepted", func);
+ SC_set_error(self, STMT_OPERATION_CANCELLED, "Cancel Request Accepted", func);
goto cleanup;
}
conn->status = CONN_EXECUTING;
@@ -2106,7 +2106,7 @@ SC_execute(StatementClass *self)
{
/*
* We shouldn't send COMMIT. Postgres backend does the autocommit
- * if neccessary. (Zoltan, 04/26/2000)
+ * if necessary. (Zoltan, 04/26/2000)
*/
/*
@@ -3197,7 +3197,7 @@ SC_set_errorinfo(StatementClass *self, QResultClass *res, int errkind)
SC_set_error_if_not_set(self, STMT_NO_MEMORY_ERROR, "memory allocation error???", __FUNCTION__);
break;
case PORES_BAD_RESPONSE:
- SC_set_error_if_not_set(self, STMT_COMMUNICATION_ERROR, "communication error occured", __FUNCTION__);
+ SC_set_error_if_not_set(self, STMT_COMMUNICATION_ERROR, "communication error occurred", __FUNCTION__);
break;
case PORES_INTERNAL_ERROR:
SC_set_error_if_not_set(self, STMT_INTERNAL_ERROR, "Internal error fetching next row", __FUNCTION__);