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
CONC-533: Support for asynchronous statements (binary protocol)
Added a new option MARIADB_OPT_SKIP_READ_RESPONSE which skips automatic reading of server response after sending a command to the server. Server packets have to be retrieved by calling the corresponding methods, e.g: Send command Read method mysql_real_query/mysql_send_query db_read_query_result mysql_stmt_prepare db_read_prepare_response mysql_stmt_execute, mariadb_stmt_execute_direct db_read_execute_response
This commit is contained in:
@@ -103,8 +103,6 @@ static long ma_tls_version_options(const char *version)
|
||||
if (!version)
|
||||
return 0;
|
||||
|
||||
if (strstr(version, "TLSv1.0"))
|
||||
protocol_options&= ~SSL_OP_NO_TLSv1;
|
||||
if (strstr(version, "TLSv1.1"))
|
||||
protocol_options&= ~SSL_OP_NO_TLSv1_1;
|
||||
if (strstr(version, "TLSv1.2"))
|
||||
@@ -445,7 +443,8 @@ void *ma_tls_init(MYSQL *mysql)
|
||||
SSL_CTX *ctx= NULL;
|
||||
long options= SSL_OP_ALL |
|
||||
SSL_OP_NO_SSLv2 |
|
||||
SSL_OP_NO_SSLv3;
|
||||
SSL_OP_NO_SSLv3 |
|
||||
SSL_OP_NO_TLSv1;
|
||||
pthread_mutex_lock(&LOCK_openssl_config);
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
|
Reference in New Issue
Block a user