1. 08 Jun, 2007 2 commits
    • gkodinov/kgeorge@magare.gmz's avatar
      Bug #28754: RPM builds differ from tar.gz in "ALTER ... RENAME" on views · d12fbdd8
      gkodinov/kgeorge@magare.gmz authored
       When constructing the path to the original .frm file ALTER .. RENAME
       was unnecessary (and incorrectly) lowercasing the whole path when not 
       on a case-insensitive filesystem.
       This path should not be modified because of lower_case_table_names
       as it is already in the correct case according to that setting.
       Fixed by removing the lowercasing.
       Unfortunately testing this would require running the tests on a case
       sensitive filesystem in a directory that has uppercase letters.
       This cannot be guaranteed in all setups so no test case added.
      d12fbdd8
    • gluh@mysql.com/eagle.(none)'s avatar
      Bug#18660 Can't grant any privileges on single table in database with underscore char · a809813b
      gluh@mysql.com/eagle.(none) authored
      In case of database level grant the database name may be a pattern,
      in case of table|column level grant the database name can not be a pattern.
      We use 'dont_check_global_grants' as a flag to determine
      if it's database level grant command 
      (see SQLCOM_GRANT case, mysql_execute_command() function) and
      set db_is_pattern according to 'dont_check_global_grants' value.
      a809813b
  2. 07 Jun, 2007 7 commits
  3. 06 Jun, 2007 4 commits
  4. 05 Jun, 2007 1 commit
    • evgen@moonbone.local's avatar
      Bug#28778: Wrong result of BETWEEN when comparing a DATETIME field with an · 0a91c7cc
      evgen@moonbone.local authored
      integer constants.
      
      This bug is introduced by the fix for bug#16377. Before the fix the 
      Item_func_between::fix_length_and_dec method converted the second and third
      arguments to the type of the first argument if they were constant and the first
      argument is of the DATE/DATETIME type. That approach worked well for integer
      constants and sometimes produced bad result for string constants. The fix for
      the bug#16377 wrongly removed that code at all and as a result of this the
      comparison of a DATETIME field and an integer constant was carried out in a
      wrong way and sometimes led to wrong result sets.
      
      Now the Item_func_between::fix_length_and_dec method converts the second and
      third arguments to the type of the first argument if they are constant, the
      first argument is of the DATE/DATETIME type and the DATETIME comparator isn't
      applicable.
      0a91c7cc
  5. 04 Jun, 2007 1 commit
  6. 03 Jun, 2007 8 commits
  7. 02 Jun, 2007 8 commits
  8. 01 Jun, 2007 6 commits
  9. 31 May, 2007 3 commits