All versions
Select version:
Sergei Golubchik committed 2025-01-242025-01-24 13:42
CONPY-739 don't use pow() to truncate an integer

it's
* generic power function, arbitrary floating-point arguments
* expensive
* returns double

while here we just need one of 1, 10, ..., 1000000.
  mariadb-corporation/mariadb-connector-c
232b563dc57d731a28d11e382c60c642d5f327d3 GitHub
Georg Richter committed 2025-01-212025-01-21 13:26
Merge pull request #268 from mariadb-corporation/3.3-serg

CONPY-739 don't use pow() to truncate an integer
  mariadb-corporation/mariadb-connector-c
9260a989dcdb60c78e89d7f273581a725bbb0cb4 GitHub
Sergei Golubchik committed 2025-01-162025-01-16 19:19
CONPY-739 don't use pow() to truncate an integer

it's
* generic power function, arbitrary floating-point arguments
* expensive
* returns double

while here we just need one of 1, 10, ..., 1000000.
  mariadb-corporation/mariadb-connector-c
97bf33626796f74a65ed4440bfbd6f4708518e3f GitHub
Georg Richter committed 2024-11-152024-11-15 16:41
CONPY-739: prepared statement support AUTO_SEC_PART_DIGITS

FROM_UNIXTIME() function always returns AUTO_SEC_PART_DIGITS
(value=39). In case the microsecond value was set in MYSQL_TIME,
the decimal part should be SEC_PART_DIGITS (=6).
  mariadb-corporation/mariadb-connector-c
55e3b63c343207371283a749508e0df4dfadd249 GitHub
+50
±14
-4
Georg Richter committed 2024-06-112024-06-11 14:00
CONPY-704: parse_connection_string ignores empty string in last parameter

1) Fix check if end was reached (<= instead of <), so last parameter will
not be ignored in case it is an empty string.

2) Empty strings will be passed as NULL`in _mariadb_set_conf_option.
  mariadb-corporation/mariadb-connector-c
486ce75d6426c20c4e9f8e7fe4df8ddec193d7e2 GitHub