Georg Richter
33027b899b
Fix for bug CONC-131:
...
Free async context when closing options (mysql_options_close)
2015-06-26 11:00:01 +02:00
Georg Richter
64720ee70f
Merge remote-tracking branch 'origin/connector_c_2.2'
2015-06-26 09:52:11 +02:00
Georg Richter
ce013e7ab1
Moved certificate creation to CMakeLists.txt
2015-06-26 09:50:07 +02:00
Lawrin Novitsky
8d7118fce4
Small fix in STRING REPLACE command uses in unittest/libmariadb/CMakeLists.txt to let cmake swallow it
2015-06-25 22:48:27 +02:00
Georg Richter
50e3a25dfb
Merge remote-tracking branch 'origin/connector_c_2.2'
2015-06-25 09:19:11 +02:00
Georg Richter
ae96108081
added missing fingerprint white list
2015-06-17 09:54:31 +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
8680b5794f
Minor windows fixes
2015-04-07 17:06:35 +02:00
Georg Richter
95724c85a5
Added support for remote files via plugin.
...
This will allow to read and import data from remote locations, e.g.
LOAD DATA LOCAL INFILE 'htp://www.example.com' or
mysql_options(mysql, MYSQL_READ_DEFAULT_FILE, "http://localhost/test.cnf ");
The implementation uses libcurl. For a list of supported URL types
see http://curl.haxx.se/libcurl/
2015-03-18 19:52:51 +01:00
Georg Richter
11bcd44fd9
Last commit (fix for CONC-127) was incomplete for unknown reason
2015-03-18 18:21:47 +01:00
Georg Richter
f8ebc60f8f
Fix for Conc-127: MariaDB Connector/C accepts dummy/self signed CA's
2015-03-15 19:10:33 +01:00
Georg Richter
556e35b02d
Forced line endings to lf
2015-01-30 14:09:11 +01:00
Georg Richter
c516ca70b3
We now build an object library which prevents compiling sources twice (for shared and static libraries)
...
Fixed test cases
2015-01-21 11:47:34 +01:00
Georg Richter
0e92a68589
(Corrected) Fix for CONC-118: memory leak when reconnecting
2015-01-14 15:29:27 +01:00
Georg Richter
5c8ea9c9c1
More build fixes
...
Added new option for position independent code: WITH_PIC=ON/OFF
2014-12-23 13:05:13 +01:00
Georg Richter
04c05f4d44
Fix for CONC-117:
...
if reconnecting fails (e.g. server has gone) we don't freee memory associated with tmp_mysql.
2014-12-21 17:43:38 +01:00
Georg Richter
6bfad6e025
Fixed misc.c (was test case for CONC-114)
2014-12-09 20:11:54 +01:00
Georg Richter
088fdacfc1
Fixed vio for non-blocking API calls
2014-11-12 18:10:22 +01:00
Georg Richter
1006e18468
Fix for OS-X build (Thanks to Eric Trinh)
...
test case fixes:
removed obsolete DBUG_* stuff
2014-11-02 05:54:30 +01:00
Georg Richter
80eef624bd
Build fixes for MacOS and Windows
2014-10-23 18:45:18 +02:00
Georg Richter
98aad385c4
renoved unused include
...
added some status information
2014-10-22 17:16:27 +02:00
Georg Richter
d12429bf99
Fix for CONC-102:
...
Since we use one SSL context per library instance (which might be shared by several threads) we need to protect
certification loading by a mutex.
2014-10-12 05:35:43 +02:00
holzboote@googlemail.com
fc5859154e
Fix for CONC-101: redefinition of dlerror
2014-07-14 11:50:16 +02:00
holzboote@googlemail.com
b9676202a9
Fix for CONC-95: SSL connection with require X509 privilege doesn't work.
...
- all pems and ciphers are now stored in global context
- create new ssl instance after loading pems into global context
2014-06-23 09:23:14 +02:00
holzboote@googlemail.com
e038a7fae0
Fix for CONC-97 and CONC-98:
...
- Check if the connection is valid before resetting statement
- Fix windows compile error (mingw)
2014-06-10 09:48:05 +02:00
holzboote@googlemail.com
6aea5be66b
Fixed ssl test (running ssl tests now under different user)
2014-05-14 14:49:25 +02:00
holzboote@googlemail.com
b3c35dfaf9
Added delay/sleep after mysql_kill
2014-05-14 12:20:47 +02:00
holzboote@googlemail.com
170a7a14b8
Fix for CONC-90: Incorrect output for mariadb_config
...
- When linking against external zlib the linker options are
- added missing space for CMAKE_C_FLAGS
2014-05-02 16:13:21 +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
holzboote@googlemail.com
8cab5e53a4
Unittest fixes (recommit to start/test buildbot)
2014-04-02 18:21:30 +02:00
holzboote@googlemail.com
b37317d482
Fix for CONC-83: Crash in prepared statements after reconnect
...
save stmt->mysql, since it will be set to NULL during reconnect and
retrieve error code from saved pointer.
2014-03-13 16:44:55 +01:00
Georg Richter
08bb38885f
Fix for CONC-81: crash in ssl connection (caused by fix for CONC-79)
...
- prevent zeroing cache paraemters in vio_reset
2014-03-03 17:10:00 +01:00
Georg Richter
28e7a867f1
Fix for CONC79: Performance issue with c client library
...
Added read-ahed cache for vio to reduce the number of reads
2014-03-03 11:19:47 +01:00
Georg Richter
2ceb2f7ffc
Fix for conc-77: Backslash escaped quotes (', "") are not parsed correctly
2014-02-10 09:04:01 +01:00
Georg Richter
4f63028905
Fix for conc-75: options not handled correctly after a reconnect occured
2014-02-07 11:31:30 +01:00
Georg Richter
74b3bbc6b5
Fix for CONC-74: Local infile handler crashes due to missing initialization of handler functions.
2014-02-06 12:49:39 +01:00
holzboote@googlemail.com
db14156eb7
Fix for CONC-71: mysql_real_query crashes after server restart
...
- We now check socket status before net_flush (and return error if the socket is dead)
2014-02-04 20:09:23 +01:00
holzboote@googlemail.com
8c0a7fff46
Fix for CONC-70: Unknown error when reading large packets via conpressed protocol
2014-01-27 21:14:02 +01:00
holzboote@googlemail.com
3912195e17
Fix for CONC-67: mysql_stmt_fetch returns error instead of MYSQL_NO_DATA when using cursors
2014-01-25 18:16:36 +01:00
Georg Richter
4fc30ba800
Fix for conc-68: SELECT fails with "Got packet bigger than 'max_allowed_packet'" on a table with longblob column with fields greater than 15MB
2014-01-24 09:02:03 +01:00
holzboote@googlemail.com
1b36e6d3b5
Fix for CONC-66: Support for quoted values in configuration file
2014-01-22 22:31:08 +01:00
holzboote@googlemail.com
a6ee40ab8e
Added mingw support (Win32). Special thanks to Eric Trinh for his patch!
2014-01-11 20:09:32 +01:00
holzboote@googlemail.com
c9c78d0c31
Fix for CONC-60: crash when STMT_ATTR_UPDATE_MAX_LENGTH attribute was set and new date formats are used.
...
Special thanks to Lionel Elie Mamane and Daniel Bart for their tremendous help.
2013-11-20 20:37:30 +01:00
holzboote@googlemail.com
3af3d85660
Fixed bug in prepared statements: wrong length for MYSQL_TYPE{TIME,DATETIME,TIMESTAMP}
...
renewed test certificates for ssl tests
2013-10-27 19:38:11 +01:00
holzboote@googlemail.com
9552507348
Minor prepared statement fixes for time/date/datetime/timestamp types
...
Added flag MADB_BIND_DUMMY which allows binding empty buffers
2013-10-26 18:55:24 +02: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
d5a772de56
Windows build fixes
...
- use /MT flag instead of /MD
- add debug libraries to package
2013-10-04 19:09:08 +02:00
Georg Richter
7038dc9280
Removed all internal dependencies from ma_dyncol.
...
Fixed compiler warnings
2013-10-01 09:53:41 +02:00