ea8a31e63a
Fixed compiler warnings
2017-07-04 13:56:38 +02:00
8b3e6b5dcf
Fix for CONC-252:
...
All functions which are supported by libmysql use now unsigned long as length parameter instead of size_t
2017-07-01 15:42:52 +02:00
06d2490371
MDEV-11159 Add support for sending proxy protocol header
2017-06-13 18:19:07 +00:00
9a865bc88c
Fix for CONC-243:
...
ABI breakage: Revert parameter length from size_t to unsigned long.
(affects mysql_stmt_prepare, mysql_real_query, mysql_send_query)
2017-03-14 16:11:04 +01:00
b10c4f9e7b
Fix for CONC-231: Incorrect FSF address
2017-02-05 11:35:11 +01:00
87e861c360
client side implemetation for MDEV-10340:
...
int STDCALL mysql_reset_connection(MYSQL *mysql)
2016-12-29 19:10:35 +01:00
ab3ffdc473
removed api function mysql_get_server_status (introduced in last commit). Instead of mariadb_get_infov now supports additional parameters:
...
* MARIADB_CONNECTION_SERVER_STATUS
* MARIADB_CONNECTION_SERVER_CAPABILITIES
* MARIADB_CONNECTION_EXTENDED_SERVER_CAPABILITIES
* MARIADB_CONNECTION_CLIENT_CAPABILITIES
2016-12-13 07:09:06 +01:00
7a1e3a699d
- Fixed crash in prepared statement: Indicator variable should be checked only if we are in bulk operation mode (=stmt->array_size > 0 and bulk is supported by server
...
- Added new api function mysql_get_server_status, so client applications no longer need to access members of the mysql structure
2016-12-10 14:09:53 +01:00
3e624e50df
removed definition of SQLSTATE_UNKNOWN (10.2 integration)
2016-11-17 16:04:33 +01:00
a499722377
removed ma_errmsg from mysql.h
2016-11-16 17:27:59 +01:00
03a7ec1b8b
Support mariadb_stmt_execute_direct also for versions < 10.2
...
Bundled COM_CLOSE and COM_PREPARE packets
2016-11-12 17:51:01 +01:00
884ee2262d
Smaller fixes for LibreOffice integration:
...
- added type MYSQL_TYPE_JSON (=245)
- include error numbers (ma_errmsg.h) via mysql.h
- convert MYSQL_TYPE_JSON to string (prepared statements)
- added error message number 2034 (invalid buffer)
2016-10-23 15:53:24 +02:00
6306c9f46b
- removed COM_MULTI from options
...
COM_MULTI is now available for internal use only, e.g. in
mariadb_stmt_execute_direct
2016-10-20 08:47:51 +02:00
7cb8479605
Fix Win64 warnings. Correctly define my_socket in ma_global.h
2016-10-12 21:05:31 +00:00
6723c52c46
Fixed function declaration for mysql_error and mysql_info (const char * instead of char *)
2016-10-06 09:44:57 +02:00
c68c5dc27f
Part for fix of CONC-200:
...
declare type of my_ulonglong
2016-09-08 08:01:21 +02:00
03d35ac031
fix compile error
2016-08-18 14:42:50 +00:00
d76e0f1965
Fix compiler errors in headers (undefined uchar, __attribute__)
2016-08-18 15:06:55 +02:00
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
429b166cbe
Move mariadb specific client flags and server capabilities to mysql->extension
2016-08-16 14:58:15 +02:00
2fcdff1743
10.2-integration: Add embedded support for st_mysql_data structure.
2016-08-10 13:37:40 +02:00
95101b9c87
Fix compilation error if MYSQL_SERVER is defined
2016-06-29 18:02:17 +00:00
437b9cd1e4
CONC-184 : provide a function to cancel a current connection
...
(without invalidating MYSQL struct, without sending KILL)
This apparently is useful for replication handling in the server
2016-05-21 12:35:06 +00:00
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
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
21be8f4eef
Moved connection_handler to mysql->extension
2016-03-29 09:44:03 +02:00
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
826da74f6c
10.2-integration:
...
add definition of MYSQL_CLIENT
2016-03-10 15:18:00 +01:00
89fce625b5
Build fixes for 10.2 integration
2016-03-01 13:54:33 +01:00
1eb441693f
include stdarg.h (for va_list)
2016-02-29 20:19:58 +01:00
f7d7730bc1
renamed exported function mysql_reconnect to mariadb_reconnect
2016-02-24 08:26:34 +01:00
d68b48f954
10.2 integration fixes
...
- changed plugin API to avoid crashes: Oracle/MariaDB changed
structure several times without updating interface version.
- ABI fixes: moved additional net items to net->extension (connection
handler and com_multi buffer)
2016-02-22 11:37:13 +01:00
9818a85c1d
Fix for CONC-160: field metadata doesn't show NUM_FLAG for NEWDECIMAL
...
columns
2016-02-20 11:57:36 +01:00
c014b9f6ae
10.2 integration fixes:
...
- renamed/prefixed password functions
- prepared statement fixes for mysql_client_test
2016-02-19 22:23:00 +01:00
56f9809365
10.2-fixes:
...
export asynchronous version of mysql_list_fields
don't convert days to hours when fetch date in bind with type
MYSQL_TYPE_TIME
2016-02-18 14:03:17 +01:00
542a6f7388
10.2-integration:
...
Avoid redefinition of plugin structure (mysql_client_test)
2016-02-18 11:24:07 +01:00
409d673291
10.2 - integration fixes
...
- enable data truncation reporting for ps by default
- added plugin protoype definitions to mysql.h10.2 - integration fixes
2016-02-18 10:45:26 +01:00
85525c2ba7
Merge remote-tracking branch 'origin/3.1'
2016-02-16 17:40:03 +01:00
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
5c19385846
Always provide prototypes for non blocking functions in mysql.h
2016-02-09 09:02:36 +01:00
4ca933bb81
Global cleanup:
...
removed global locks
removed dead code and files
removed dbug
2016-02-08 18:43:02 +01:00
3c03d3b7d8
Added prototypes for mysql_dump_debug_info_cont/start to mysql.h
2016-02-04 16:55:01 +01:00
a56d19397e
Added prototypes for mysql_dump_debug_info_cont/start to mysql.h
2016-02-04 16:53:51 +01:00
9e4bd29447
More fixes and renames for 10.2 integration
2016-02-03 09:14:01 +01:00
e138995b87
more fixes for 10.2 integration
2016-02-02 20:09:42 +01:00
ccb8798f09
Added mysql_options4 (was #define before)
2016-02-02 10:11:15 +01:00
8845fcb7ce
First implementation of mariadb_stmt_execute_direct
2016-01-28 16:58:30 +01:00
25e610c965
Removed deprecated API functions:
...
- mysql_close
- mysql_create_db
- mysql_drop_db
- mysql_get_parameters
Fixed build error when SSL is disabled
max_allowed_packet and net_buffer size needs to be retrieved via
mysql_get_option now (instead of mariadb_get_info)
2016-01-27 18:21:08 +01:00
29163e8374
Removed deprecated API functions:
...
- mysql_close
- mysql_create_db
- mysql_drop_db
- mysql_get_parameters
Fixed build error when SSL is disabled
max_allowed_packet and net_buffer size needs to be retrieved via
mysql_get_option now (instead of mariadb_get_info)
2016-01-27 18:19:35 +01:00
b00a0e2ce5
Merge https://github.com/MariaDB/mariadb-connector-c into 10.2-georg
2016-01-27 06:45:49 +01:00