1. 10 Mar, 2006 5 commits
    • unknown's avatar
      Additional fix for BUG#16777: Can not create trigger nor view · cf539a5a
      unknown authored
      w/o definer if --skip-grant-tables specified.
        
      The previous patch does not allow to specify empty host name in
      DEFINER-clause explicitly.
      
      
      mysql-test/r/skip_grants.result:
        Updated the result file.
      mysql-test/r/view_grant.result:
        Updated the result file.
      mysql-test/t/skip_grants.test:
        Added test cases for BUG#16777; re-organized tests.
      mysql-test/t/view_grant.test:
        Updated after final fix of BUG#16777.
      sql/sql_parse.cc:
        The final part of fixing BUG#16777: allow empty host name in explicitly
        specified DEFINER-clause.
      sql/sql_show.cc:
        Quote an identifier if it is empty.
      cf539a5a
    • unknown's avatar
      Fixed bug#13575: SP funcs in select with distinct/group and order by can · 50c8c206
      unknown authored
      produce wrong data
      
      By default Item_sp_func::val_str() returns string from it's result_field 
      internal buffer. When grouping is present Item_copy_string is used to 
      store SP function result, but it doesn't additionally buffer the result.
      When the next record is read, internal buffer is overwritten, due to
      this Item_copy_string::val_str() will have wrong data. Thus producing
      weird query result.
      
      The Item_func_sp::val_str() now makes a copy of returned value to prevent
      occasional corruption.
      
      
      mysql-test/t/sp.test:
        Added test case for bug#13575: SP funcs in select with distinct/group and order by can
        produce wrong data
      mysql-test/r/sp.result:
        Added test case for bug#13575: SP funcs in select with distinct/group and
            order by can produce wrong data
      sql/item_func.h:
        Fixed bug#13575: SP funcs in select with distinct/group and order by can
            produce wrong data
            The Item_func_sp::val_str() now makes a copy of returned value to prevent
            occasinal corruption.
      50c8c206
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 58bf749f
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      58bf749f
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · 69636739
      unknown authored
      into  zim.(none):/home/brian/mysql/mysql-5.0
      
      
      69636739
    • unknown's avatar
      This patch does 1) fix my build breakage 2) Complete the removal of all... · 01d69c4b
      unknown authored
      This patch does 1) fix my build breakage  2) Complete the removal of all symbols which could clash with another parser. 
      
      
      sql/mysql_priv.h:
        Porting update
      sql/mysqld.cc:
        Porting update
      sql/sp.cc:
        Porting update
      sql/sql_lex.cc:
        Porting update
      sql/sql_lex.h:
        Porting update
      sql/sql_parse.cc:
        Porting update
      sql/sql_prepare.cc:
        Portinng update
      sql/sql_trigger.cc:
        Porting update
      sql/sql_view.cc:
        Porting update
      01d69c4b
  2. 09 Mar, 2006 11 commits
  3. 08 Mar, 2006 8 commits
  4. 07 Mar, 2006 9 commits
  5. 06 Mar, 2006 7 commits
    • unknown's avatar
      after merge · b2676606
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        tests depend on umask
      b2676606
    • unknown's avatar
      Fix typo · 01a35c19
      unknown authored
      
      client/mysqltest.c:
        Fix typo, add extra "s"
      01a35c19
    • unknown's avatar
      Revert · e33e0bfc
      unknown authored
      
      mysql-test/lib/mtr_misc.pl:
        Revert change to outpout exe path and name in win format
      e33e0bfc
    • unknown's avatar
      Remove unused var · 187f89a4
      unknown authored
      Reduce code
      
      
      client/mysqltest.c:
        Remove the "cmd" variable in do_sleep, left unintentionaly after merge
        Implement the same elegeant solution to fund the command name in do_modify_ar
      187f89a4
    • unknown's avatar
      compilation fixes · 502b3073
      unknown authored
      
      BitKeeper/etc/ignore:
        Added include/openssl to the ignore list
      502b3073
    • unknown's avatar
      Win fixes · 4a311f0a
      unknown authored
       - Use tmp sh file both in system and popen 
      
      
      client/mysqltest.c:
        Introduce common functions to handle unix emulation on windows using a temporary sh file.
        Use it both in my_popen and my_system.
      mysql-test/r/mysqltest.result:
        Update test result
      mysql-test/t/mysqltest.test:
        Fix "windows paths" in three places that doesn't automatically get fixed
        Uset the output file mysqltest.sql instead of con.sql as con is not an allowed filename on Windows
        Use system for util functions
      4a311f0a
    • unknown's avatar
      Use grep instead of egrep · 57839602
      unknown authored
      Use system inestad of exec
      
      
      mysql-test/t/trigger-grant.test:
        Use "system" instead of exec for system admin tasks
        No need to use "egrep", changing to "grep"
      57839602