1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-05 15:55:58 +03:00
Commit Graph

138 Commits

Author SHA1 Message Date
Georg Richter
f886562fb2 Initial cio implementation 2015-08-06 13:06:54 +02:00
Georg Richter
318257b011 - Fix for CONC-136: mysql_select_db_start/cont aren't declared in mysql.h
- ma_dyncol.h no longer requires longlong declaration from my_global.h
2015-07-14 06:07:36 +02:00
Georg Richter
b1e0231b15 Fix for CONC-135: Return value of mysql_get_socket() indicating "no
socket" not defined
mysql_get_socket now returns in case of error: MARIADB_INVALID_SOCKET
instead of INVALID_SOCKET (which isn't defined on several OS).
MARIADB_INVALID_SOCKET is defined as -1.
2015-07-01 15:31:32 +02:00
Georg Richter
28dadb0179 - OpenSSL security:
report an error if client requires SSL but server doesn't support SSL
(MTM attack)
  new options MARIADB_OPT_SSL_FP for fingerprint of server certificate
              MARIADB_OPT_SSL_FP_LIST for white list of finger prints.
2015-06-11 13:21:25 +02:00
Georg Richter
0b5a685dc0 Fix for CONC-120: mariadb_deinitialize_ssl was declared as uint (which requires including my_global.h) instead of unsigned int 2015-02-06 06:48:56 +01:00
Georg Richter
dd353b404b Added a global variable mariadb_deinitialize_ssl which controls if SSL will be deinitialized in mysql_server_end (see MDEV-6671) 2015-01-21 12:03:12 +01:00
Georg Richter
36c04222f7 Added support for MYSQL_ENABLE_CLEARtEXT_PLUGIN in mysql_options.
However we don't take any actions - plugins are always enabled.
2014-12-18 18:02:50 +01:00
Georg Richter
a292115104 Fix for CONC-105: remove longlong definition from mysql.h to prevent collides with other projects 2014-09-17 19:14:09 +02:00
holzboote@googlemail.com
1f80d75b34 Fixed prototype for mysql_hex_string from ulong to unsigned long 2014-05-05 15:04:39 +02:00
Georg Richter
ad0580377d - Windows build fixes for async API 2014-04-10 10:17:45 +02:00
Georg Richter
b55403544e Added MariaDB's asnychronous client API.
For more information please visit                                                                                                        
http://mariadb.com/kb/en/non-blocking-api-reference/
2014-04-08 12:18:08 +02:00
Georg Richter
1722ecee47 Fix for CONC-86:
mysql.h doesn't include the API function mysql_hex_string
2014-04-04 12:26:06 +02:00
Georg Richter
21c37f6d0b Replaced mysql_options4 by mysql_optionsv
For libmysql compatibility mysql_options4 macro was added
2014-03-17 12:57:40 +01:00
Georg Richter
1fabe4eaac Fixes for DBD:mysql (CONC-57)
added missing functions mysql_read_query_result and mysql_get_parameters
2013-10-14 14:17:54 +02:00
holzboote@googlemail.com
725425a9c4 Fixes for Win64 build 2013-10-10 15:14:15 +02:00
Georg Richter
f231e8459d Fixed window compile error (removed uint from mysql.h) 2013-10-05 08:30:54 +02:00
Georg Richter
7038dc9280 Removed all internal dependencies from ma_dyncol.
Fixed compiler warnings
2013-10-01 09:53:41 +02:00
Georg Richter
ead1997dcd Fixed warnings (Thanks to Evan Miller) 2013-09-30 12:23:13 +02:00
Georg Richter
48ec48bb12 Fixed missing exported symbols 2013-09-30 06:25:27 +02:00
Georg Richter
8bdac9ac53 Added support for connection attributes 2013-09-28 10:38:56 +02:00
Georg Richter
b7146e4f84 Added support for SSL related parameters in mysql_option function 2013-09-26 14:35:14 +02:00
Georg Richter
cf69110989 Fix for CONC-53: Fix C++ compiler errors 2013-09-26 08:40:20 +02:00
holzboote@googlemail.com
73f30d2a83 Merge from 10.0 dynamic column implemenetation:
- functions which operate with numeric keys now have suffix _num
        - Fixes for MDEV 4993-4995
2013-09-20 14:48:20 +02:00
holzboote@googlemail.com
87150c736e Added dyamic column api
Added character set conversion
2013-08-23 18:35:07 +02:00
Georg Richter
f6d4749279 Fixed CONC-9: removed winsock2 from mysql.h
Fixed CONC-24: reconnect failed
  mysql_reconnect didn't set reconnect flag for new connection
2013-05-09 14:11:33 +02:00
Georg Richter
88cbaa97bb Fix for CONC-15
Removed redundant prototypes
  Fixed several prototypes with void parameters
2013-03-17 12:32:08 +01:00
Georg Richter
d1b93bd17e Fixed bug in character set autodetection
Fixed compiler warnings in test suite
Skipped change_users tests: They don't work anymore (mysql_change_user) security fix
Applied patch from John Schember
2013-03-13 11:00:56 +01:00
Georg Richter
84aea9721c Added support for embedded (sqlite) 2013-01-30 08:37:24 +01:00
Georg Richter
65b256cd1f Added support for options in options->extension 2013-01-23 07:25:26 +01:00
Georg Richter
e89c06320e Fix for connc-6: added missing functions
- mysql_library_init,end as an alias for mysql_server_init/end
- mysql_get_server and mariadb_connection to determine type of server
  (mysql or mariadb)
2013-01-20 14:08:36 +01:00
Georg Richter
4042f22bdb some clean up 2012-12-16 12:05:40 +01:00
Georg Richter
2968f5dc19 - Fix for mysql_stmt_next_result:
obtain number of fields from mysql structure
  added test case (ps_new.c)
- Added additional parameter cipher for mysql_ssl_set
- some cosmetics for test cases
2012-11-29 17:27:56 +01:00
Georg Richter
48e16670d4 implementation for mysql_stmt_next_result
fixed size of MYSQL: removed unused NET->cmd_buffer_length
minor cosmetic fixes
2012-11-29 09:06:15 +01:00
Vladislav Vaintroub
0343420876 Fix build if openssl is not found
various cosmetic bugs in cmake
2012-11-28 00:53:08 +01:00
Georg Richter
44a2b3ccc5 Fixed crash when trying to call mysql_close twice
Fixed mysql_config
Header changes
2012-11-27 09:57:10 +01:00
Georg Richter
012b30ae15 Added openssl layer support
Imported libmysql unittests
Added simple ssl tests
minor cleanup
2012-11-26 08:32:41 +01:00
Georg Richter
dd3d0d6f52 First implementation based on libmysql 3.23.58 and php's mysqlnd extension 2012-11-14 18:43:45 +01:00
ghost
18cb6a1407 Initial import 2011-10-10 14:01:17 +03:00