1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Merge pull request #129 from ottok/3.1-fix-spelling

Fix typo in output string: inital -> initial
This commit is contained in:
Georg Richter
2020-03-11 08:25:59 +01:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -1484,7 +1484,7 @@ MYSQL *mthd_my_real_connect(MYSQL *mysql, const char *host, const char *user,
{
my_set_error(mysql, CR_SERVER_LOST, SQLSTATE_UNKNOWN,
ER(CR_SERVER_LOST_EXTENDED),
"handshake: waiting for inital communication packet",
"handshake: waiting for initial communication packet",
errno);
goto error;
}
@@ -1494,7 +1494,7 @@ MYSQL *mthd_my_real_connect(MYSQL *mysql, const char *host, const char *user,
if (mysql->net.last_errno == CR_SERVER_LOST)
my_set_error(mysql, CR_SERVER_LOST, SQLSTATE_UNKNOWN,
ER(CR_SERVER_LOST_EXTENDED),
"handshake: reading inital communication packet",
"handshake: reading initial communication packet",
errno);
goto error;

View File

@@ -314,7 +314,7 @@ static int auth_caching_sha2_client(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
{
#if defined(HAVE_GNUTLS)
mysql->methods->set_error(mysql, CR_AUTH_PLUGIN_ERR, "HY000",
"RSA Encrytion not supported - caching_sha2_password plugin was built with GnuTLS support");
"RSA Encryption not supported - caching_sha2_password plugin was built with GnuTLS support");
return CR_ERROR;
#else
/* read public key file (if specified) */

View File

@@ -2543,7 +2543,7 @@ static int test_pure_coverage(MYSQL *mysql)
FAIL_IF(!rc, "Error expected");
mysql_stmt_close(stmt);
/* Query without params and result should allow to bind 0 arrays */
/* Query without params and result should allow one to bind 0 arrays */
stmt= mysql_stmt_init(mysql);
FAIL_IF(!stmt, mysql_error(mysql));
rc= mysql_stmt_prepare(stmt, SL("insert into test_pure(c2) values(10)"));