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
Sreeharsha Ramanavarapu f06443ce5f Bug #26881946: INCORRECT BEHAVIOR WITH "VALUES"
Issue:
------
VALUES doesn't have a type() function and is considered a
Item_field.

Solution for 5.7:
-----------------
Add a new type() function for Item_values_insert.

On 8.0 and trunk it was fixed by Mithun's Bug#19601973.

Solution for 5.6:
-----------------
Additionally Bug#17458914 is backported.

This will address the problem of using VALUES() in
INSERT ... ON DUPLICATE KEY UPDATE. Create a field object
only if it is in the UPDATE clause, else return a NULL
item.

This will also address the problems mentioned in
Bug#14789787 and Bug#16756402.

Solution for 5.5:
-----------------
As mentioned above Bug#17458914 is backported.

Additionally Bug#14786324 is also backported.

When VALUES() is detected outside its meaningful place,
it should be treated as NULL and is thus replaced with a
Field_null object, with the same name as the original
field.

Fields with type NULL are generally not handled well inside
the server (e.g Innodb will not accept them and it is
impossible to create them in regular tables). So create a
new const NULL item instead.
2017-11-16 09:31:12 +05:30
BUILD
client Bug#26372491 - RCE THROUGH THE MISHANDLE OF BACKSLASH 2017-09-08 18:29:07 +05:30
cmake dos2unix cmake/mysql_add_executable.cmake 2017-11-09 08:45:45 +01:00
cmd-line-utils
dbug
Docs
extra Bug#26482173: TLS CIPHER NEGOTIATION INCORRECTLY MATCHES ON 2017-08-24 14:19:38 +05:30
include
libmysql Bug#25988681: USE-AFTER-FREE IN MYSQL_STMT_CLOSE() 2017-05-23 07:14:33 +02:00
libmysqld
libservices
man
mysql-test Bug #26881946: INCORRECT BEHAVIOR WITH "VALUES" 2017-11-16 09:31:12 +05:30
mysys Bug#23072792 MYSQL_GROUP_SUFFIX DOES NOT WORK 2017-09-08 16:48:15 +02:00
packaging Bug#27072155 - DEFAULT PLUGIN_DIR SHOULD BE DIFFERENT FOR DEBUG BUILD 2017-11-13 19:45:57 +05:30
plugin
regex
scripts
sql Bug #26881946: INCORRECT BEHAVIOR WITH "VALUES" 2017-11-16 09:31:12 +05:30
sql-bench
sql-common
storage Bug #26880757: MYISAM_USE_MMAP=1 ON WINDOWS FREQUENTLY DOES 2017-10-26 18:07:36 +05:30
strings
support-files Bug #27021754 MYSQLTEST MAN PAGES WILL BE REMOVED, PACKAGING MUST BE PREPARED 2017-11-03 12:21:26 +01:00
tests
unittest
vio
win
zlib
.gitattributes
.gitignore
BUILD-CMAKE
CMakeLists.txt
config.h.cmake
configure.cmake
COPYING
INSTALL-SOURCE
INSTALL-WIN-SOURCE
README
VERSION Raise version number after cloning 5.5.58 2017-08-29 15:42:38 +05:30

MySQL Server 5.5

This is a release of MySQL, a dual-license SQL database server.
For the avoidance of doubt, this particular copy of the software 
is released under the version 2 of the GNU General Public License. 
MySQL is brought to you by Oracle.

Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.

License information can be found in the COPYING file.

MySQL FOSS License Exception
We want free and open source software applications under certain
licenses to be able to use specified GPL-licensed MySQL client
libraries despite the fact that not all such FOSS licenses are
compatible with version 2 of the GNU General Public License.  
Therefore there are special exceptions to the terms and conditions 
of the GPLv2 as applied to these client libraries, which are 
identified and described in more detail in the FOSS License 
Exception at 
<http://www.mysql.com/about/legal/licensing/foss-exception.html>.

This distribution may include materials developed by third
parties. For license and attribution notices for these
materials, please refer to the documentation that accompanies
this distribution (see the "Licenses for Third-Party Components"
appendix) or view the online documentation at 
<http://dev.mysql.com/doc/>.

GPLv2 Disclaimer
For the avoidance of doubt, except that if any license choice
other than GPL or LGPL is available it will apply instead, 
Oracle elects to use only the General Public License version 2 
(GPLv2) at this time for any software where a choice of GPL 
license versions is made available with the language indicating 
that GPLv2 or any later version may be used, or where a choice 
of which version of the GPL is applied is otherwise unspecified.

For further information about MySQL or additional documentation, 
see:
- The latest information about MySQL: http://www.mysql.com
- The current MySQL documentation: http://dev.mysql.com/doc

Some Reference Manual sections of special interest:
- If you are migrating from an older version of MySQL, please 
  read the "Upgrading from..." section.
- To see what MySQL can do, take a look at the features section.
- For installation instructions, see the Installing and Upgrading
  chapter.
- For the new features/bugfix history, see the MySQL Change History 
  appendix.

You can browse the MySQL Reference Manual online or download it 
in any of several formats at the URL given earlier in this file.
Source distributions include a local copy of the manual in the
Docs directory.