1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-03 05:41:09 +03:00
Igor Babaev e3a25793be MDEV-24823 Crash with invalid multi-table update of view in 2nd execution of SP
Before this patch mergeable derived tables / view used in a multi-table
update / delete were merged before the preparation stage.
When the merge of a derived table / view is performed the on expression
attached to it is fixed and ANDed with the where condition of the select S
containing this derived table / view. It happens after the specification of
the derived table / view has been merged into S. If the ON expression refers
to a non existing field an error is reported and some other mergeable derived
tables / views remain unmerged. It's not a problem if the multi-table
update / delete statement is standalone. Yet if it is used in a stored
procedure the select with incompletely merged derived tables / views may
cause a problem for the second call of the procedure. This does not happen
for select queries using derived tables / views, because in this case their
specifications are merged after the preparation stage at which all ON
expressions are fixed.
This patch makes sure that merging of the derived tables / views used in a
multi-table update / delete statement is performed after the preparation
stage.

Approved by Oleksandr Byelkin <sanja@mariadb.com>
2021-04-22 20:02:08 -07:00
2019-09-03 13:17:32 +03:00
2021-03-27 16:11:26 +02:00
2021-04-14 07:54:43 +03:00
2020-07-02 06:17:51 +03:00
2021-04-13 10:26:01 +03:00
2019-06-14 07:36:47 +02:00
2021-04-21 07:25:48 +03:00
2021-03-18 12:34:48 +02:00
2021-04-15 09:42:37 +02:00
2021-02-01 13:49:33 +01:00
2019-05-14 17:18:46 +03:00
2021-04-21 07:25:48 +03:00
2021-04-21 07:25:48 +03:00
2020-10-22 08:26:28 +03:00
2020-05-04 16:47:11 +02:00
2021-04-09 14:32:06 +03:00
2021-04-13 10:26:01 +03:00
2020-07-02 06:17:51 +03:00
2020-09-28 17:27:42 +05:30
2021-04-22 07:32:51 +03:00
2021-02-22 22:42:27 +01:00
2021-03-31 08:01:03 +03:00
2021-03-31 08:01:03 +03:00
2021-02-01 13:49:33 +01:00
2021-03-27 16:11:26 +02:00
2021-02-22 22:42:27 +01:00
2020-12-23 19:28:02 +01:00
2018-05-05 14:01:59 +02:00
2021-04-14 07:54:43 +03:00
2021-03-27 16:11:26 +02:00
2019-05-11 21:29:06 +03:00
2021-03-12 07:02:29 +11:00
2019-05-12 17:20:23 +02:00
2019-05-13 17:54:04 +03:00
2021-02-22 10:04:25 -05:00

Code status:

  • Travis CI status travis-ci.org (10.3 branch)
  • Appveyor CI status ci.appveyor.com

MariaDB: drop-in replacement for MySQL

MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.

MariaDB is brought to you by the MariaDB Foundation. Please read the CREDITS file for details about the MariaDB Foundation, and who is developing MariaDB.

MariaDB is developed by many of the original developers of MySQL who now work for the MariaDB Foundation and the MariaDB Corporation, and by many people in the community.

MySQL, which is the base of MariaDB, is a product and trademark of Oracle Corporation, Inc. For a list of developers and other contributors, see the Credits appendix. You can also run 'SHOW authors' to get a list of active contributors.

A description of the MariaDB project and a manual can be found at:

https://mariadb.org/

https://mariadb.com/kb/en/

https://mariadb.com/kb/en/mariadb-vs-mysql-features/

https://mariadb.com/kb/en/mariadb-versus-mysql-features/

https://mariadb.com/kb/en/mariadb-versus-mysql-compatibility/

As MariaDB is a full replacement of MySQL, the MySQL manual at http://dev.mysql.com/doc is generally applicable.

Help:

More help is available from the Maria Discuss mailing list https://launchpad.net/~maria-discuss and the #maria IRC channel on Freenode.

Licensing:


NOTE:

MariaDB is specifically available only under version 2 of the GNU General Public License (GPLv2). (I.e. Without the "any later version" clause.) This is inherited from MySQL. Please see the README file in the MySQL distribution for more information.

License information can be found in the COPYING file. Third party license information can be found in the THIRDPARTY file.


Bug Reports:

Bug and/or error reports regarding MariaDB should be submitted at: https://jira.mariadb.org

For reporting security vulnerabilities see: https://mariadb.org/about/security-policy/

Bugs in the MySQL code can also be submitted at: https://bugs.mysql.com

The code for MariaDB, including all revision history, can be found at: https://github.com/MariaDB/server


Description
Сервер MariaDB - это разработанный сообществом форк сервера MySQL
https://mariadb.org Readme 2.1 GiB
Languages
MariaDB\ 71.9%
C++ 16.2%
C 10.5%
Shell 0.5%
Perl 0.4%
Other 0.3%