1. 24 Feb, 2006 1 commit
    • unknown's avatar
      Fix for bug #13525 "Rename table does not keep info of triggers". · 925d168a
      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.
      925d168a
  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 · d8168073
      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
      d8168073
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9a9ff99f
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0
      
      9a9ff99f
    • unknown's avatar
      Fix for bug#14271 I_S: columns has no size for (var)binary columns · bc66ca62
      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
      bc66ca62
    • unknown's avatar
      Fix for bug#14861 aliased column names are not preserved. · 8ba5e3c8
      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
      8ba5e3c8
    • unknown's avatar
      Bug#12770 DESC cannot display the info. about temporary table · 959ce241
      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
      959ce241
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · 1d3c2fa4
      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
      1d3c2fa4
    • unknown's avatar
      mysql-test-run.pl: · 5842612f
      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
      5842612f
  5. 18 Dec, 2005 6 commits
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · da24d68b
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0
      
      da24d68b
    • unknown's avatar
      Merge · 31cdf4fb
      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
      31cdf4fb
    • unknown's avatar
      Makefile.am: · cb56c1f1
      unknown authored
        Added 5.0 specific build scripts
      
      
      BUILD/Makefile.am:
        Added 5.0 specific build scripts
      cb56c1f1
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · f0846e3c
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      BUILD/Makefile.am:
        Auto merged
      f0846e3c
    • unknown's avatar
      Merge · 362c8533
      unknown authored
      362c8533
    • unknown's avatar
      Makefile.am: · c826080d
      unknown authored
        Adjusted listing of files to put into source TAR
      
      c826080d
  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 · 10aaad65
      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
      10aaad65
    • unknown's avatar
      Merge mysql.com:/home/alexi/dev/mysql-4.1-12440 · bf4b5b39
      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
      bf4b5b39
    • unknown's avatar
      Fixed BUG #12440: "Incorrect processing of time values containing · 3d6179e7
      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.
      3d6179e7
    • unknown's avatar
      Makefile.am: · f0e7907c
      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
      f0e7907c
    • unknown's avatar
      Makefile.am: · 792f813c
      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
      792f813c
    • unknown's avatar
      Makefile.am: · 7ffb48ea
      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
      7ffb48ea
    • unknown's avatar
      Merge rparranovo@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8bff98a4
      unknown authored
      into  mysql.com:/home/novo/MySQL/mysql-5.0
      
      8bff98a4
    • unknown's avatar
      Makefile.am: · 5265fa41
      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
      5265fa41
  9. 14 Dec, 2005 8 commits