Georg Richter
dd8962a4b5
Merge branch '3.1' into 3.3
2023-04-25 15:08:28 +02:00
Georg Richter
2000b06183
Replace SET_CLIENT_STMT_ERROR by stmt_set_error().
2023-04-11 18:31:19 +02:00
Georg Richter
abea2dfa6b
Merge branch '3.1' into 3.3
2023-01-15 14:27:41 +01:00
Georg Richter
bf82b2d8cb
Fix for CONC-624:
...
- ER() macro now checks if the error code is known, if not it will return
"Unknown or undefined error code" (instead of crashing)
- SET_CLIENT_STMT_ERROR now maps to stmt_set_error and accepts variadic
arguments
2023-01-15 14:11:54 +01:00
diego Dupin
fb85d99d13
Adding xpand to test suite
2022-03-23 11:46:40 +01:00
Georg Richter
aca697e5a1
Travis test fixes
...
Since 10.6 server returns utf8mb3 for character set (and it will change
to utf8mb4), so we use strncmp to check the character set returned by
server.
2021-06-09 07:29:56 +02:00
Oleksandr Byelkin
e21d21d71f
Fix ASAN issues in the tests
2021-01-27 20:25:13 +01:00
kolzeq
29fc3bc7bd
[misc] test improvement
...
* adding SkySQL HA to test suite
* test server build 10.6
* test maxscale 2.5.3
2021-01-19 10:23:14 +01:00
Georg Richter
9637689e5e
Test and travis modification for testing against SkySQL
2020-09-02 14:08:19 +02:00
Georg Richter
83eef02ec8
Test fixes:
...
for api functions which require string with length parameter (e.g.
mysql_real_connect() or mysql_stmt_prepare() we now use the macro
SL(string) which substitutes string and string length.
2018-02-16 13:05:35 +01:00
Georg Richter
929614903e
Travis and Appveyor integration:
...
- added travis support
- fixed appveyor settings
- fixed some warnings (gcc 4.8)
- removed sleep commands
- disabled failing tests when running against MySQL server,
mostly related to stored procedures and binary protocol
- reverted fix for MDEV_10361
Still open: TLS/SSL appveyor tests, since .msi installation on appveyor doesn't provide certificates.
2018-02-16 12:14:01 +01:00
Vladislav Vaintroub
935c33b690
Fix Windows size_t warnings.
2018-01-12 18:19:19 +00:00
Georg Richter
ea8a31e63a
Fixed compiler warnings
2017-07-04 13:56:38 +02:00
Georg Richter
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
Georg Richter
4ab155cf39
Unit test fixes for server integration
...
- SSL tests require CERT_PATH. Subdirectory certs was removed. If Connector/C is build outside of the server tree, certification path has to be specified manually (-DCERT_PATH=/path/to/certs).
- All tables and users will removed, if the test passed (otherwise mtr will complain).
2017-03-04 17:37:39 +01:00
Georg Richter
b0506f63e9
Instead of mysql_real_connect in tests we call now my_test_connect to apply global options like tls usage
2016-09-08 07:59:34 +02:00
Georg Richter
9f88e25fd6
Compiler warning fixes
2016-09-03 12:46:50 +02:00
Georg Richter
ecf26f7e6f
Added support for indicator variables
...
Fixed windows compilation bug
2016-07-08 12:51:26 +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
89fce625b5
Build fixes for 10.2 integration
2016-03-01 13:54:33 +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
f8912935b1
- Fixed several aurora plugin crashes (after reconnect)
...
- moved mysql->reconnect to mysql->options.reconnect
2016-01-16 07:04:28 +01:00
Georg Richter
a3bb1d2009
merge from 3.0.0 fixes
2015-12-29 21:06:23 +01:00
Georg Richter
4c7e5cbd1b
Added new option MARIADB_OPT_USERDATA.
...
Syntax: mysql_optionsv(MYSQL *mysql, MYSQL_OPT_USERDATA, void *key, void
*data)
2015-12-14 11:56:17 +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
f2955a4b39
more fixes
2015-08-10 12:09:14 +02:00
Georg Richter
088fdacfc1
Fixed vio for non-blocking API calls
2014-11-12 18:10:22 +01:00
Georg Richter
4f63028905
Fix for conc-75: options not handled correctly after a reconnect occured
2014-02-07 11:31:30 +01:00
Georg Richter
74b3bbc6b5
Fix for CONC-74: Local infile handler crashes due to missing initialization of handler functions.
2014-02-06 12:49:39 +01:00
holzboote@googlemail.com
db14156eb7
Fix for CONC-71: mysql_real_query crashes after server restart
...
- We now check socket status before net_flush (and return error if the socket is dead)
2014-02-04 20:09:23 +01:00
holzboote@googlemail.com
8c0a7fff46
Fix for CONC-70: Unknown error when reading large packets via conpressed protocol
2014-01-27 21:14:02 +01:00
Georg Richter
4fc30ba800
Fix for conc-68: SELECT fails with "Got packet bigger than 'max_allowed_packet'" on a table with longblob column with fields greater than 15MB
2014-01-24 09:02:03 +01:00
Georg Richter
7038dc9280
Removed all internal dependencies from ma_dyncol.
...
Fixed compiler warnings
2013-10-01 09:53:41 +02:00
holzboote@googlemail.com
077afd8e10
Several test fixes
2013-07-24 07:01:48 +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
61939850c5
Fixed reconnect problem
...
Added workaround for MDEV-4604 in mysql_stmt_store_result
2013-06-03 08:27:12 +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
65b256cd1f
Added support for options in options->extension
2013-01-23 07:25:26 +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
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