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

594 Commits

Author SHA1 Message Date
Georg Richter
ead1997dcd Fixed warnings (Thanks to Evan Miller) 2013-09-30 12:23:13 +02:00
Georg Richter
8bdac9ac53 Added support for connection attributes 2013-09-28 10:38:56 +02:00
holzboote@googlemail.com
9a0eb3f91c Minor fixes in ssl test 2013-09-20 16:21:53 +02:00
holzboote@googlemail.com
73f30d2a83 Merge from 10.0 dynamic column implemenetation:
- functions which operate with numeric keys now have suffix _num
        - Fixes for MDEV 4993-4995
2013-09-20 14:48:20 +02:00
holzboote@googlemail.com
b382649f50 More SSL fixes:
- verification functions for key and cert now use SSL_context
        - Added support for server cert verification (hostname must match)
        - minor bug fixes
2013-09-19 15:14:11 +02:00
holzboote@googlemail.com
b2e83a163f Added support for ssl server certification:
mysql_options: Added support MYSQL_OPT_SSL_VALIDATE_SERVER_CERT flag
  added my_ssl_verify_server_cert which extracts the hostname and compares
  it with mysql->host
2013-09-17 18:47:07 +02:00
holzboote@googlemail.com
c27f97fd1d Fix for CONC-50:
mysql_real_connect doesn't return an error if a an invalid ca file was specified.
2013-09-16 16:19:16 +02:00
holzboote@googlemail.com
aacffe62d6 Fix for conc-49:
local_infile_init didn't open files with binary flag
2013-09-04 18:45:54 +02:00
holzboote@googlemail.com
87150c736e Added dyamic column api
Added character set conversion
2013-08-23 18:35:07 +02:00
holzboote@googlemail.com
a6fd66698f Fix for CONC-44: LOAD DATA INFILE can't open utf16le encoded filenames 2013-08-20 16:40:03 +02:00
holzboote@googlemail.com
bb809b33fc Fix for CONC-46:
cleanup of my_win_init(), removed setlocale and server specific stuff
2013-08-14 16:08:21 +02:00
holzboote@googlemail.com
5ab0e66191 Fixed LOAD DATA LOCAL INFILE crash when specifying a file which doesn't exist
Fixed error message for non existing file (was errno=0)
2013-08-01 15:23:48 +02:00
holzboote@googlemail.com
b5db6c127f Fixed crash/undefined behaviour when running large amount of threads:
replaced select() with poll()
Added conneciton timeout support for windows platforms
2013-08-01 09:56:36 +02:00
holzboote@googlemail.com
077afd8e10 Several test fixes 2013-07-24 07:01:48 +02:00
holzboote@googlemail.com
ab2403287d Fixes for Solaris build (Bugs CONC-36,37 and 38) 2013-07-22 07:22:04 +02:00
holzboote@googlemail.com
d6f3bb4c9f DBUG update and fixes
Fixed net_read crash in debug version
2013-07-15 10:47:05 +02:00
holzboote@googlemail.com
7fd247bb3b Fixed compiler warnings 2013-07-01 05:27:17 +02:00
holzboote@googlemail.com
dc16f2d32e Reworked compressed and protocol implementation,
including fixes for conc-31 and conc-34
- Added win64 fixes in protocol (changed ulong to size_t)

modified:
  include/my_sys.h
  include/mysql_com.h
  include/violite.h
  libmariadb/libmariadb.c
  libmariadb/my_compress.c
  libmariadb/my_stmt.c
  libmariadb/my_thr_init.c
  libmariadb/net.c
  libmariadb/violite.c
  unittest/libmariadb/basic-t.c
  unittest/libmariadb/charset.c
  unittest/libmariadb/thread.c
unknown:
  xx
  libmariadb/libmariadb.so.1
  mariadb_config/mariadb_config
  mariadb_config/mariadb_config.c
  unittest/libmariadb/basic-t
  unittest/libmariadb/charset
  unittest/libmariadb/connection
  unittest/libmariadb/cursor
  unittest/libmariadb/errors
  unittest/libmariadb/fetch
  unittest/libmariadb/logs
  unittest/libmariadb/misc
  unittest/libmariadb/ps
  unittest/libmariadb/ps_bugs
  unittest/libmariadb/ps_new
  unittest/libmariadb/result
  unittest/libmariadb/sp
  unittest/libmariadb/sqlite3
  unittest/libmariadb/ssl
  unittest/libmariadb/thread
  unittest/libmariadb/view
2013-07-01 05:00:34 +02:00
Georg Richter
71e3fc726f Fix for CONC-27:
Prevent crash if mysql_thread_end was called without prior initialization via mysql_thread_init
2013-06-17 06:58:20 +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
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
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
b96a087711 Test case fixes 2013-03-24 14:29:24 +01:00
Georg Richter
7afc51d9aa more test fixes 2013-03-13 21:43:39 +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
5726b74cbd Fix dbug crash in mysql_server_end 2013-03-07 13:56:14 +01:00
Georg Richter
470fc50cb1 Added missing test for embedded 2013-01-30 08:42:05 +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
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
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
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
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