Georg Richter
a6d8ef52e6
Merge pull request #235 from grooverdan/3.1-remove-words_big_endian
...
MDEV-19511 Remove WORDS_BIGENDIAN - HAVE_BIGENDIAN replaced it
2023-09-21 07:08:37 +02:00
Daniel Black
07ae949c15
MDEV-19511 Remove WORDS_BIGENDIAN - HAVE_BIGENDIAN replaced it
...
Also note https://cmake.org/cmake/help/latest/module/TestBigEndian.html
Discussion source, https://lists.launchpad.net/maria-developers/msg11819.html
It was solved a while ago with HAVE_BIGENDIAN added to test,
WORDS_BIGENDIAN wasn't cleaned up.
2023-09-21 09:24:40 +10:00
Vladislav Vaintroub
d9626e315e
CONC-666: Fix memory allocation issue with prepared statement reexecution.
...
Connector is using a memory root for the result set, and
mysql_stmt_execute()/mysql_stmt_store_result(), when executed in a loop,
leads to series of ma_alloc_root() and ma_free_root() calls for the same
memory root.
The problem is that ma_alloc_root() calculates the allocation size based
on MA_MEM_ROOT::block_num, this value is incremented for larger allocation,
but is never reset. As a result, the allocation size continuously
grows, for an empty memroot.
This patch resets MA_MEM_ROOT::block_num in ma_free_root().
2023-09-20 23:01:44 +02:00
Lawrin Novitsky
04b3d83bdf
Added -Wno-stringop-truncation to the default gcc options
2023-09-20 14:13:19 +02:00
Georg Richter
9f37c27bc8
Fix for CONC-668:
...
Fix build error on 32-bit systems.
2023-09-18 16:05:00 +02:00
Daniel Bartholomew
9a0ddd87d3
bump the VERSION
2023-09-14 12:36:59 -04:00
Georg Richter
42f006abde
bump version to 3.3.7
v3.3.7
2023-09-07 09:36:18 +02:00
rusher
dd927bd171
Update server test suite
2023-08-30 09:52:22 +02:00
Georg Richter
209b23a38c
Test fixes:
...
- Fixed failing test when running against MySQL server
- Disabled test when running against MySQL server.
2023-08-30 07:44:32 +02:00
rusher
bc5cbb6f12
[misc] update ES test from 23.07 to 23.08
2023-08-28 16:32:07 +02:00
rusher
66d87ea8dc
[misc] update ES test from 23.06 to 23.07
2023-08-28 14:52:09 +02:00
Georg Richter
4e3905c20a
Fix for bcrypt hash functions:
...
Using a global crypt provider is not thread safe, so we need to load
provider via BCryptOpenProvider in ma_hash_new().
2023-08-23 16:18:50 +02:00
Georg Richter
03195a2f30
Fix for CENTOS7:
...
Since CentOS7 builder still uses gcc4.8, we need to move c99
declarations out of the loop.
3.3.6-MS1
2023-08-16 20:11:45 +02:00
Georg Richter
8ecb44ae1a
For builds without external zlib only build static
...
zlib library and remove the install components.
2023-08-16 19:40:41 +02:00
Georg Richter
5f88f50cf0
Build fix:
...
Move the setting "treat warning as errors" befind feature detection,
otherwise several try_compile/try_run commands will fail.
2023-08-16 15:02:02 +02:00
Georg Richter
1acb81e11c
Build fixes:
...
- Fixed build error, which was previously introduced by commit
c8ca89112e
- Treat warnings as errors
2023-08-16 14:09:34 +02:00
Georg Richter
c8ca89112e
Fix for CONC-659:
...
When checking for a semi sync indication header, we need also check if
the undocumented session variable @rpl_semi_sync_slave was set.
Otherwise the timestamp of the event could contain values which match
the 2 bytes of the semi sync header.
Since the variable rpl_semi_sync_slave and it's behavior is not documented,
a new option MARIADB_RPL_SEMI_SYNC was added.
3.3.6-MS
2023-08-11 10:14:26 +02:00
Georg Richter
cd59c70ce7
Merge branch '3.1' into 3.3
2023-08-10 11:20:29 +02:00
Georg Richter
5000bc790a
Test fix:
...
Always specify the socketname when calling my_test_connect().
2023-08-10 11:18:22 +02:00
rusher
c0ddc2c8cf
[misc] adding MariaDB server 11.1 and ES23.06 testing
v3.3.6
2023-07-28 17:51:07 +02:00
Georg Richter
3a255ee3ea
Merge branch '3.1' into 3.3
2023-07-24 11:07:05 +02:00
Lawrin Novitsky
3393fe35d3
Fixes for debug exceptions with runtime checks eanbled with VS /RTCc option
...
This could be the cases of casting to smaler types with loss of data.
The fix adds bitwise add with correspondent number of 0xff bytes.
v3.1.22
2023-07-23 15:27:30 +02:00
Georg Richter
681fbd98ee
Fix for CONC-657:
...
Since extra_data (MySQL ROWSV2 event) is not part of row data,
we need to allocate memory for it's content.
Kudos to Sruli Ganor for reporting this issue and providing a fix.
2023-07-21 13:42:19 +02:00
Georg Richter
8ab517cbc1
Use OPT_SET_EXT_VALUE macro instead of assigning value
...
directly.
2023-07-13 10:58:15 +02:00
Georg Richter
45feebb99d
Remove server certification verification
...
Since the server certification option is used by client
only, there is no need to have this flag in server and or
client capabilities. The server itself validates client
certificate depending on the user definition.
2023-07-13 09:30:33 +02:00
Marko Mäkelä
5af90f00ff
Merge 3.1 into 3.3
2023-06-26 16:28:51 +03:00
Marko Mäkelä
d543bed61b
Fix GCC 13 -Wmaybe-uninitialized
2023-06-26 10:59:14 +03:00
Georg Richter
56b515648b
Fix for CONC-650:
...
Added support for XID in GTID_EVENT (but also updated
documentation on https://mariadb.com/kb/en/gtid_event/ ).
2023-06-19 12:17:27 +02:00
Georg Richter
ec3852338f
Removed unnecessary RPL_CHECK_POS checks.
2023-06-09 14:37:29 +02:00
Marko Mäkelä
238cec4e2a
Fix clang -Wempty-body
...
Fixes up 4dca917b7e
2023-05-29 08:30:01 +03:00
Georg Richter
dc0476447b
Bump version (new version 3.3.6)
2023-05-24 20:40:44 +02:00
Georg Richter
fcb61b5391
Bump version number. New version 3.1.22
2023-05-24 20:39:36 +02:00
Georg Richter
c2b322d2ca
CONC-644: Build named pipe plugin as static plugin
...
Instead of building named pipe plugin as a dynamic
(external) plugin it can be used now as a static
(compiled in) plugin.
v3.3.5
2023-05-02 18:30:31 +02:00
Georg Richter
85b7bde184
Merge branch '3.1' into 3.3
2023-05-02 18:01:34 +02:00
Georg Richter
a3bba4639f
CONC-619: NULL pointer dereference in unpack_fields
...
Fixed NULL pointer dereference, thanks to Yury Chaikou which
reported this issue.
v3.1.21
2023-05-02 17:59:18 +02:00
Georg Richter
374f0eedc2
Build fix: replace crc32_z by crc32
...
To make internal builders with zlib < 1.2.8 happy,
we use crc32() instead of crc32_z now.
2023-04-27 09:24:16 +02:00
Georg Richter
bec589e679
Merge branch '3.1' into 3.3
2023-04-26 08:10:40 +02:00
Georg Richter
f5a4c73df4
Fix memory leak in unittest
2023-04-26 08:10:08 +02:00
Georg Richter
a43da0769d
zlib update postfix: Don't build tests/examples
2023-04-25 18:38:52 +02:00
Georg Richter
5daff3f06d
Merge branch '3.1' into 3.3
2023-04-25 16:51:52 +02:00
Georg Richter
2c5bb13b43
Updated zlib library - version 1.2.13
2023-04-25 16:40:53 +02:00
Georg Richter
dd8962a4b5
Merge branch '3.1' into 3.3
2023-04-25 15:08:28 +02:00
Georg Richter
b0ec2101bf
Test fixes when testing against MySQL
2023-04-24 14:58:01 +02:00
Georg Richter
6c29921bbe
travis fix:
...
remove server builds > 10.5, since 10.6 and above use
Connector/C 3.3 branch.
2023-04-22 06:56:53 +02:00
Georg Richter
0e452f66ac
MariaDB Server detection fix
...
Use mariadb_connection() instead of checking 5.5.5 rpl hack
to detect if we are connected to a MariaDB Server.
2023-04-21 07:11:29 +02:00
Georg Richter
11ba413498
Travis fix
2023-04-21 06:55:56 +02:00
Georg Richter
8749251f1b
Travis update:
...
Test with latest LTS (10.11)
2023-04-19 17:09:29 +02:00
Georg Richter
2000b06183
Replace SET_CLIENT_STMT_ERROR by stmt_set_error().
2023-04-11 18:31:19 +02:00
Georg Richter
aa614a8beb
Merge branch '3.1' into 3.3
2023-04-05 09:28:40 +02:00
Georg Richter
5a94570b39
Fix for CONC-635: Disable TLS/SSL for named pipe/shared mem
...
Since the server doesn't support secure connections for
shared memory and named pipe connections but indicates
this capability by setting the CLIENT_SSL flag, we unset
this flag in case the connection uses shared memory
or named pipe.
2023-04-05 09:01:25 +02:00