[Commits] Rev 3678: Backported from maria-5.5 the fix in the patch for mdev-4418 that in file:///home/igor/maria/maria-5.3/

Igor Babaev igor at askmonty.org
Tue Aug 20 00:24:50 EEST 2013


At file:///home/igor/maria/maria-5.3/

------------------------------------------------------------
revno: 3678
revision-id: igor at askmonty.org-20130819212448-t338xulgqvg22zpz
parent: igor at askmonty.org-20130817050147-k5dvrilf0u0vz8cr
committer: Igor Babaev <igor at askmonty.org>
branch nick: maria-5.3
timestamp: Mon 2013-08-19 14:24:48 -0700
message:
  Backported from maria-5.5 the fix in the patch for mdev-4418 that
  had been discovered when merging the patch from 5.3 into 5.5.
-------------- next part --------------
=== modified file 'sql/sql_select.cc'
--- a/sql/sql_select.cc	2013-08-17 05:01:47 +0000
+++ b/sql/sql_select.cc	2013-08-19 21:24:48 +0000
@@ -1219,10 +1219,7 @@
       zero_result_cause=
         "Impossible WHERE noticed after reading const tables";
       select_lex->mark_const_derived(zero_result_cause);
-      if (select_options & SELECT_DESCRIBE)
-      {
-         conds=new Item_int((longlong) 0,1);
-      }
+      conds=new Item_int((longlong) 0,1);
       goto setup_subq_exit;
     }
   }



More information about the commits mailing list