1. 15 May, 2008 1 commit
    • cmiller@zippy.cornsilk.net's avatar
      Bug#36570: Parse error of CREATE PROCEDURE stmt with comments on \ · 573828aa
      cmiller@zippy.cornsilk.net authored
      	slave
      
      The stored-routine code took the contents of the (lowest) parser
      and copied it directly to the binlog, which causes problems if there
      is a special case of interpretation at the parser level -- which 
      there is, in the "/*!VER */" comments.  The trailing "*/" caused
      errors on the slave, naturally.
      
      Now, since by that point we have /properly/ created parse-tree (as 
      the rest of the server should do!) for the stored-routine CREATE, we
      can construct a perfect statement from that information, instead of
      writing uncertain information from an unknown parser state.  
      Fortunately, there's already a function nearby that does exactly 
      that.
      ---
      Update for Bug#36570.  Qualify routine names with db name when
      writing to the binlog ONLY if the source text is qualified.
      573828aa
  2. 08 May, 2008 2 commits
  3. 06 May, 2008 2 commits
  4. 05 May, 2008 1 commit
  5. 02 May, 2008 5 commits
  6. 01 May, 2008 4 commits
  7. 30 Apr, 2008 1 commit
  8. 28 Apr, 2008 5 commits
  9. 24 Apr, 2008 1 commit
    • evgen@moonbone.local's avatar
      Bug#36023: Incorrect handling of zero length caused an assertion to fail. · e9e66793
      evgen@moonbone.local authored
      When a zero length is provided to the my_decimal_length_to_precision
      function along with unsigned_flag set to false it returns a negative value.
      For queries that employs temporary tables may cause failed assertion or
      excessive memory consumption while temporary table creation.
      
      Now the my_decimal_length_to_precision and the my_decimal_precision_to_length
      functions take unsigned_flag into account only if the length/precision
      argument is non-zero.
      e9e66793
  10. 23 Apr, 2008 2 commits
  11. 22 Apr, 2008 3 commits
  12. 21 Apr, 2008 1 commit
  13. 18 Apr, 2008 1 commit
  14. 17 Apr, 2008 1 commit
  15. 10 Apr, 2008 2 commits
  16. 09 Apr, 2008 3 commits
  17. 04 Apr, 2008 3 commits
  18. 03 Apr, 2008 2 commits