1. 27 Mar, 2005 1 commit
    • unknown's avatar
      Fix for bugs #5859 "DROP TABLE does not drop triggers" and · 2c5d427c
      unknown authored
      #6559 "DROP DATABASE forgets to drop triggers".
      
      If we drop table we should also drop all triggers associated with it.
      To do this we have to check for existence of .TRG file when we are 
      dropping table and delete it too.
      
      
      mysql-test/r/trigger.result:
        Added tests for bugs #5859 "DROP TABLE does not drop triggers"
        and #6559 "DROP DATABASE forgets to drop triggers".
      mysql-test/t/trigger.test:
        Added tests for bugs #5859 "DROP TABLE does not drop triggers"
        and #6559 "DROP DATABASE forgets to drop triggers".
      sql/handler.cc:
        Added .TRG to the list of known extensions of files associated with 
        tables.
      sql/mysql_priv.h:
        Added declaration of constant holding extension for trigger files.
      sql/sql_table.cc:
        mysql_rm_table_part2():
          If we drop table we should also drop all triggers associated with it.
          To do this we have to check for existence of .TRG file and delete it
          (until the moment when we will store trigger definitions in the same
           .FRM file as table description).
      sql/sql_trigger.cc:
        Made constant holding extension for trigger files externally visible.
      2c5d427c
  2. 25 Mar, 2005 27 commits
  3. 24 Mar, 2005 12 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · cdf8e293
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      
      cdf8e293
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 9ec5da11
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      9ec5da11
    • unknown's avatar
      Removed faulty merge · 4f1e4973
      unknown authored
      
      sql/sql_parse.cc:
        The strange merge occured because this code shouldn't be there
      4f1e4973
    • unknown's avatar
      Manual merge · d0b3cb68
      unknown authored
      
      mysql-test/r/type_blob.result:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Strange merge conflict
      d0b3cb68
    • unknown's avatar
      testing repl of timezone with LOAD DATA INFILE (hourra!) · fa4a075b
      unknown authored
      
      mysql-test/r/rpl_timezone.result:
        result update
      fa4a075b
    • unknown's avatar
      rpl_deadlock.result: · e56418c5
      unknown authored
        result update (default value changed from 4.1 to 5.0)
      
      
      mysql-test/r/rpl_deadlock.result:
        result update (default value changed from 4.1 to 5.0)
      e56418c5
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · e6717497
      unknown authored
      into quadita2.mysql.com:/nfstmp1/guilhem/mysql-5.0-4ita
      
      
      sql/mysqld.cc:
        Auto merged
      e6717497
    • unknown's avatar
      myisamchk.c: · ed124ab6
      unknown authored
        Wrong help string fix.
      
      
      myisam/myisamchk.c:
        Wrong help string fix.
      ed124ab6
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 73c6430a
      unknown authored
      into mysql.com:/usr/home/bar/mysql-4.1
      
      
      73c6430a
    • unknown's avatar
      Fixed that LEFT OUTER JOIN was replaced with a regulat join · 9b2e4c7c
      unknown authored
      in some cases, because "charset(x) = 'string'" was considered
      as "x is not null" due to incorrect not_null_tables().
      
      
      9b2e4c7c
    • unknown's avatar
      merge from 4.1 · 23da6e5e
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      libmysql/Makefile.shared:
        Auto merged
      mysql-test/r/rpl_deadlock.result:
        Auto merged
      mysql-test/t/rpl_deadlock.test:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/structs.h:
        Auto merged
      sql/slave.cc:
        merge
      sql/slave.h:
        merge
      sql/sql_show.cc:
        merge
      23da6e5e
    • unknown's avatar
      Bug #9317: Wrong count for tables in INFORMATION_SCHEMA · a7f5977c
      unknown authored
        there was no check of result of 
        table->file->write_row() function. When count of rows was
        more than table max_rows(HEAP table) the following recodrs
        were not inserted to the table
        -'schema_table_store_record' function is added. 
          The function checks result of write_row function
          and convert HEAP table to MyISAM if necessary
        - Result check after write_row is added into all 
          I_S function which store the records to I_S tables  
      
      
      mysql-test/r/information_schema.result:
        Bug #9317: Wrong count for tables in INFORMATION_SCHEMA
      mysql-test/t/information_schema.test:
        Bug #9317: Wrong count for tables in INFORMATION_SCHEMA
      sql/sql_select.cc:
        Bug #9317: Wrong count for tables in INFORMATION_SCHEMA
      sql/sql_show.cc:
        Bug #9317: Wrong count for tables in INFORMATION_SCHEMA
      sql/table.h:
        Bug #9317: Wrong count for tables in INFORMATION_SCHEMA
      a7f5977c