1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-21 06:21:35 +03:00
Files
mariadb/mysql-test/t
unknown 20a2e1d0ac Fix of LP BUG#777809
There are 2 volatile condition constructions AND/OR constructions and fields(references) when first
good supported to be top elements of conditions because it is normal practice
(see copy_andor_structure for example) fields without any expression in the condition is really rare
and mostly useless case however it could lead to problems when optimiser changes/moves them unaware
of other variables referring to them. An easy solution of this problem is just to replace single field
in a condition with equivalent expression well supported by the server (<field> -> <field> != 0).

mysql-test/r/view.result:
  New test added.
mysql-test/t/view.test:
  New test added.
sql/sql_parse.cc:
  <field> -> <field> != 0
sql/sql_yacc.yy:
  <field> -> <field> != 0
2011-07-21 11:20:55 +03:00
..
2010-02-25 23:13:11 +04:00
2010-06-10 11:11:52 +02:00
2011-02-20 18:51:43 +02:00
2009-10-28 09:52:34 +02:00
2011-02-20 18:51:43 +02:00
2009-10-28 09:52:34 +02:00
2009-10-28 09:52:34 +02:00
2011-01-25 12:14:28 +05:30
2009-10-28 09:52:34 +02:00
2011-05-02 20:58:45 +03:00
2010-11-25 00:57:34 +02:00
2009-09-29 17:38:40 +02:00
2010-01-15 17:27:55 +02:00
2011-02-20 18:51:43 +02:00
2011-02-20 18:51:43 +02:00
2009-09-08 00:50:10 +04:00
2010-11-25 00:57:34 +02:00
2009-09-08 00:50:10 +04:00
2010-11-25 00:57:34 +02:00
2011-05-02 20:58:45 +03:00
2011-05-02 20:58:45 +03:00
2011-05-02 20:58:45 +03:00
2009-05-06 15:00:14 +05:30
2009-10-28 09:52:34 +02:00
2011-02-20 18:51:43 +02:00
2009-06-09 15:19:13 +02:00
2009-06-09 15:19:13 +02:00
2010-10-19 15:58:35 +02:00
2010-09-09 21:16:01 -07:00
2011-05-02 20:58:45 +03:00
2011-03-29 10:09:05 +02:00
2010-09-06 02:15:34 +03:00
2010-11-23 23:39:59 +02:00
2011-02-20 18:51:43 +02:00
2009-10-28 09:52:34 +02:00
2009-10-28 09:52:34 +02:00
2010-09-06 02:15:34 +03:00
2009-06-25 02:44:14 +04:00
2011-05-02 20:58:45 +03:00
2010-08-25 22:22:33 +02:00
2011-05-02 20:58:45 +03:00
2011-05-02 20:58:45 +03:00
2009-10-28 09:52:34 +02:00
2009-08-12 12:03:05 +02:00
2011-01-26 16:50:21 +01:00
2010-11-25 00:57:34 +02:00
2011-05-02 20:58:45 +03:00
2010-06-10 11:11:52 +02:00
2009-09-08 00:50:10 +04:00
2009-10-28 09:52:34 +02:00
2011-01-14 02:05:10 -08:00
2010-01-15 10:51:39 +02:00
2009-10-28 09:52:34 +02:00
2011-05-02 20:58:45 +03:00
2009-07-03 10:19:32 +02:00
2009-11-27 18:10:28 +02:00
2009-12-23 17:44:03 +04:00
2009-06-10 11:58:36 +03:00
2011-02-20 18:51:43 +02:00
2011-05-02 20:58:45 +03:00
2010-05-26 21:55:40 +03:00
2010-06-10 11:11:52 +02:00
2011-05-02 20:58:45 +03:00
2011-07-21 11:20:55 +03:00