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
unknown 41a2f1c8de Bug#28779 (mysql_query() allows execution of statements with unbalanced
comments)

This change set is for 5.1 (manually merged)

Before this fix, the server would accept queries that contained comments,
even when the comments were not properly closed with a '*' '/' marker.

For example,
  select 1 /* + 2 <EOF>
would be accepted as
  select 1 /* + 2 */ <EOF>
and executed as
  select 1

With this fix, the server now rejects queries with unclosed comments
as syntax errors.
Both regular comments ('/' '*') and special comments ('/' '*' '!') must be
closed with '*' '/' to be parsed correctly.


mysql-test/r/comments.result:
  Unbalanced comments are a syntax error.
mysql-test/t/comments.test:
  Unbalanced comments are a syntax error.
sql/sql_lex.cc:
  Unbalanced comments are a syntax error.
2007-08-30 12:57:05 -06:00
BitKeeper Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build 2007-06-18 20:18:32 +02:00
BUILD Merge weblab.(none):/home/marcsql/TREE/mysql-5.0-cleanup 2007-08-22 18:29:38 -06:00
client Merge polly.(none):/home/kaa/src/bug30164/my50-bug30164 2007-08-30 12:55:29 +04:00
cmd-line-utils Merge mysql.com:/home/kent/bk/config_h/mysql-5.0-build 2007-07-30 21:45:06 +02:00
config/ac-macros Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-build 2007-08-01 18:32:01 -06:00
dbug Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.1-build 2007-08-04 00:44:51 +02:00
debian Made changes to debian control files to support building 5.1 packages. 2007-04-20 16:15:30 -07:00
Docs Merge mysql.com:/home/kent/bk/tmp/mysql-5.0-build 2007-03-22 19:44:14 +01:00
extra Merge mysql.com:/home/kent/bk/cmake-tls/mysql-5.0-build-new 2007-08-03 22:57:21 +02:00
include Fix doxygen warnings. 2007-08-16 21:14:47 +04:00
libmysql Post Merge Fixup. 2007-08-04 02:51:58 -04:00
libmysql_r
libmysqld Merge amd64.(none):/src/mysql-5.1-maint 2007-08-03 21:44:59 -04:00
man
mysql-test Bug#28779 (mysql_query() allows execution of statements with unbalanced 2007-08-30 12:57:05 -06:00
mysys Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base 2007-08-20 11:13:31 -06:00
netware netware/*.def : Allocate 128K stack for all executables (bug#23504) 2007-06-07 12:59:31 +02:00
plugin Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-06-01 12:59:06 +02:00
pstack
regex Fix a bad BitKeeper dependency structure for the "CMakeLists.txt" files. 2007-07-31 19:35:13 +02:00
scripts Merge mysql.com:/home/kent/bk/cmake-tls/mysql-5.0-build-new 2007-08-06 08:33:20 +02:00
server-tools Merge mysql.com:/home/kent/bk/cmake-tls/mysql-5.0-build-new 2007-08-03 22:57:21 +02:00
sql Bug#28779 (mysql_query() allows execution of statements with unbalanced 2007-08-30 12:57:05 -06:00
sql-bench
sql-common Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2007-08-02 07:55:33 +03:00
storage Merge gleb.loc:/home/uchum/work/bk/5.1 2007-08-11 02:00:51 +05:00
strings Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2007-08-07 06:53:40 -04:00
support-files Merge trift2.:/MySQL/M50/bug21023-25486-5.0 2007-07-17 21:11:22 +02:00
tests Merge bodhi.(none):/opt/local/work/mysql-5.0-runtime 2007-08-08 11:45:13 +04:00
unittest Fixes Bug#30127: --debug-info no longer prints memory usage in mysql 2007-08-01 22:59:05 +03:00
vio Fix a bad BitKeeper dependency structure for the "CMakeLists.txt" files. 2007-07-31 19:35:13 +02:00
win CMakeLists.txt, README, configure.js 2007-08-03 21:51:37 +02:00
zlib CMakeLists.txt, README, configure.js 2007-08-03 21:51:37 +02:00
.bzrignore Merge amd64.(none):/src/mysql-5.1-maint 2007-08-03 21:44:59 -04:00
.cvsignore
CMakeLists.txt Post Merge Fixup. 2007-08-04 02:51:58 -04:00
configure.in Raise version number after cloning 5.1.21-beta 2007-08-06 21:11:09 +02:00
COPYING
EXCEPTIONS-CLIENT
Makefile.am Merge debian.(none):/M50/rowlock-5.0 2007-07-26 18:40:46 +02:00
README

This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB.

License information can be found in these files:
- For GPL (free) distributions, see the COPYING file and
  the EXCEPTIONS-CLIENT file.
- For commercial distributions, see the LICENSE.mysql file.


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 manual sections of special interest:

- If you are migrating from an older version of MySQL, please read the
  "Upgrading from..." section first!
- 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 Change History appendix.
- For the currently known bugs/misfeatures (known errors) see the Problems
  and Common Errors appendix.
- For a list of developers and other contributors, see the Credits
  appendix.

A local copy of the MySQL Reference Manual can be found in the Docs
directory in GNU Info format.  You can also browse the manual online or
download it in any of several formats at the URL given earlier in this
file.

************************************************************

IMPORTANT:

Bug or error reports should be sent to http://bugs.mysql.com.