1. 24 Feb, 2006 1 commit
    • unknown's avatar
      Fix for bug #13525 "Rename table does not keep info of triggers". · f8386dfa
      unknown authored
      Let us transfer triggers associated with table when we rename it (but only if
      we are not changing database to which table belongs, in the latter case we will
      emit error).
      
      
      mysql-test/r/trigger.result:
        Added test for bug #13525 "Rename table does not keep info of triggers".
      mysql-test/t/trigger.test:
        Added test for bug #13525 "Rename table does not keep info of triggers".
      sql/sql_rename.cc:
        rename_tables():
          Now after renaming table's .FRM file and updating handler data we call
          Table_triggers_list::change_table_name() which is reponsible for
          updating .TRG and .TRN files.
      sql/sql_table.cc:
        mysql_alter_table():
          Now in case when ALTER should rename table we call
          Table_triggers_list::change_table_name() which is responsible
          for updating .TRG and .TRN files after renaming table.
      sql/sql_trigger.cc:
        Added Table_triggers_list::change_table_name() method and
        change_table_name_in_triggers()/trignames() methods responsible for updating
        .TRG and .TRN files for table during its renaming.
        
        Two small cleanups - removed versioning for .TRG files (since it was not working
        before anyway) and emphasized that type of lock specified in tables list is
        unimportant for DROP TABLE (since this statement uses name-locking).
      sql/sql_trigger.h:
        Table_triggers_list:
          Added on_table_names_list member to store pointers and lenghts of
          "ON table_name" parts in triggers' definitions to be able easily
          change them during RENAME TABLE.
          Added change_table_name() method and change_table_name_in_trignames/triggers()
          helper methods responsible for updating .TRG and .TRN files.
      sql/sql_yacc.yy:
        trigger_tail:
          To be able properly update triggers' definitions with new table names
          when renaming tables we need to know where in CREATE TRIGGER statement
          "ON db_name.table_name" part resides.
          Small cleanup - let us emphasize that for CREATE TRIGGER statement 
          lock type which is specified in table list is unimportant since
          name-locking is used.
      f8386dfa
  2. 21 Dec, 2005 3 commits
  3. 20 Dec, 2005 2 commits
  4. 19 Dec, 2005 7 commits
    • unknown's avatar
      Bug #15772 Aborted YaSSL connections force threads into busyloops · 28999410
      unknown authored
        - Report error when there is nothing to read after wait.
      
      
      extra/yassl/src/handshake.cpp:
        Report error if there is nothing to read after a blocking read
      28999410
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3823cfa9
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0
      
      
      3823cfa9
    • unknown's avatar
      Fix for bug#14271 I_S: columns has no size for (var)binary columns · d920097a
      unknown authored
        set character_octet_length, character_maximum_length for
        binary and varbinary field types
      
      
      mysql-test/r/information_schema.result:
        Fix for bug#14271 I_S: columns has no size for (var)binary columns
          test case
      mysql-test/t/information_schema.test:
        Fix for bug#14271 I_S: columns has no size for (var)binary columns
          test case
      d920097a
    • unknown's avatar
      Fix for bug#14861 aliased column names are not preserved. · c7a440d1
      unknown authored
        Create tmp table filed using original item name when it's necessary
      
      
      mysql-test/r/view.result:
        Fix for bug#14861 aliased column names are not preserved.
          test case
      mysql-test/t/view.test:
        Fix for bug#14861 aliased column names are not preserved.
          test case
      c7a440d1
    • unknown's avatar
      Bug#12770 DESC cannot display the info. about temporary table · 479a02fa
      unknown authored
      Bug#14387 SHOW COLUMNS doesn't work on temporary tables.
      Bug#15224 SHOW INDEX from temporary table doesn't work.
        Restore thd->temporary_tables to be able to process
        temporary tables(only for 'show index' & 'show columns').
        This should be changed when processing of temporary tables for
        I_S tables will be done.
      
      
      mysql-test/r/information_schema.result:
        Bug#12770 DESC cannot display the info. about temporary table
        Bug#14387 SHOW COLUMNS doesn't work on temporary tables.
        Bug#15224 SHOW INDEX from temporary table doesn't work.
          test case
      mysql-test/t/information_schema.test:
        Bug#12770 DESC cannot display the info. about temporary table
        Bug#14387 SHOW COLUMNS doesn't work on temporary tables.
        Bug#15224 SHOW INDEX from temporary table doesn't work.
          test case
      479a02fa
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · adc0c223
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/cleanup
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      adc0c223
    • unknown's avatar
      mysql-test-run.pl: · 21620190
      unknown authored
        Script "my_print_defaults" is to be searched for as executable
      
      
      mysql-test/mysql-test-run.pl:
        Script "my_print_defaults" is to be searched for as executable
      21620190
  5. 18 Dec, 2005 6 commits
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · 1a2bc657
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0
      
      
      1a2bc657
    • unknown's avatar
      Merge · 2de5c141
      unknown authored
      
      mysql-test/r/ndb_basic.result:
        Auto merged
      mysql-test/r/ndb_multi.result:
        Auto merged
      mysql-test/t/ndb_basic.test:
        Auto merged
      mysql-test/t/ndb_multi.test:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      2de5c141
    • unknown's avatar
      Makefile.am: · a3a5df43
      unknown authored
        Added 5.0 specific build scripts
      
      
      BUILD/Makefile.am:
        Added 5.0 specific build scripts
      a3a5df43
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · de1c06b9
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      BUILD/Makefile.am:
        Auto merged
      de1c06b9
    • unknown's avatar
      Merge · aa6d8551
      unknown authored
      aa6d8551
    • unknown's avatar
      Makefile.am: · e97a4a4a
      unknown authored
        Adjusted listing of files to put into source TAR
      
      
      e97a4a4a
  6. 17 Dec, 2005 1 commit
  7. 16 Dec, 2005 4 commits
  8. 15 Dec, 2005 8 commits
    • unknown's avatar
      Fixed stress parts in shell and perl versions of mysql-test-run script to limit stress testing · 7c4ada14
      unknown authored
      with 20 test loops in case when any limit parameter was specified
      
      
      
      mysql-test/lib/mtr_stress.pl:
        Limit stress testing with 20 test loops in case when any limit parameter was specified
      mysql-test/mysql-test-run.pl:
        Limit stress testing with 20 test loops in case when any limit parameter was specified
      mysql-test/mysql-test-run.sh:
        Limit stress testing with 20 test loops in case when any limit parameter was specified
      7c4ada14
    • unknown's avatar
      Merge mysql.com:/home/alexi/dev/mysql-4.1-12440 · 4db14a57
      unknown authored
      into  mysql.com:/home/alexi/dev/mysql-5.0-12440
      
      
      mysql-test/r/type_time.result:
        Auto merged
      ndb/src/ndbapi/NdbImpl.hpp:
        Auto merged
      ndb/src/ndbapi/NdbRecAttr.cpp:
        Auto merged
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      zlib/Makefile.am:
        Auto merged
      4db14a57
    • unknown's avatar
      Fixed BUG #12440: "Incorrect processing of time values containing · 52c04400
      unknown authored
       long fraction and/or large exponent part".
      
      
      mysql-test/r/type_time.result:
        Fixed testcases results (bug #12440)
      mysql-test/t/type_time.test:
        Added testcases for bug #12440
      sql-common/my_time.c:
        Fixed bug #12440: "Incorrect processing of time values containing
         long fraction and/or large exponent part".
         Modified str_to_time(). Process properly fraction part containing
         more than 6 digits. Check for existence of exponent part which
         may result from %g formatting applied to time value specified as
         large real number.
      52c04400
    • unknown's avatar
      Makefile.am: · b6aaf4f6
      unknown authored
        - libtool wants spaces on parameters for its command line options
      
      
      zlib/Makefile.am:
        - libtool wants spaces on parameters for its command line options
      b6aaf4f6
    • unknown's avatar
      Makefile.am: · 4e971ef7
      unknown authored
        - libtool wants spaces on parameters for its command line options
      
      
      zlib/Makefile.am:
        - libtool wants spaces on parameters for its command line options
      4e971ef7
    • unknown's avatar
      Makefile.am: · 0b42809f
      unknown authored
        - Modified zlib/Makefile.am to generate libz.so.1.2.3 instead of libz.so.0.0.0
      
      
      zlib/Makefile.am:
        - Modified zlib/Makefile.am to generate libz.so.1.2.3 instead of libz.so.0.0.0
      0b42809f
    • unknown's avatar
      Merge rparranovo@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9c695ffe
      unknown authored
      into  mysql.com:/home/novo/MySQL/mysql-5.0
      
      
      9c695ffe
    • unknown's avatar
      Makefile.am: · 3cae8831
      unknown authored
        - modified zlib/Makefile.am so we now generate libz.so.1.2.3 instead of libz.so.0.0.0
      
      
      zlib/Makefile.am:
        - modified zlib/Makefile.am so we now generate libz.so.1.2.3 instead of libz.so.0.0.0
      3cae8831
  9. 14 Dec, 2005 8 commits