1. 21 Jan, 2007 2 commits
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · af23ddf6
      unknown authored
      into  zim.(none):/home/brian/mysql/archive-newformat-5.1
      
      
      af23ddf6
    • unknown's avatar
      1) New dirty state for files (need this for longterm fast recovery) · e633d9ba
      unknown authored
      2) We now store shortest and longest row information.
      3) archive_reader can now check and backup files (even if they are hot)
      4) We now record longest and shortest row information for stats. 
      
      
      storage/archive/archive_reader.c:
        Added options for:
        1) Online backup for tables
        2) Check table option.
      storage/archive/archive_test.c:
        Additional test, format is now the same as an actual table.
      storage/archive/azio.c:
        Fixed issue closing files multiple times.
        Added option for recording longest and shortest rows. 
        Additional "dirty" state added.
      storage/archive/azlib.h:
        Added additional space for longest and shortest row information.
      storage/archive/ha_archive.cc:
        Cleaned up warming and removed unneeded close.
      e633d9ba
  2. 17 Jan, 2007 1 commit
  3. 15 Jan, 2007 2 commits
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp2/mysql-5.0-build · ffbb896b
      unknown authored
      into  mysql.com:/home/kent/bk/tmp2/mysql-5.1-build
      
      
      mysys/my_read.c:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      support-files/MySQL-shared-compat.spec.sh:
        Auto merged
      BitKeeper/deleted/.del-mysqld.dsp~ffdbf2d234e23e56:
        Auto merged
      BitKeeper/deleted/.del-mysqldemb.dsp~1baf8c0e59ee9f7e:
        Auto merged
      BitKeeper/deleted/.del-mysqldmax.dsp~5d213fe1c204142e:
        Auto merged
      BitKeeper/deleted/.del-mysqlserver.dsp~d99cfb2d291e3785:
        Auto merged
      storage/innobase/buf/buf0buf.c:
        Auto merged
      storage/innobase/fil/fil0fil.c:
        Auto merged
      storage/innobase/ha/ha0ha.c:
        Auto merged
      storage/innobase/ha/hash0hash.c:
        Auto merged
      storage/innobase/include/hash0hash.h:
        Auto merged
      storage/innobase/lock/lock0lock.c:
        Auto merged
      storage/innobase/log/log0recv.c:
        Auto merged
      storage/innobase/thr/thr0loc.c:
        Auto merged
      ffbb896b
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-build · 32b01395
      unknown authored
      into  mysql.com:/home/kent/bk/tmp2/mysql-5.1-build
      
      
      configure.in:
        Auto merged
      32b01395
  4. 14 Jan, 2007 5 commits
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · 5e64051b
      unknown authored
      into  trift2.:/MySQL/M51/tmp-5.1
      
      
      sql/table.cc:
        Auto merged
      5e64051b
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 · dd4ef9c7
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.1-arch
      
      
      dd4ef9c7
    • unknown's avatar
      Updates to archive_reader. · cc57b75c
      unknown authored
      
      storage/archive/archive_reader.c:
        Skeleton for future work.
      storage/archive/ha_archive.cc:
        Set unpack for Windows
      cc57b75c
    • unknown's avatar
      More windows warnings cleanup · def460af
      unknown authored
      
      storage/archive/ha_archive.cc:
        More windows warnings clean up.
      storage/archive/ha_archive.h:
        Change in prototype to clear windows warning.
      def460af
    • unknown's avatar
      REAL_PATH was rewritten for DATA DIRECTORY (doesn't get calculated for each... · 518a4e0e
      unknown authored
      REAL_PATH was rewritten for DATA DIRECTORY (doesn't get calculated for each table open, and won't be calculted more then once now).
      Windows warnings cleanup.
      
      I am still get a weird warning about file descriptors closed multiple times.
      
      
      storage/archive/ha_archive.cc:
        Cleanup from Windows warnings.
        REAL_PATH has been rewritten.
      storage/archive/ha_archive.h:
        real_path holds the full path of the non-symlinked version
      518a4e0e
  5. 13 Jan, 2007 2 commits
  6. 12 Jan, 2007 10 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 68bd8af2
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-5.1-runtime
      
      
      mysql-test/t/csv.test:
        Auto merged
      server-tools/instance-manager/guardian.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      68bd8af2
    • unknown's avatar
      Fixed windows build break · 9c06a0b3
      unknown authored
      
      sql/CMakeLists.txt:
        Fixed windows build break, file item_uniq.cc has been removed.
      9c06a0b3
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 8f5e92e0
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-22687
      
      
      libmysqld/Makefile.am:
        Auto merged
      sql/Makefile.am:
        Auto merged
      BitKeeper/deleted/.del-item_uniq.cc:
        Auto merged
      BitKeeper/deleted/.del-item_uniq.h:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      8f5e92e0
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0 · 2cc1c479
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      sql/mysqld.cc:
        Auto merged
      2cc1c479
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · 5a809546
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      mysql-test/r/order_by.result:
        Auto merged
      mysql-test/t/order_by.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      mysql-test/r/join.result:
        manual merge
      mysql-test/t/join.test:
        manual merge
      5a809546
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.1 · cf76bb51
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      sql/mysqld.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      cf76bb51
    • unknown's avatar
      Bug#24660: "enum" field type definition problem · cf0857d0
      unknown authored
      ENUMs weren't allowed to have character 0xff, a perfectly good
      character in some locales.  This was circumvented by mapping 0xff in
      ENUMs to ',', thereby prevent actual commas from being used. Now if
      0xff makes an appearance, we find a character not used in the enum and
      use that as a separator. If no such character exists, we throw an
      error.
      
      Any solution would have broken some sort of existing behaviour. This
      solution should serve both fractions (those with 0xff and those with
      ',' in their enums), but WILL REQUIRE A DUMP/RESTORE CYCLE FROM THOSE
      WITH 0xff IN THEIR ENUMS. :-/ That is, mysqldump with their current
      server, and restore when upgrading to one with this patch.
      
      
      mysql-test/r/type_enum.result:
        Bug#24660: "enum" field type definition problem
        
        Show that enums can now contain NAMES_SEP_CHAR (0xff, which is a perfectly respectable
        char in some locales), or ',', or both.
      mysql-test/t/type_enum.test:
        Bug#24660: "enum" field type definition problem
        
        Show that enums can now contain NAMES_SEP_CHAR (0xff, which is a perfectly respectable
        char in some locales), or ',', or both.
      sql/table.cc:
        Bug#24660: "enum" field type definition problem
        
        Revert fix for Bug#20922.
      sql/unireg.cc:
        Bug#24660: "enum" field type definition problem
        
        Use a field-separator for ENUM-values that is not part of those values. If impossible,
        throw error.
      cf0857d0
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/4.1 · 7a9892cc
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0
      
      
      7a9892cc
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · 36e7e727
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0
      
      
      sql/mysqld.cc:
        Auto merged
      36e7e727
    • unknown's avatar
      Function mysql_rm_tmp_tables(): · 6dcad7d8
      unknown authored
      fixed valgrind error
      fixed indentation
      
      
      6dcad7d8
  7. 11 Jan, 2007 18 commits
    • unknown's avatar
      Merge mjorgensen@bk-internal.mysql.com:/home/bk/mysql-5.0 · 84e89916
      unknown authored
      into  tiger.mmj.dk:/Users/mmj/bktrees/mysql-5.1-build
      
      
      configure.in:
        Auto merged
      mysql-test/install_test_db.sh:
        Auto merged
      BitKeeper/deleted/.del-CMakeLists.txt~3:
        Auto merged
      BitKeeper/deleted/.del-configure.js:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      84e89916
    • unknown's avatar
      Bug#22687 (Functions UNIQUE_USERS, GROUP_UNIQUE_USERS) · cdb60578
      unknown authored
      According to some internal communication, these two functions are place
      holders for future enhancements. Because they use a variable number of
      parameters, the implementation defined a reserved keyword for them in the
      parser grammar.
      
      Unfortunately, doing so creates a bug similar to Bug 21114 reported for the
      function FORMAT.
      
      In the 5.1 code base, due to improvements in the code implemented with bug
      21114, having a reserved keyword for functions with a variable number of
      arguments is not needed any more by the implementation.
      
      As a result, this fix removes the place-holder implementation, and removes
      the unnecessary reserved keywords. Should the functions UNIQUE_USERS and
      GROUP_UNIQUE_USERS be finally implemented in a later release, the
      implementation should sub class Create_native_func in sql/item_create.cc.
      For example, see the class Create_func_concat.
      
      
      BitKeeper/deleted/.del-item_uniq.cc:
        Rename: sql/item_uniq.cc -> BitKeeper/deleted/.del-item_uniq.cc
      BitKeeper/deleted/.del-item_uniq.h:
        Rename: sql/item_uniq.h -> BitKeeper/deleted/.del-item_uniq.h
      libmysqld/Makefile.am:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      mysql-test/r/parser.result:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      mysql-test/t/parser.test:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/Makefile.am:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/item.h:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/item_sum.h:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/lex.h:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/mysql_priv.h:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/sql_yacc.yy:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      cdb60578
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mysql-5.0-build · 44318bbb
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mysql-5.1-build
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~3:
        Auto merged
      BitKeeper/deleted/.del-README~1:
        Auto merged
      BitKeeper/deleted/.del-configure.js:
        Auto merged
      BitKeeper/deleted/.del-mysql_test_run_new.c~a23ab2c4b28b25ad:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      configure.in:
        Manual merge
      mysql-test/install_test_db.sh:
        Manual merge
      sql/mysqld.cc:
        Manual merge
      44318bbb
    • unknown's avatar
      Merge trift2.:/MySQL/M50/tmp-5.0 · e64f4fde
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      mysys/my_read.c:
        Auto merged
      BitKeeper/deleted/.del-mysqldmax.dsp~5d213fe1c204142e:
        Auto merged
      BitKeeper/deleted/.del-libmysqld.dsp~78dc6a589e5a4149:
        Null merge.
      BitKeeper/deleted/.del-mysql.dsw~7ea9e16395f139f4:
        Null merge.
      BitKeeper/deleted/.del-mysqld.dsp~ffdbf2d234e23e56:
        Null merge.
      BitKeeper/deleted/.del-mysqldemb.dsp~1baf8c0e59ee9f7e:
        Null merge.
      BitKeeper/deleted/.del-mysqlserver.dsp~d99cfb2d291e3785:
        Null merge.
      scripts/make_binary_distribution.sh:
        Null merge, this change is already suppressed in 4.1.
      support-files/MySQL-shared-compat.spec.sh:
        Null merge, this change is already suppressed in 4.1.
      e64f4fde
    • unknown's avatar
      Merge trift2.:/MySQL/M50/tmp1-5.0 · 98cd24b3
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      configure.in:
        Auto merged
      98cd24b3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · c1bcbe29
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-5.1-runtime
      
      
      mysql-test/t/trigger.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      storage/csv/ha_tina.cc:
        Auto merged
      mysql-test/r/csv.result:
        Manual merge.
      mysql-test/t/csv.test:
        Manual merge.
      c1bcbe29
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · 32c535e2
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      32c535e2
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 7f9da471
      unknown authored
      into  rakia.gmz:/home/kgeorge/mysql/autopush/B25106-5.0-opt
      
      
      sql/sql_base.cc:
        Auto merged
      7f9da471
    • unknown's avatar
      BUG#25106: A USING clause in combination with a VIEW results in column · 6c41a043
      unknown authored
                 aliases ignored
      When a column reference to a column in JOIN USING is resolved and a new 
      Item is created for this column the user defined name was lost.
      This fix preserves the alias by setting the name of the new Item to the
      original alias.
      
      
      mysql-test/r/join.result:
        BUG#25106: A USING clause in combination with a VIEW results in column
                   aliases ignored
         - test case
      mysql-test/t/join.test:
        BUG#25106: A USING clause in combination with a VIEW results in column
                   aliases ignored
         - test case
      sql/sql_base.cc:
        BUG#25106: A USING clause in combination with a VIEW results in column
                   aliases ignored
         - take the alias of the Item to be replaced and set it into the newly
           allocated Item.
      6c41a043
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 5ed3d05e
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-25183
      
      
      sql/set_var.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      5ed3d05e
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 71fd4583
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1-opt
      
      
      71fd4583
    • unknown's avatar
      after merge fix · b73c5cdc
      unknown authored
      b73c5cdc
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp2/mysql-4.1-build · b139c287
      unknown authored
      into  mysql.com:/home/kent/bk/tmp2/mysql-5.0-build
      
      
      innobase/buf/buf0buf.c:
        Auto merged
      innobase/dict/dict0dict.c:
        Auto merged
      innobase/fil/fil0fil.c:
        Auto merged
      innobase/ha/ha0ha.c:
        Auto merged
      innobase/include/hash0hash.h:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/log/log0recv.c:
        Auto merged
      b139c287
    • unknown's avatar
      Many files: · a1566a09
      unknown authored
        Reverted change for bug#13859, applied smaller patch from Marko
      
      
      innobase/buf/buf0buf.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/dict/dict0dict.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/fil/fil0fil.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/ha/ha0ha.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/ha/hash0hash.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/include/hash0hash.h:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/lock/lock0lock.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/log/log0recv.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      innobase/thr/thr0loc.c:
        Reverted change for bug#13859, applied smaller patch from Marko
      a1566a09
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · bfca7902
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      bfca7902
    • unknown's avatar
      Merge trift2.:/MySQL/M41/push-4.1 · 0c715c6f
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      VC++Files/libmysqld/libmysqld.dsp:
        Auto merged
      VC++Files/mysql.dsw:
        Auto merged
      VC++Files/mysqldemb/mysqldemb.dsp:
        Auto merged
      VC++Files/sql/mysqld.dsp:
        Auto merged
      VC++Files/sql/mysqldmax.dsp:
        Auto merged
      mysys/my_read.c:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      support-files/MySQL-shared-compat.spec.sh:
        Auto merged
      0c715c6f
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · f387f030
      unknown authored
      into  mysql.com:/d2/hf/mr10/my51-mr10
      
      
      mysql-test/t/csv.test:
        Auto merged
      f387f030
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · ce3a76a4
      unknown authored
      into  mysql.com:/d2/hf/mr10/my50-mr10
      
      
      sql/mysqld.cc:
        Auto merged
      ce3a76a4