[PATCH] Fix trivial spelling errors
authorOtto Kekäläinen <otto@kekalainen.net>
Sat, 11 Mar 2023 19:22:24 +0000 (11:22 -0800)
committerOtto Kekäläinen <otto@debian.org>
Mon, 19 Aug 2024 04:59:29 +0000 (21:59 -0700)
- handshak -> handshake
- occured -> occurred
- releated -> related
- reponse -> response
- seperated -> separated
- sucess -> success
- use use -> use

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.

Gbp-Pq: Name fix-spelling-libmariadb.patch

libmariadb/man/mariadb_get_infov.3
libmariadb/man/mariadb_reconnect.3
libmariadb/man/mysql_ping.3
libmariadb/man/mysql_real_connect.3
libmariadb/man/mysql_send_query.3
libmariadb/man/mysql_set_character_set.3
libmariadb/man/mysql_stmt_error.3
libmariadb/man/mysql_stmt_reset.3
libmariadb/man/mysql_store_result.3
libmariadb/unittest/libmariadb/result.c

index 309cb9363aaeb6c2ed7da51d989fe1de718edae6..c74473bea7d0086b2bffffc47056d74f57b7d6aa 100644 (file)
@@ -5,7 +5,7 @@
 .hy
 .SS Name
 .PP
-mariadb_get_infov \- retrieves generic or connection releated
+mariadb_get_infov \- retrieves generic or connection related
 information
 .SS Synopsis
 .IP
@@ -170,7 +170,7 @@ Retrieves character set information for given connection.
 .PD 0
 .P
 .PD
-Returns the handshak capability flags] of the client.
+Returns the handshake capability flags] of the client.
 .IP \[bu] 2
 \f[C]MARIADB_CONNECTION_ERROR\f[R]
 .PD 0
index 3a89b545ae234a34d6c1f574c2222a3d76274394..8a2cfbb920040dd0174fea255e209f1b11a49ef3 100644 (file)
@@ -22,7 +22,7 @@ It uses the same credentials which were specified in
 \f[B]mysql_real_connect(3)\f[R].
 .SS Return value
 .PP
-The function will return 0 on sucess, a non zero value on error
+The function will return 0 on success, a non zero value on error
 .PP
 \f[B]Note\f[R]: The function will return an error, if the option
 \f[C]MYSQL_OPT_RECONNECT\f[R] wasn\[cq]t set before.
index 4015092060116dd8994027a1e8ef596a9df5c609..5e2d60800d669d2169bf0d28f0bc3e122b910089 100644 (file)
@@ -36,7 +36,7 @@ Also resources bundled to the connection (prepared statements, locks,
 temporary tables, \&...) will be released.
 .SS Return value
 .PP
-Returns zero on success, nonzero if an error occured.
+Returns zero on success, nonzero if an error occurred.
 .SS See also
 .IP \[bu] 2
 \f[B]mysql_optionsv(3)\f[R]
index 3a7a7f60e7d5bcdfb840494f116dc30e0806e8c4..aec9b9bfda2e9a3f37fd5d57e0fca7c29b77efb2 100644 (file)
@@ -141,11 +141,11 @@ since version 3.3.0).
 The following syntax is required:
 .RS 2
 .IP \[bu] 2
-hostname and port must be seperated by a colon (:)
+hostname and port must be separated by a colon (:)
 .IP \[bu] 2
 IPv6 addresses must be enclosed within square brackets
 .IP \[bu] 2
-hostname:port pairs must be be seperated by a comma (,)
+hostname:port pairs must be be separated by a comma (,)
 .IP \[bu] 2
 if only one host:port was specified, the host string needs to end with a
 comma.
index dea08137099ee10e1e54a97889455ba64e123342..86266de68fa590c369bdcc7fd5f7681d61f50a9c 100644 (file)
@@ -5,7 +5,7 @@
 .SS Name
 .PP
 mysql_send_query \- sends a SQL statement without waiting for server
-reponse
+response
 .SS Synopsis
 .IP
 .nf
index d2b8e2c2064806acb24b3d6e306561e2919fe6d9..60d7a8e223d5b19a8f4ca24f3efd76d6b312065c 100644 (file)
@@ -34,7 +34,7 @@ of \f[C]SET NAMES ...\f[R] since \f[B]mysql_real_escape_string(3)\f[R]
 might fail or deliver unexpected results.
 .SS Return value
 .PP
-Zero on success, non zero if an error occured
+Zero on success, non zero if an error occurred
 .SS Supported character sets
 .PP
 The client library supports the following character sets:
index c58d5804be47287fc0d415a865e594fcb912b443..00e35618e497da847da075978963c11542737938 100644 (file)
@@ -27,7 +27,7 @@ The string will be empty if no error occurred.
 .SS Return value
 .IP \[bu] 2
 A string describing the last error or an empty string if no error
-occured.
+occurred.
 .SS Notes
 .IP \[bu] 2
 Client error messages are listed in the \f[C]errmsg.h\f[R] header file,
index 84c7228e61dba480e14c75d0efda37287bf99041..882eef6c7bb6c7e70dcf09c7d935c857ebffe300 100644 (file)
@@ -24,7 +24,7 @@ Resets a prepared statement on client and server to state after prepare.
 Returns zero on success, nonzero if an error occurred.
 .SS Return value
 .PP
-Returns zero on succes, 1 if an error occured.
+Returns zero on succes, 1 if an error occurred.
 .SS Notes
 .IP \[bu] 2
 \f[C]mysql_stmt_reset()\f[R] resets the statement on the server,
index 5669063abceeee0a7d225588035ef0360b6610fe..5c2c658af683990a2febd0bd80586db1da744799 100644 (file)
@@ -31,7 +31,7 @@ allocated by \f[B]mysql_init(3)\f[R] and connected by
 \f[B]mysql_real_connect(3)\f[R].
 .SS Return value
 .PP
-Returns a buffered result set or NULL in case an error occured or if the
+Returns a buffered result set or NULL in case an error occurred or if the
 query didn\[cq]t return data (e.g.\ when executing an INSERT, UPDATE,
 DELETE or REPLACE statement).
 ## See also * \f[B]mysql_free_result(3)\f[R] *
index c4a56438379b0d9eadaa0dd5b7ba49a61f7e234f..b319688ab27d9cd9e3eb1fea0c59009df09050f0 100644 (file)
@@ -65,7 +65,7 @@ static int client_use_result(MYSQL *mysql)
   result= mysql_use_result(mysql);
   FAIL_IF(!result, "Invalid result set");
 
-  /* since we use use result, we shouldn't be able execute other api calls */
+  /* since we use result, we shouldn't be able execute other api calls */
   rc= mysql_ping(mysql);
   FAIL_IF(!rc, "Error expected");