1. 31 May, 2006 4 commits
    • unknown's avatar
      Merge from 5.0 to 5.1. Third part with fixes. · 62ec077c
      unknown authored
      
      mysql-test/r/mysqldump.result:
        Change in output from low letter to capital letter.
        Fixed test.
      scripts/mysql_create_system_tables.sh:
        definer was removed from part of the key.
      vio/viosocket.c:
        Fixed output from DBUG_PRINT() to match the style
        in other parts of the code.
      62ec077c
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · aca736a4
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.1-new-marvel
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      aca736a4
    • unknown's avatar
      Merge from 5.0 · dd370c9a
      unknown authored
      
      mysql-test/extra/rpl_tests/rpl_insert_id.test:
        Manual merge from 5.0. In 5.0 this was in another file.
      sql/field.cc:
        Removed unused variable.
      dd370c9a
    • unknown's avatar
      Merge gbichot@bk-internal:/home/bk/mysql-5.1-new · c402b006
      unknown authored
      into  dl145j.mysql.com:/users/gbichot/mysql-5.1-new
      
      
      c402b006
  2. 30 May, 2006 8 commits
    • unknown's avatar
      78d3a4f2
    • unknown's avatar
      Merge gbichot@bk-internal:/home/bk/mysql-5.1-new · f0146e9b
      unknown authored
      into  dl145j.mysql.com:/users/gbichot/mysql-5.1-new
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      f0146e9b
    • unknown's avatar
      Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0 · ae26d2aa
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/r/heap_btree.result:
        Auto merged
      mysql-test/r/information_schema_db.result:
        Auto merged
      mysql-test/r/lock_multi.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/view_grant.result:
        Auto merged
      mysql-test/t/lock_multi.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/view_grant.test:
        Auto merged
      mysys/default.c:
        Auto merged
      server-tools/instance-manager/guardian.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/heap/hp_write.c:
        Auto merged
      storage/ndb/src/ndbapi/DictCache.cpp:
        Auto merged
      storage/ndb/src/ndbapi/DictCache.hpp:
        Auto merged
      client/mysqlbinlog.cc:
        Manual merge from 5.0
      client/mysqldump.c:
        Manual merge from 5.0
      configure.in:
        Manual merge from 5.0
      mysql-test/r/mysqldump.result:
        Manual merge from 5.0
      mysql-test/t/mysqldump.test:
        Manual merge from 5.0
      mysql-test/t/rpl_insert_id.test:
        Manual merge from 5.0
      server-tools/instance-manager/manager.cc:
        Manual merge from 5.0
      sql/field.cc:
        Manual merge from 5.0
      sql/ha_ndbcluster.cc:
        Manual merge from 5.0
      sql/mysqld.cc:
        Manual merge from 5.0
      sql/sql_base.cc:
        Manual merge from 5.0
      sql/sql_lex.cc:
        Manual merge from 5.0
      sql/sql_select.cc:
        Manual merge from 5.0
      sql/sql_table.cc:
        Manual merge from 5.0
      ae26d2aa
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8a5ca696
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      8a5ca696
    • unknown's avatar
      Merge mysql.com:/home/alik/MySQL/devel/5.0-rt · 24240329
      unknown authored
      into  mysql.com:/home/alik/MySQL/devel/5.0-tree
      
      
      24240329
    • unknown's avatar
      update show authors · 772758b6
      unknown authored
      772758b6
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/mysql-4.1 · cce062f4
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      client/mysqlbinlog.cc:
        merge
      cce062f4
    • unknown's avatar
      Bug#17204 "second CALL to procedure crashes Server" · 128c3942
      unknown authored
      Bug#18282 "INFORMATION_SCHEMA.TABLES provides inconsistent info about invalid views"
      This bug caused crashes or resulted in wrong data being returned
      when one tried to obtain information from I_S tables about views
      using stored functions.
      
      It was caused by the fact that we were using LEX representing
      statement which were doing select from I_S tables as active LEX
      when contents of I_S table were built. So state of this LEX both
      affected and was affected by open_tables() calls which happened
      during this process. This resulted in wrong behavior and in
      violations of some of invariants which caused crashes.
      
      This fix tries to solve this problem by properly saving/resetting
      and restoring part of LEX which affects and is affected by the
      process of opening tables and views in get_all_tables() routine.
      To simplify things we separated this part of LEX in a new class
      and made LEX its descendant.
      
      
      mysql-test/r/information_schema_db.result:
        test case
      mysql-test/t/information_schema_db.test:
        test case
      sql/sql_lex.cc:
        To simplify saving/resetting and restoring part of LEX which
        affects and is affected by the process of opening tables and
        views we moved it to new class Query_tables_list and made LEX
        descendant of this class. Also introduced two LEX methods 
        which can be used to save and reset or to restore this state.
      sql/sql_lex.h:
        To simplify saving/resetting and restoring part of LEX which
        affects and is affected by the process of opening tables and
        views we moved it to new class Query_tables_list and made LEX
        descendant of this class. Also introduced two LEX methods 
        which can be used to save and reset or to restore this state.
      sql/sql_show.cc:
        Now in get_all_tables() routine we properly save/reset and
        restore part of LEX (statement table list and information
        about routines used) which affects and is affected by the
        process of opening tables and views.
      sql/sql_table.cc:
        Now we clean-up LEX after opening table (view) in two stages.
        In the first stage we call LEX::cleanup_after_one_table_open()
        to clean-up selects lists and derived tables state. In the
        second stage which happens after close_thread_tables() is
        invoked we call Query_tables_list::reset_query_tables_list(FALSE)
        to rollback changes in Query_tables_list.
      128c3942
  3. 29 May, 2006 28 commits