You've already forked mariadb-connector-c
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:
@@ -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,
|
my_set_error(mysql, CR_SERVER_LOST, SQLSTATE_UNKNOWN,
|
||||||
ER(CR_SERVER_LOST_EXTENDED),
|
ER(CR_SERVER_LOST_EXTENDED),
|
||||||
"handshake: waiting for inital communication packet",
|
"handshake: waiting for initial communication packet",
|
||||||
errno);
|
errno);
|
||||||
goto error;
|
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)
|
if (mysql->net.last_errno == CR_SERVER_LOST)
|
||||||
my_set_error(mysql, CR_SERVER_LOST, SQLSTATE_UNKNOWN,
|
my_set_error(mysql, CR_SERVER_LOST, SQLSTATE_UNKNOWN,
|
||||||
ER(CR_SERVER_LOST_EXTENDED),
|
ER(CR_SERVER_LOST_EXTENDED),
|
||||||
"handshake: reading inital communication packet",
|
"handshake: reading initial communication packet",
|
||||||
errno);
|
errno);
|
||||||
|
|
||||||
goto error;
|
goto error;
|
||||||
|
@@ -314,7 +314,7 @@ static int auth_caching_sha2_client(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql)
|
|||||||
{
|
{
|
||||||
#if defined(HAVE_GNUTLS)
|
#if defined(HAVE_GNUTLS)
|
||||||
mysql->methods->set_error(mysql, CR_AUTH_PLUGIN_ERR, "HY000",
|
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;
|
return CR_ERROR;
|
||||||
#else
|
#else
|
||||||
/* read public key file (if specified) */
|
/* read public key file (if specified) */
|
||||||
|
@@ -2543,7 +2543,7 @@ static int test_pure_coverage(MYSQL *mysql)
|
|||||||
FAIL_IF(!rc, "Error expected");
|
FAIL_IF(!rc, "Error expected");
|
||||||
mysql_stmt_close(stmt);
|
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);
|
stmt= mysql_stmt_init(mysql);
|
||||||
FAIL_IF(!stmt, mysql_error(mysql));
|
FAIL_IF(!stmt, mysql_error(mysql));
|
||||||
rc= mysql_stmt_prepare(stmt, SL("insert into test_pure(c2) values(10)"));
|
rc= mysql_stmt_prepare(stmt, SL("insert into test_pure(c2) values(10)"));
|
||||||
|
Reference in New Issue
Block a user