1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-10 01:02:57 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
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
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
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
89fce625b5 Build fixes for 10.2 integration 2016-03-01 13:54:33 +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
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
d68c7dae95 Fixed warning on Windows 64-bit build 2015-12-19 17:07:10 +01:00
Georg Richter
bec245a913 Initial aurora implementation 2015-12-10 12:52:51 +01:00
Georg Richter
f30bb95c6a Fix for asynchronous (reconnect)
Fixed memory leak after reconnect/change user
2015-11-19 16:55:25 +01:00
Georg Richter
72f7c4abf5 Windows 64-bit fixes:
changed type of length parameter in mysql_stmt_prepare,
mysql_real_query, mysql_stmt_send_long_data (incl. async _start
functions) from unsigned long to size_t.
Fixed warnings
2015-11-05 11:52:50 +01:00
Georg Richter
7500f37150 - Renamed cio to pvio (pluggable virtual IO)
- minor fixes in windows schannel
2015-10-27 10:24:48 +01:00
Georg Richter
0bc7dc5e3c Added build option WITH_REMOTEIO (default=off) 2015-09-19 13:02:30 +02:00
Georg Richter
b950d2cf48 CONC-141: set stmt->state to MYSQL_STMT_FETCH_DONE if no more resultsets
are available
2015-09-17 08:14:13 +02: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
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
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
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
7afc51d9aa more test fixes 2013-03-13 21:43:39 +01:00
Georg Richter
84aea9721c Added support for embedded (sqlite) 2013-01-30 08:37:24 +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
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