summaryrefslogtreecommitdiff
path: root/ext/mysqlnd
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-01-16 19:04:42 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-01-16 19:14:31 +0100
commitafdaa91170a1f7b0387cf577d957d4d6c015c136 (patch)
tree90957242274bd0b0e8669b1e580817f280c944a2 /ext/mysqlnd
parent1fa6f03265467ec1b8b9f898182792ec936dbd74 (diff)
downloadphp-git-afdaa91170a1f7b0387cf577d957d4d6c015c136.tar.gz
Fix #78880: Final spelling fixes
Diffstat (limited to 'ext/mysqlnd')
-rw-r--r--ext/mysqlnd/mysqlnd_ps_codec.c2
-rw-r--r--ext/mysqlnd/mysqlnd_vio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps_codec.c b/ext/mysqlnd/mysqlnd_ps_codec.c
index 279e7ba01e..c0b3d1d6ff 100644
--- a/ext/mysqlnd/mysqlnd_ps_codec.c
+++ b/ext/mysqlnd/mysqlnd_ps_codec.c
@@ -96,7 +96,7 @@ ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, const u
case 8:lval = (int64_t) sint8korr(*row);break;
/*
7, 6 and 5 are not possible.
- BIT is only unsigned, thus only uint5|6|7 macroses exist
+ BIT is only unsigned, thus only uint5|6|7 macros exist
*/
case 4:lval = (int64_t) sint4korr(*row);break;
case 3:lval = (int64_t) sint3korr(*row);break;
diff --git a/ext/mysqlnd/mysqlnd_vio.c b/ext/mysqlnd/mysqlnd_vio.c
index 2788c8cdde..bc59cbeed8 100644
--- a/ext/mysqlnd/mysqlnd_vio.c
+++ b/ext/mysqlnd/mysqlnd_vio.c
@@ -129,7 +129,7 @@ MYSQLND_METHOD(mysqlnd_vio, open_pipe)(MYSQLND_VIO * const vio, const MYSQLND_CS
streams_options |= IGNORE_URL;
net_stream = php_stream_open_wrapper(scheme.s + sizeof("pipe://") - 1, "r+", streams_options, NULL);
if (!net_stream) {
- SET_CLIENT_ERROR(error_info, CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, "Unknown errror while connecting");
+ SET_CLIENT_ERROR(error_info, CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, "Unknown error while connecting");
DBG_RETURN(NULL);
}
/*