1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-09-15 08:21:18 +03:00

1089 Commits

Author SHA1 Message Date
Georg Richter
b44742d549 Fix for CONC-30: Compilation issue on CentOS 3.9 2013-06-12 15:58:37 +02:00
Georg Richter
61939850c5 Fixed reconnect problem
Added workaround for MDEV-4604 in mysql_stmt_store_result
2013-06-03 08:27:12 +02:00
Georg Richter
ae7353ad13 Added workaround for MDEV-6304: In mysql_stmt_more_results we check for both SERVER_MORE_RESULTS_EXIST
and for SERVER_PS_OUT_PARAMS
2013-06-01 13:50:35 +02:00
Georg Richter
f2e78fe089 Fixed crash when calling mysql_close_options twice (pointer weren't adjusted to NULL)
Fixed wrong behaviour when using stored procedures inside prepared statements
Fixed identiation in my_stmt.h
2013-05-29 11:59:01 +02:00
Georg Richter
30caf3c64b - Fixed memory overrun in mysql_stmt_execute due to wrong length calculation.
- Fixed bug in mysql_stmt_next_result
- Fixed mysql_stmt_reset: multi result sets weren't flushed properly
- Fixed several test cases
2013-05-20 18:00:08 +02:00
Georg Richter
f8e6248cc3 Fix for prepared statment multi results:
Reallocate buffers (fields and binds) for new resultsets
2013-05-20 10:50:58 +02:00
Georg Richter
a1c12629e4 CONC-26: CLIENT_REMEMBER_OPTIONS is not supported 2013-05-10 10:27:42 +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
be7b69c4ab Fixed bug in mysql_stmt_data_seek: Reset the status of stmt to user fetching, otherwise stmt_data_seek will not work after fetch returned MYSQL_NO_DATA.
Removed examples from build. This directory should be moved into doc tree
2013-05-09 12:05:38 +02:00
Georg Richter
d1c151a0ab Added microseconds support for prepared statements:
datetime, timestamp and time to string conversion now returns microsenconds
2013-04-30 18:02:53 +02:00
Georg Richter
d99bccf5eb Fix for CONC-21:
Ignore the 5.5.5- prefix for MariaDB 10 and report correct version numbers
2013-04-25 18:24:21 +02:00
Georg Richter
6bdf3d14ee Fix for CONC-14: Monitor the socket status in net_clear:
In case of a disconnection send_query will try to reconnect
2013-04-25 08:14:23 +02:00
Georg Richter
20f87f29c6 Fix for unbuffered stmt fetch: increase number of rows
Added Test for CONC-24
2013-04-24 17:02:03 +02:00
Georg Richter
7a452efb58 Fixed memory overrun (wrong length calculation in mysql_stmt_generate_request)
Fuxed crash with mysql_send_long_data
2013-04-12 11:24:42 +02:00
Georg Richter
36ff98ddc8 Added missing -lm for mariadb_config 2013-03-29 18:29:35 +01:00
Georg Richter
bd6f9a9492 Fixed crash when running out of memory in mysql_stmt_init. 2013-03-26 11:31:54 +01:00
Georg Richter
b96a087711 Test case fixes 2013-03-24 14:29:24 +01:00
Georg Richter
36291de5f9 Disable DBUG for Release builds 2013-03-19 14:53:56 +01:00
Georg Richter
8746af8dfe Fixed build (CMAKE_BINARY_DIR for symbolic links) 2013-03-19 13:31:29 +01:00
Georg Richter
c911efd733 Fixed wrong symlink (Thanks to Axel Schwenke) 2013-03-19 13:24:39 +01:00
Georg Richter
7e158a8365 Fix for CONNC-18
declare local_thr_alaram as static
2013-03-17 11:46:50 +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
420907a65a Replaced byte declarations (now unsigned char)
Added initial support for character set autodetection
2013-03-09 09:49:04 +01:00
Georg Richter
5726b74cbd Fix dbug crash in mysql_server_end 2013-03-07 13:56:14 +01:00
Georg Richter
de21c953e9 Export of mysql_ps_fetch_functions: This will allow clients to convert values
after fetch (e.g. SQLGetData)
2013-02-26 11:52:22 +01:00
Georg Richter
c8a3e26e6b Prevent freeing of options if connect failed. 2013-02-13 18:35:25 +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
326b3be305 Fix for conc-7:
- added missing server error codes for MariaDB and MySQL Server
- added symbolic links for projects which don't support mariadb_config
2013-01-21 13:52:53 +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
82a29b2c40 Fixed license headers which didn't mention PHP code 2012-12-27 12:02:09 +01:00
Georg Richter
7816459d22 Fix for bug conc-5:
field->catalog is undefined if result set was obtained from mysql_stmt_result_metadata()
2012-12-26 20:57:26 +01:00
Georg Richter
e87042f7ab Fix for CONC-3:
In older CMake versions FindOpenSSL.cmake doesn't work as expected,
  (OPENSSL_LIBRARIES doesn't contain crypto library), so we set the
  required cmake version number to 2.8.0 and above
2012-12-17 19:05:09 +01:00
Georg Richter
4042f22bdb some clean up 2012-12-16 12:05:40 +01:00
Georg Richter
e0ec9add5c Added IPV6 support 2012-12-15 13:49:47 +01:00
Georg Richter
65c44bd33c Fix for CONC-1 (Inverted error messages no 2058,2059)
Added support for old password authentication:
- Fixed scramble_323:
    use exact length of message (SCRAMBLE_LENGTH_323 instead
    of strlen(message))
- Added old_password_authentication plugin into list of builtin plugins
2012-12-15 08:23:43 +01:00
Georg Richter
597bff422c removed mysql_io.c (php streams), which is no longer used 2012-12-11 20:29:50 +01:00
Georg Richter
11f01e9fed Fixes for SSL
- fix for php bug 51647
  - added cert store
  - added certificates for testing
2012-12-01 14:02:34 +01:00
Georg Richter
3ea76613e3 Fix for mariadb_config: lib output was not correct
cleanup
fixed ps_test (warning_count differs on MariaDB servers)
2012-11-30 13:47:24 +01:00