maria:bb-11.3-MDEV-31684

Last commit made on 2023-10-12
Get this branch:
git clone -b bb-11.3-MDEV-31684 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-11.3-MDEV-31684
Repository:
lp:maria

Recent commits

63da557... by Rucha Deodhar <email address hidden>

MDEV-31684: More tests

6f55cb4... by Sergei Golubchik

MDEV-31684 post-review changes

94eb819... by Rucha Deodhar <email address hidden>

MDEV-31684 Add timezone information to DATE_FORMAT

Before starting to go over the format string, prepare the current time
zone information incase '%z' or '%Z' is encountered.
This information can be obtained as given below:

A) If timezone is not set ( meaning we are working with system timezone):
Get the MYSQL_TIME representation for current time and GMT time using
current thread variable for timezone and timezone variable for UTC
respectively. This MYSQL_TIME variable will be used to calculate time
difference. Also convert current time in second to tm structure to
get system timezone information.

B) If timezone is set as offset:
Get timezone information using current timezone information and store
in appropriate variable.

C) If timezone is set as some place (example: Europe/Berlin)
Get timezone information by searching the timezone. During internal
timezone search, information like timeoffset from UTC and abbrevation
is stored in another relevant structure. Hence use the same information.

5fc19e7... by VladislavVaintroub

MDEV-32252 addendum - refactor CPackWixConfig.cmake

Refactor CPackWixConfig.cmake so that it complains about unknown CPack
components.

This would prevent missing components,or discrepancy between MSI and ZIP
content, whenever new components are added or renamed.

Also, remove some old stuff, and use macros add_component_group() and
add_component() to reduce the verbosity.

2407243... by Otto Kekalainen <email address hidden>

Deb: Include type_test.so and others in mariadb-test package

Move files to the mariadb-test package that are created during the build
but were not included in the package yet.

4c3584b... by Sergei Golubchik

MDEV-32104 add removed command line options back as noops

df4bfef... by Sergei Golubchik

compile-time deprecation reminders

remove old deprecation helpers that were not used anywhere.

create new deprecation helpers and enforce their usage

this also removes inconsistencies in reporting deprecation:
sometimes it was ER_WARN_DEPRECATED_SYNTAX (1287),
sometimes ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT (1681),
sometimes a warning, sometimes a note.

it should always be
* ER_WARN_DEPRECATED_SYNTAX
* a warning (because it's something actionable, not purely informational)

ceb1bd1... by Sergei Golubchik

remove a test that became meaningless in 2009

after fb175a1beb10

52a0cd3... by Sergei Golubchik

remove Silence_deprecated_warning

it was introduced in ff8651c4ecb to suppress deprecated
warnings for CALL under the flawed logic that "It's doesn't
make sense to print out deprecated syntax warnings when the
routine is being executed because this kind of warning only
matters when the routine is being created".

Which is incorrect, a feature might become deprecated after
the routine was created and a user has to know that to be able
to update the procedure before it stops working when a
deprecated feature is removed.

6b9e122... by Sergei Golubchik

MDEV-31811 deprecate old_mode values

mark non-default values of old_mode as deprecated.
print a warning when they're set from the command line and in SQL.