You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Fix typo in output string: inital -> initial
This commit is contained in:
@@ -1396,7 +1396,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;
|
||||
}
|
||||
@@ -1406,7 +1406,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;
|
||||
|
@@ -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) */
|
||||
|
@@ -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)"));
|
||||
|
Reference in New Issue
Block a user