Georg Richter
2a7cc977fb
Shared memory fixes
2016-08-24 19:26:30 +02:00
Georg Richter
fbf6fd1598
Valgrind fixes:
...
- fixed 2 unitialized memory errors
- fixed leak in client test
2016-08-21 20:35:13 +02:00
Georg Richter
9207626bb4
10.2-integration
...
readded api functions
- mysql_debug (dummy)
- mysql_get_parameters
added low level api functions
- mysql_net_field_length
- mysql_net_read
2016-08-18 12:24:32 +02:00
Georg Richter
405bb926e9
Fix for CONC-198: can't use two statements per connection
...
If we have multiple open cursors we need to check the server_status per statement (not per connection)
2016-08-18 08:04:46 +02:00
Georg Richter
429b166cbe
Move mariadb specific client flags and server capabilities to mysql->extension
2016-08-16 14:58:15 +02:00
Georg Richter
8be7a3ca81
manually merged from 2.2.3 - remove time measurement, total execution time will be shown after ctest execution
2016-08-09 16:26:13 +02:00
Georg Richter
4f2c9da859
Fix for CONC-194: (merged from connector_c_2.3)
2016-08-03 12:41:52 +02:00
Georg Richter
7b14603438
Fix for CONC-196: merged manually from connector_c_2.3 branch
2016-08-03 12:30:54 +02:00
Georg Richter
e328467494
Fixed c++i style declarations in bulk test
2016-07-08 14:28:44 +02:00
Georg Richter
cb413ad1f5
Added bulk test
2016-07-08 14:03:48 +02:00
Georg Richter
ecf26f7e6f
Added support for indicator variables
...
Fixed windows compilation bug
2016-07-08 12:51:26 +02:00
Georg Richter
8e44202e74
Initial implementation for bulk operations/array binding in prepared statements
2016-07-01 10:10:11 +02:00
Georg Richter
45a635dead
Fixed compiler warnings
...
removed latest test for ssl threads (test.c)
2016-06-29 15:22:01 +02:00
Georg Richter
26d31929d4
several fixes for mariadb_stmt_execute_direct:
...
- allow param binding via mysql_stmt_attr_set:
mysql_stmt_attr_set(stmt, STMT_ATTR_PREBIND_PARAMS, ¶m_count);
- If a prepared statement will be reexecuted, we send COM_STMT_CLOSE
together with COM_STMT_PREPARE and COM_STMT_EXECUTE
2016-06-18 14:07:28 +02:00
Georg Richter
b90b17804d
Another fix for CONC-177: ps-protocol with integer values and zerofill
...
weren't correctly converted to strings
2016-05-30 20:46:29 +02:00
Vladislav Vaintroub
e62a4eac0b
Merge pull request #18 from GeorgyKirichenko/master
...
Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
2016-05-25 09:52:22 +00:00
Georg Richter
9d51d5e3d6
Fix for CONC-179:
...
- Fixed offset for warning_count in ps protocol
- Added new api function mysql_stmt_warning_count
- For backwards compatibility we also update the value for
mysql_warning_count function
2016-05-15 12:04:10 +02:00
Georg Richter
ca68323c7b
Fix for CONC-177: Fixed length calculation for zerofill conversion from
...
float/double to string
2016-05-14 17:58:13 +02:00
Oleksandr Byelkin
3823a0f7a9
Fix of unit test print output format.
2016-05-14 14:13:33 +02:00
Oleksandr Byelkin
ab42f5809f
Test of mass batching (re MDEV-9947).
2016-05-14 14:11:06 +02:00
Georg Richter
6126e668ca
10.2-integration: Added support for character set "auto":
...
character set auto sets the character set to the corresponding locale or
codepage (windows)
2016-05-08 12:28:37 +02:00
GeorgyKirichenko
56505d8fb6
Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR. Client library
...
can be used as subdirectory in another cmake project.
2016-04-27 17:54:07 +03:00
Georg Richter
c70128b50c
Fix for CONC-173: Fixed memory leak in mysql_real_connect
...
fixed warning in pthread_once
2016-04-18 09:32:25 +02:00
Georg Richter
01f18549dd
Fix for CONC-167: fix crash when fetching MYSQL_TYPE_BIT data.
...
MYSQL_TYPE_BIT has no fixed packlength, so we need to check
net_field_length instead
2016-04-12 12:37:21 +02:00
Georg Richter
b4efe73c9e
session tracking implementation (10.2-integration):
...
- At the moment the following session tracking types are supported:
SESSION_TRACK_SCHEMA
SESSION_TRACK_SYSTEM_VARIABLES
SESSION_TRACK_STATE_CHANGE
SESSION_TRACK_TRANSACTION_CHARACTERISTICS
- New API functions
mysql_session_track_get_next
mysql_session_track_get_first
2016-03-31 08:41:12 +02:00
Georg Richter
21be8f4eef
Moved connection_handler to mysql->extension
2016-03-29 09:44:03 +02:00
Georg Richter
bea035a72b
- Unittests: link static library instead of dynamic
...
- TLS/SSL: renamed HAVE_SSL to HAVE_TLS to avoid trouble in
10.2-integration
- Fixed wrong timeout in non-blocking mode
- Fixed valgrind error in prepared statement
2016-03-28 10:29:55 +02:00
Georg Richter
b6d3af1bfc
Fix for CONC-168: string conversion of timestamps is broken
...
When converting datetime with microseconds to string (binary protocol) number of decimal
places was ignored. Thanks to Patrick Huesmann for providing a fix.
2016-03-24 07:17:22 +01:00
Georg Richter
4b1e94bccc
Since we use TLS and not SSL functions and structures were renamed
...
from SSL to TLS
2016-03-16 18:20:08 +01:00
Vladislav Vaintroub
f68b89bc46
- Back off CMake version requirements.
...
- Fix plugin extension on OSX (it is .so, not .dylib)
- add SKIP_TESTS to skip compiling test
2016-03-15 09:01:02 +01:00
Georg Richter
2f6791115f
changed plugin library types from SHARED to MODULE
...
Fixed float/double/decimal converion for prepared statements:
since _gcvt (Windows) and gcvt (*nix) deliver different results
we use now dtoa.c from server package, which is licensed under
LGPL.
2016-03-11 07:08:34 +01:00
Georg Richter
3cfc5f8654
Removed option WITH_NONBLOCK
2016-03-10 09:51:53 +01:00
Georg Richter
cc0c34554d
- Fixes for 10.2-integration
...
- As requested by Wlad we use connect timeout for read/write unless
the connection was established.
- Added experimental session cache support for OpenSSL. It's currently
disabled
2016-03-08 17:08:01 +01:00
Georg Richter
0a187a0c3b
Build remote_io as dynamic plugin to avoid build problems on several
...
machines with broken OpenSSL installation
2016-03-02 16:43:39 +01:00
Georg Richter
89fce625b5
Build fixes for 10.2 integration
2016-03-01 13:54:33 +01:00
Georg Richter
38b78704e0
Fix for read/write timeout for sockets on non Windows platforms
2016-02-23 13:25:03 +01:00
Georg Richter
9818a85c1d
Fix for CONC-160: field metadata doesn't show NUM_FLAG for NEWDECIMAL
...
columns
2016-02-20 11:57:36 +01:00
Georg Richter
85525c2ba7
Merge remote-tracking branch 'origin/3.1'
2016-02-16 17:40:03 +01:00
Georg Richter
509b948e7d
SSL fixes:
...
- added MARIADB_OPT_SSL_CIPHER_STRENGTH (value uint) for Schannel
- fixed mutes in all ssl variants
2016-02-16 13:04:16 +01:00
Georg Richter
74ce606c77
Fix for CONC155: return trailing zero when fetching from binary columns
...
into string
2016-02-09 08:54:31 +01:00
Georg Richter
448b68023c
Fix for CONC155: return trailing zero when fetching from binary columns
...
into string
2016-02-09 08:43:16 +01:00
Georg Richter
4ca933bb81
Global cleanup:
...
removed global locks
removed dead code and files
removed dbug
2016-02-08 18:43:02 +01:00
Georg Richter
e138995b87
more fixes for 10.2 integration
2016-02-02 20:09:42 +01:00
Georg Richter
a442a5f2ee
Merge branch 'master' of https://github.com/MariaDB/mariadb-connector-c into 3.1
2016-02-02 10:06:38 +01:00
Georg Richter
8845fcb7ce
First implementation of mariadb_stmt_execute_direct
2016-01-28 16:58:30 +01:00
Georg Richter
2cc57282f6
removed mysql_get_parameters from export list
...
disable creation of certificates if SSL is disabled or OpenSSL is not
available
2016-01-28 16:53:26 +01:00
Georg Richter
b00a0e2ce5
Merge https://github.com/MariaDB/mariadb-connector-c into 10.2-georg
2016-01-27 06:45:49 +01:00
Georg Richter
6b5ff864f3
Fixed SSL test (option was renamed before)
2016-01-25 13:40:07 +01:00
Georg Richter
736913d961
Fix for CONC-154:
...
set stmt->state to MYSQL_STMT_FETCH_DONE if
- result set is empty (nothing to fetch)
- when madb_stmt_reset was called
2016-01-25 13:38:49 +01:00
Georg Richter
f0215ab091
Added GSSAPI authentication plugin
2016-01-22 20:00:40 +01:00