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 cc7a75e6fd Fixed bug#17726: Not checked empty list caused endless loop
When the Item_cond::fix_fields() function reduces cond tree, it in loop
scans it's own list and when it founds Item_cond with same function (AND
or OR) it does next things: 1) replaces that item with item's list. 2)
empties item's list. Due to this operation is done twice - for update and
for view, at the update phase cond's list of lower view is already empty.
Empty list returns ref to itself, thus making endless loop by replacing
list with itself, emptying, replacing again and so on. This results in
server hung up.

To the Item_cond::fix_fields() function added check that ensures that
list being replaced with isn't empty.


mysql-test/t/view.test:
  Added test for bug#17726: Not checked empty list caused endless loop
mysql-test/r/view.result:
  Added test for bug#17726: Not checked empty list caused endless loop
sql/item_cmpfunc.cc:
  Fixed bug#17726: Not checked empty list caused endless loop
  To the Item_cond::fix_fields() function added check that ensures that
  list being replaced with isn't empty.
2006-03-03 16:19:57 +03:00
bdb BUG#15734: Fix undefined awk behaviour breaking compilation on Debian. 2005-12-14 13:09:37 +01:00
BitKeeper Merge mysql.com:/space/my/mysql-4.1 2005-12-07 10:40:26 +01:00
BUILD Makefile.am: 2005-12-18 15:07:58 +01:00
client mysqltest.c: 2006-02-28 15:11:44 -06:00
cmd-line-utils Merge neptunus.(none):/home/msvensson/mysql/bug16557/my50-bug16557 2006-02-21 08:58:19 +01:00
config/ac-macros Add yassl libs to libmysqlclient_r as well. 2006-01-09 10:01:07 +01:00
dbug Several fixes revelaled by Intel compiler. 2005-09-23 16:47:08 +03:00
Docs BSD make compatibility 2006-01-06 17:32:25 +01:00
extra Bug #17235 perror prints wrong prefix for ndb error codes 2006-02-08 17:17:27 +01:00
heap Merge mysql.com:/opt/local/work/mysql-4.1-root 2006-02-02 18:17:18 +03:00
include Bug#17716 Slave crash in net_clear on qnx 2006-02-27 10:08:35 +01:00
innobase Fixed: BUG#15653, BUG#16157, BUG#16229, BUG#16298, BUG#16387, BUG#16582. 2006-01-31 21:41:48 +03:00
libmysql Fixes to embedded server to be able to run tests with it 2006-02-24 18:34:15 +02:00
libmysql_r Add yassl libs to libmysqlclient_r as well. 2006-01-09 10:01:07 +01:00
libmysqld Fixes to embedded server to be able to run tests with it 2006-02-24 18:34:15 +02:00
man - Removed obsolete and outdated man page files from the man 2005-10-27 14:51:58 +02:00
myisam Merge april.(none):/home/svoj/devel/mysql/BUG16489/mysql-4.1 2006-01-23 20:07:26 +04:00
myisammrg BUG#17314: Can't use index_merge/intersection for MERGE tables 2006-02-11 21:51:43 +03:00
mysql-test Fixed bug#17726: Not checked empty list caused endless loop 2006-03-03 16:19:57 +03:00
mysys Fixes to embedded server to be able to run tests with it 2006-02-24 18:34:15 +02:00
ndb Fixed compiler warnings from gcc 4.0.2: 2006-02-25 17:46:30 +02:00
netware Fix for Netware build. 2006-01-12 20:31:00 +02:00
os2 Merge 2005-09-29 03:20:31 +02:00
pstack Makefile.am, configure.in: 2005-09-24 15:51:45 +02:00
regex Merge 2005-09-29 03:20:31 +02:00
scripts Fixes to embedded server to be able to run tests with it 2006-02-24 18:34:15 +02:00
server-tools Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 2006-02-21 15:59:41 +03:00
sql Fixed bug#17726: Not checked empty list caused endless loop 2006-03-03 16:19:57 +03:00
sql-bench Set thread_stack after return from end_thread() 2005-12-03 18:13:06 +02:00
sql-common Fixes to embedded server to be able to run tests with it 2006-02-24 18:34:15 +02:00
SSL Added missing SSL library (Should be in source distribution) 2003-11-28 12:18:13 +02:00
strings Fix for bug#17602 Server crash on AVG/SUM over DECIMAL column(2nd ver) 2006-02-28 13:36:41 +04:00
support-files Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 2006-02-13 18:04:30 +01:00
tests Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 2006-02-28 19:42:11 +03:00
tools pthread_handler_decl() changed to be ctags-friendly 2005-10-08 16:39:55 +02:00
VC++Files Windows Visual Studio 2003 fixes. 2006-01-16 09:56:10 +01:00
vio Merge mysql.com:/home/jimw/my/mysql-4.1-clean 2005-11-29 15:33:58 -08:00
zlib Changes after initial patch to #15787 2006-01-23 21:35:11 +03:00
.bzrignore Fix subselect results (there was a bad merge when subselect test was disabled) 2006-02-17 10:02:59 -08:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
configure.in Fixed compiler warnings from gcc 4.0.2: 2006-02-25 17:46:30 +02:00
COPYING - manual.texi will be replaced with a manual written in DocBook/XML. This ChangeSet removes all 2005-04-13 11:51:38 +02:00
Makefile.am Merge 2005-11-04 02:17:11 +01:00
README README: 2005-09-12 12:44:13 -05:00

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.
- For commercial distributions, see the MySQLEULA.txt 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 Installation chapter.
- For future plans, see the TODO appendix.
- For the new features/bugfix history, see the News appendix.
- For the currently known bugs/misfeatures (known errors) see the problems
  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.