MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
Marko Mäkelä 29624ea304 MDEV-13176 ALTER TABLE…CHANGE col col TIMESTAMP NOT NULL DEFAULT… fails
When it comes to DEFAULT values of columns, InnoDB is imposing both
unnecessary and insufficient conditions on whether ALGORITHM=INPLACE
should be allowed for ALTER TABLE.

When changing an existing column to NOT NULL, any NULL values in the
columns only get a special treatment if the column is changed to an
AUTO_INCREMENT column (which is not supported by ALGORITHM=INPLACE)
or the column type is TIMESTAMP. In all other cases, an error
must be reported for the failure to convert a NULL value to NOT NULL.

InnoDB was unnecessarily interested in whether the DEFAULT value
is not constant when altering other than TIMESTAMP columns. Also,
when changing a TIMESTAMP column to NOT NULL, InnoDB was performing
an insufficient check, and it was incorrectly allowing a constant
DEFAULT value while not being able to replace NULL values with that
constant value.

Furthermore, in ADD COLUMN, InnoDB is unnecessarily rejecting certain
nondeterministic DEFAULT expressions (depending on the session
parameters or the current time).
2017-06-27 07:39:42 +03:00
BUILD Build MyRocks as a plugin (as static compilation doesn't work) 2017-05-11 17:08:40 +03:00
client Merge 10.1 into 10.2 2017-05-26 22:45:46 +03:00
cmake Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
dbug Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
debian MDEV-12449: Debian Packaging AWS key management plugin 2017-05-08 21:42:41 +03:00
Docs
extra Merge 10.1 into 10.2 2017-06-19 16:46:34 +03:00
include MDEV-12471: BULK Command 2017-06-14 12:02:54 +02:00
libmariadb@ff4bfdf1ca new connector version which correspond BULK command 2017-06-14 14:39:51 +02:00
libmysqld Merge 10.1 into 10.2 2017-05-22 09:46:51 +03:00
libservices MDEV-11663 Create services for functionality used by plugins 2017-04-27 19:12:38 +02:00
man Merge branch '10.1' into 10.2 2017-05-09 13:24:52 +02:00
mysql-test MDEV-13176 ALTER TABLE…CHANGE col col TIMESTAMP NOT NULL DEFAULT… fails 2017-06-27 07:39:42 +03:00
mysys Merge 10.1 into 10.2 2017-05-23 11:09:47 +03:00
mysys_ssl fix crashes with openssl fips builds 2017-05-10 01:33:03 +02:00
pcre Merge 10.0 into 10.1 2017-03-09 08:53:08 +02:00
plugin Merge 10.1 into 10.2 2017-05-26 22:45:46 +03:00
randgen/conf
scripts Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
sql Fixed the bug mdev-13166. 2017-06-26 12:16:04 -07:00
sql-bench
sql-common Merge 10.1 into 10.2 2017-05-23 11:09:47 +03:00
storage MDEV-13176 ALTER TABLE…CHANGE col col TIMESTAMP NOT NULL DEFAULT… fails 2017-06-27 07:39:42 +03:00
strings Merge 10.1 into 10.2 2017-05-23 11:09:47 +03:00
support-files Merge branch '10.1' into 10.2 2017-05-09 13:24:52 +02:00
tests MDEV-12579: Incorrect arguments to mysqld_stmt_execute when using LOBs 2017-06-22 15:28:57 +02:00
unittest Merge 10.1 into 10.2 2017-05-23 11:09:47 +03:00
vio MDEV-10332 support for OpenSSL 1.1 and LibreSSL 2017-05-09 18:53:10 +02:00
win Merge 10.1 into 10.2 2017-05-06 14:36:46 +03:00
wsrep Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
zlib
.gitattributes
.gitignore Merge 10.1 into 10.2 2017-05-06 14:36:46 +03:00
.gitmodules Use https instead of ssh(git@) for rocksdb submodule. 2016-11-15 10:00:19 -05:00
.travis.compiler.sh travis: enable (main,archive).mysqlhotcopy_\1 test 2017-06-08 10:51:52 +04:00
.travis.yml travis: allowed_failures MYSQL_TEST_SUITES=plugins (MDEV-13002) 2017-06-08 10:53:12 +04:00
BUILD-CMAKE
CMakeLists.txt Merge branch '10.1' into 10.2 2017-05-09 13:24:52 +02:00
config.h.cmake Merge 10.1 into 10.2 2017-05-23 11:09:47 +03:00
configure.cmake Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
COPYING
COPYING.thirdparty Correct FSF address 2017-03-10 18:21:29 +01:00
CREDITS Update MariaDB Foundation sponsors 2017-02-28 17:15:36 +04:00
EXCEPTIONS-CLIENT
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md Markdown README for a prettier github representation 2016-08-24 15:00:59 +10:00
VERSION bump the VERSION 2017-05-31 11:39:21 -04:00

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: http://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.

License:


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, COPYING.LESSER, and COPYING.thirdparty files.


Bug Reports:

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

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

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


Code status:

  • tests status travis-ci.org (10.2 branch)