1. 28 Jul, 2007 1 commit
    • unknown's avatar
      show_check.result: · 7a72380d
      unknown authored
        Addendum to thr fix for bug 30000:
        show procedure/function code defined only in debug builds
      show_check.test:
        Addendum to thr fix for bug 30000: 
        show procedure/function code defined only in debug builds
      
      
      mysql-test/t/show_check.test:
        Addendum to thr fix for bug 30000: 
        show procedure/function code defined only in debug builds
      mysql-test/r/show_check.result:
        Addendum to thr fix for bug 30000:
        show procedure/function code defined only in debug builds
      7a72380d
  2. 27 Jul, 2007 10 commits
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · b77a4a7b
      unknown authored
      into  mysql.com:/home/hf/work/29878/my51-29878
      
      b77a4a7b
    • unknown's avatar
      Merge mysql.com:/home/hf/work/29878/my50-29878 · 9e33e325
      unknown authored
      into  mysql.com:/home/hf/work/29878/my51-29878
      
      
      mysql-test/suite/rpl/r/rpl_session_var.result:
        Auto merged
      mysql-test/suite/rpl/t/rpl_session_var.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      9e33e325
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 2275dc0e
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B30000-5.1-opt
      
      2275dc0e
    • unknown's avatar
      Bug #30000: SHOW commands once again ends up in the · 4f88fafd
      unknown authored
       slow query log
      Disable the SHOW commands to appear in the show query
      log.
      Update the commands type array.
      
      
      mysql-test/r/show_check.result:
        Bug #30000: test case
      mysql-test/t/show_check.test:
        Bug #30000: test case
      sql/sql_parse.cc:
        Bug #30000: skip SHOW commands from the
        slow query log.
      4f88fafd
    • unknown's avatar
      fixing the 5.1-opt merge of the fix for bug 29571: · 14bc8d09
      unknown authored
      cannot check the statments in the binlog for row based 
      replication.
      
      14bc8d09
    • unknown's avatar
      Bug #29878 Garbage data generation when executing SESSION_USER() on a slave. · e35c8aa4
      unknown authored
      Item_func_user doesn't calculate anything in it's val_str() method,
      just returns saved str_value.
      Though Item::save_in_field method can destroy str_value, relying on
      val_str() return. As a result we get the garbage stored in field.
      
      We cannot use Item::save_in_field implementation for Item_func_user,
      reimplement it in simpler way.
      
      
      mysql-test/r/rpl_session_var.result:
        Bug #29878 Garbage data generation when executing SESSION_USER() on a slave.
        
        test result
      mysql-test/t/rpl_session_var.test:
        Bug #29878 Garbage data generation when executing SESSION_USER() on a slave.
        
        test case
      sql/item.cc:
        Bug #29878 Garbage data generation when executing SESSION_USER() on a slave.
        
        duplicating code moved to Item::save_str_in_field
      sql/item.h:
        Bug #29878 Garbage data generation when executing SESSION_USER() on a slave.
        
        duplicating code moved to Item::save_str_in_field
      sql/item_strfunc.h:
        Bug #29878 Garbage data generation when executing SESSION_USER() on a slave.
        
        Item_func_user::save_in_field implemented as simple storing str_value
      e35c8aa4
    • unknown's avatar
    • unknown's avatar
      5.0-opt -> 5.1-opt merge of the test case for bug 29571: · 28043f17
      unknown authored
       - reset the logs before and after the test.
       - cleanup from the previous tests : use the correct schema.
      
      
      mysql-test/extra/rpl_tests/rpl_insert_delayed.test:
        5.0-opt -> 5.1-opt merge of the test case for bug 29571.
      mysql-test/suite/rpl/r/rpl_stm_insert_delayed.result:
        5.0-opt -> 5.1-opt merge of the test case for bug 29571.
      28043f17
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 6f8f899a
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B30036-5.1-opt
      
      6f8f899a
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · ac2cd6d6
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      sql/sql_insert.cc:
        Auto merged
      BitKeeper/deleted/.del-bdb.result:
        Auto merged
      BitKeeper/deleted/.del-ha_berkeley.cc:
        Auto merged
      BitKeeper/deleted/.del-rpl_insert_delayed.result:
        Auto merged
      mysql-test/extra/rpl_tests/rpl_insert_delayed.test:
        Auto merged
      sql/sql_select.cc:
        Merge with 5.0-opt.
      sql/table.cc:
        Merge with 5.0-opt.
      ac2cd6d6
  3. 26 Jul, 2007 8 commits
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · d26eb0b3
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.0-bdb-fix
      
      d26eb0b3
    • unknown's avatar
      BUG#28591: make the fix work for BDB tables too: · 532a96cb
      unknown authored
       - make ha_berkeley::cmp_ref() take into account that auto-generated PKs 
         are stored in LSB-first order. 
       - Remove the temporary code that made the bugfix work for innodb only 
      
      
      mysql-test/r/bdb.result:
        Adjust test-results.
      sql/ha_berkeley.cc:
        BUG#28591: make the fix work for BDB tables too:
         - make ha_berkeley::cmp_ref() take into account that auto-generated PKs 
           are stored in LSB-first order.
      sql/sql_select.cc:
        BUG#28591: Remove "innodb only" clause as the fix now works for BDB too
      sql/table.cc:
        BUG#28591: Remove "innodb only" clause as the fix now works for BDB too
      532a96cb
    • unknown's avatar
      Bug #30036: SHOW TABLE TYPES causes the debug client to crash · 97a31041
      unknown authored
      SHOW TABLE TYPES is a (to be deprecated) synonym for 
      SHOW STORAGE ENGINES.
      Fixed to use the right schema table in addition to 
      issuing a warning.
      
      
      mysql-test/r/show_check.result:
        Bug #30036: test case
      mysql-test/t/show_check.test:
        Bug #30036: test case
      sql/sql_yacc.yy:
        Bug #30036: use the right schema table
      97a31041
    • unknown's avatar
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · f413cb81
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B29571-5.0-opt
      
      
      sql/sql_insert.cc:
        Auto merged
      f413cb81
    • unknown's avatar
      Bug #29571: INSERT DELAYED IGNORE written to binary log on · fb41c7da
      unknown authored
       the master but on the slave
      
      MySQL can decide to "downgrade" a INSERT DELAYED statement
      to normal insert in certain situations.
      One such situation is when the slave is replaying a 
      replication feed.
      However INSERT DELAYED is logged even if there're no updates
      whereas the NORMAL INSERT is not logged in such cases.
      
      Fixed by always logging a "downgraded" INSERT DELAYED: even 
      if there were no updates.
      
      
      mysql-test/r/rpl_insert_delayed.result:
        Bug #29571: test case
      mysql-test/t/rpl_insert_delayed.test:
        Bug #29571: test case
      sql/sql_insert.cc:
        Bug #29571: log INSERT DELAYED even if it was 
        "downgraded" to INSERT (and there were no updates)
      fb41c7da
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · 187ec4f2
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/t/create.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/r/create.result:
        Merge with 5.0-opt.
      187ec4f2
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.1 · 6bdde5cd
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/r/create.result:
        Merge with 5.1 (main).
      6bdde5cd
  4. 25 Jul, 2007 5 commits
    • unknown's avatar
      table.cc, sql_select.cc: · a20f775a
      unknown authored
        Post-merge fix.
      
      
      sql/sql_select.cc:
        Post-merge fix.
      sql/table.cc:
        Post-merge fix.
      a20f775a
    • unknown's avatar
      sql_select.cc: · f47b0fee
      unknown authored
        Post-merge fix.
      
      
      sql/sql_select.cc:
        Post-merge fix.
      f47b0fee
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0 · 85958a80
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      mysql-test/t/create.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/r/create.result:
        Merge with 5.0 (main).
      85958a80
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · 02049254
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/having.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/having.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/include/mix1.inc:
        Merge with 5.0-opt.
      mysql-test/r/create.result:
        Merge with 5.0-opt.
      mysql-test/r/innodb_mysql.result:
        Merge with 5.0-opt.
      mysql-test/r/type_enum.result:
        Merge with 5.0-opt.
      mysql-test/t/type_enum.test:
        Merge with 5.0-opt.
      sql/filesort.cc:
        Merge with 5.0-opt.
      sql/sql_base.cc:
        Merge with 5.0-opt.
      sql/table.cc:
        Merge with 5.0-opt.
      storage/innobase/handler/ha_innodb.cc:
        Merge with 5.0-opt.
      02049254
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/4.1-opt · 7193ebc0
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      7193ebc0
  5. 24 Jul, 2007 6 commits
    • unknown's avatar
      Merge bodhi.(none):/opt/local/work/mysql-5.0-runtime · dc68fa08
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      dc68fa08
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 0f423388
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      0f423388
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · a08bddd0
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      a08bddd0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 40932e9f
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.0-runtime
      
      40932e9f
    • unknown's avatar
      Bug#15130: CREATE .. SELECT was denied to use advantages of the SQL_BIG_RESULT. · 7fc76f30
      unknown authored
      When the SQL_BIG_RESULT flag is specified SELECT should store items from the
      select list in the filesort data and use them when sending to a client.
      The get_addon_fields function is responsible for creating necessary structures
      for that. But this function was allowed to do so only for SELECT and
      INSERT .. SELECT queries. This makes the SQL_BIG_RESULT useless for
      the CREATE .. SELECT queries.
      
      Now the get_addon_fields allows storing select list items in the filesort
      data for the CREATE .. SELECT queries.
      
      
      mysql-test/t/create.test:
        Added a test case for the bug#15130: CREATE .. SELECT was denied to use
        advantages of the SQL_BIG_RESULT.
      mysql-test/r/create.result:
        Added a test case for the bug#15130: CREATE .. SELECT was denied to use
        advantages of the SQL_BIG_RESULT.
      sql/filesort.cc:
        Bug#15130: CREATE .. SELECT was denied to use advantages of the SQL_BIG_RESULT.
        Now the get_addon_fields allows storing select list items in the filesort
        data for the CREATE .. SELECT queries.
      7fc76f30
    • unknown's avatar
      Bug#29993 (Default value of log_output should be 'FILE', not 'TABLE') · 8cc45c05
      unknown authored
      Changed the default location of the log output to LOG_FILE,
      for backward compatibility with MySQL 5.0
      
      
      mysql-test/r/log_state.result:
        Changed the default location of the log output to LOG_FILE,
        for backward compatibility with MySQL 5.0
      sql/set_var.cc:
        Changed the default location of the log output to LOG_FILE,
        for backward compatibility with MySQL 5.0
      8cc45c05
  6. 23 Jul, 2007 5 commits
    • unknown's avatar
      coding style fix : Index_hint · a8c63085
      unknown authored
      a8c63085
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 2e4369ca
      unknown authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B29644-5.0-opt
      
      
      sql/ha_innodb.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        5.0-opt merge
      mysql-test/t/innodb_mysql.test:
        5.0-opt merge
      2e4369ca
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · b3557f8d
      unknown authored
      into  olga.mysql.com:/home/igor/mysql-5.0-opt
      
      b3557f8d
    • unknown's avatar
      table.cc, sql_select.cc: · 0b208f59
      unknown authored
        Limit the fix for bug 28591 to InnoDB only
      
      
      sql/sql_select.cc:
        Limit the fix for bug 28591 to InnoDB only
      sql/table.cc:
        Limit the fix for bug 28591 to InnoDB only
      0b208f59
    • unknown's avatar
      Fixed bug #29611. · 51f919dc
      unknown authored
      If a primary key is defined over column c of enum type then 
      the EXPLAIN command for a look-up query of the form
        SELECT * FROM t WHERE c=0
      said that the query was with an impossible where condition though the
      query correctly returned non-empty result set when the table indeed 
      contained rows with error empty strings for column c. 
      
      This kind of misbehavior was due to a bug in the function 
      Field_enum::store(longlong,bool) that erroneously returned 1 if
      the the value to be stored was equal to 0. 
      Note that the method 
      Field_enum::store(const char *from,uint length,CHARSET_INFO *cs)
      correctly returned 0 if a value of the error empty string 
      was stored. 
      
      
      mysql-test/r/type_enum.result:
        Added a test case for bug #29661.
      mysql-test/t/type_enum.test:
        Added a test case for bug #29661.
      sql/field.cc:
        Fixed bug #29611.
        If a primary key was defined over column c of enum type then 
        the EXPLAIN command for a look-up query of the form
          SELECT * FROM t WHERE c=0
        said that the query was with an impossible where condition though the
        query correctly returned non-empty result set when the table indeed 
        contained rows with error empty strings for column c. 
        
        This kind of misbehavior was due to a bug in the function 
        Field_enum::store(longlong,bool) that erroneously returned 1 if
        the the value to be stored was equal to 0. 
        Note that the method 
        Field_enum::store(const char *from,uint length,CHARSET_INFO *cs)
        correctly returned 0 if a value of the error empty string 
        was stored.
      51f919dc
  7. 22 Jul, 2007 5 commits