1. 09 Aug, 2006 3 commits
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.1-merge · 29701579
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.1-rt-merge
      
      
      sql/handler.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      29701579
    • unknown's avatar
      Post-merge fix. · 5f34962a
      unknown authored
      
      sql/sql_parse.cc:
        Post-merge fix.  No need to check DB name twice.
      5f34962a
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/tmp_merge · 22b92457
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.1-merge
      
      
      BitKeeper/deleted/.del-mysys.vcproj~40a49d09c4184822:
        Auto merged
      configure.in:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/r/warnings.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      mysql-test/t/mysqlbinlog.test:
        Auto merged
      mysql-test/t/udf.test:
        Auto merged
      mysql-test/t/warnings.test:
        Auto merged
      BitKeeper/deleted/.del-mysqld.vcproj~6aa7b3f9c3e28fcb:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      mysql-test/r/sp.result:
        Manual merge.  Place 5.0 test before 5.1 test.
      mysql-test/t/sp.test:
        Manual merge.  Place 5.0 test before 5.1 test.
      mysys/my_bitmap.c:
        Manual merge.
      scripts/make_binary_distribution.sh:
        Manual merge.
      sql/Makefile.am:
        Manual merge.
      sql/slave.cc:
        Manual merge.
      sql/sql_class.h:
        Manual merge.
      sql/sql_parse.cc:
        Manual merge.
      sql/sql_select.cc:
        Manual merge.
      tests/mysql_client_test.c:
        Manual merge.
      22b92457
  2. 08 Aug, 2006 3 commits
    • unknown's avatar
      BUG #21524 "'ps' test fails in --ps-protocol test AMD64 bit" · b6897efb
      unknown authored
      (this is not a fix to the bug, but simply to disable the test in 
      order to push a 5.0 to 5.1 merge)
      
      This merge contains:
      
      Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
      
      bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      
      
      mysql-test/t/disabled.def:
        BUG #21524 "'ps' test fails in --ps-protocol test AMD64 bit"
        
        (this is not a fix to the bug, but simply to disable the test in 
        order to push a 5.0 to 5.1 merge)
      b6897efb
    • unknown's avatar
      Merge govinda.patg.net:/home/patg/mysql-build/mysql-5.0-holyfoot · f1af1a5d
      unknown authored
      into  govinda.patg.net:/home/patg/mysql-build/mysql-5.1-5.0-merge2
      
      Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
      
      bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      
      
      BitKeeper/deleted/.del-libmysqld.dsp~78dc6a589e5a4149:
        Auto merged
      configure.in:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/r/merge.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      mysql-test/t/merge.test:
        Auto merged
      sql/field.h:
        Auto merged
      sql/ha_myisammrg.cc:
        Auto merged
      BitKeeper/deleted/.del-libmysqld.vcproj~a75d5b9a5967dea0:
        Auto merged
      BitKeeper/deleted/.del-libmysqld_ia64.dsp~578ab58d5f281d2a:
        Auto merged
      BitKeeper/deleted/.del-mysqld.dsp~ffdbf2d234e23e56:
        Auto merged
      BitKeeper/deleted/.del-mysqld.vcproj~6aa7b3f9c3e28fcb:
        Auto merged
      BitKeeper/deleted/.del-mysqld_ia64.dsp~7f8cf84d81ee04e2:
        Auto merged
      BitKeeper/deleted/.del-mysqldemb.dsp~1baf8c0e59ee9f7e:
        Auto merged
      BitKeeper/deleted/.del-mysqldemb.vcproj~54c64d55ccc51a7c:
        Auto merged
      BitKeeper/deleted/.del-mysqldemb_ia64.dsp~c7f7d75d542393cd:
        Auto merged
      BitKeeper/deleted/.del-mysqldmax.dsp~5d213fe1c204142e:
        Auto merged
      BitKeeper/deleted/.del-mysqldmax_ia64.dsp~25006b7cc0725ad1:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      include/my_base.h:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      mysql-test/r/federated.result:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      mysql-test/t/federated.test:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      sql/field.cc:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      sql/ha_federated.cc:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      sql/handler.cc:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      tests/mysql_client_test.c:
        Hand merge of conflicts (5.0-5.1 merge), second try 
        
        Push by holyfoot@production.mysql.com on Tue Jul 25 13:41:40 2006:
        
        bk clone -l -r'holyfoot/hf@mysql.com/deer.(none)|ChangeSet|20060725085017|41021' mysql-5.0 tmp_merge
      f1af1a5d
    • unknown's avatar
      Fix windows pushbuild failure: the bug occured because · 9de602d2
      unknown authored
      we didn't check for NULL value of the
      lex_create_info->db_type pointer.
      The pointer is NULL in the case, when the engine name is
      unknown to the server. This happens with NDB on Windows.
      
      
      sql/sql_table.cc:
        don't check pointer in the case, it is NULL
      9de602d2
  3. 04 Aug, 2006 1 commit
  4. 03 Aug, 2006 15 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 5e2babfe
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/mrg51-c
      
      
      5e2babfe
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · f87df4cc
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      f87df4cc
    • unknown's avatar
      Merge rama.(none):/home/jimw/my/mysql-5.1-17122 · 551f9ded
      unknown authored
      into  rama.(none):/home/jimw/my/mysql-5.1-clean
      
      
      551f9ded
    • unknown's avatar
      Manual merge resolve, part 6 of 6+ · a4f66037
      unknown authored
      a4f66037
    • unknown's avatar
      Use "--source" command instead of "source", makes mysql-test-run.pl dtecte... · 5f61f026
      unknown authored
      Use "--source" command instead of "source", makes mysql-test-run.pl dtecte this as test case that need binlog format row.
      
      
      
      5f61f026
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/mrg51-a · 177c0623
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/mrg51-c
      
      
      177c0623
    • unknown's avatar
      Fix Bug #18559 "log tables cannot change engine, and · 157c42de
      unknown authored
                      gets deadlocked when dropping w/ log on"
      
      Log tables rely on concurrent insert machinery to add data.
      This means that log tables are always opened and locked by
      special (artificial) logger threads. Because of this, the thread
      which tries to drop a log table starts to wait for the table
      to be unlocked. Which will happen only if the log table is disabled.
      Alike situation happens if one tries to alter a log table.
      However in addition to the problem above, alter table calls
      check_if_locking_is_allowed() routine for the engine. The
      routine does not allow alter for the log tables. So, alter
      doesn't start waiting forever for logs to be disabled, but 
      returns with an error.
      Another problem is that not all engines could be used for
      the log tables. That's because they need concurrent insert.
      
      In this patch we:
      (1) Explicitly disallow to drop/alter a log table if it
          is currently used by the logger.
      (2) Update MyISAM to support log tables
      (3) Allow to drop log tables/alter log tables if log is
          disabled
      At the same time we (4) Disallow to alter log tables to
      unsupported engine (after this patch CSV and MyISAM are 
      alowed)
      Recommit with review fixes.
      
      
      mysql-test/r/log_tables.result:
        Update result file.
        Note: there are warnings in result file. This is because of CSV
        bug (Bug #21328). They should go away after it is fixed.
      mysql-test/t/log_tables.test:
        Add a test for the bug
      sql/ha_myisam.cc:
        Add log table handling to myisam: as log tables
        use concurrent insert, they are typically
        locked with TL_CONCURRERENT_INSERT lock. So,
        disallow other threads to attempt locking of
        the log tables in incompatible modes. Because
        otherwise the threads will wait for the tables
        to be unlocked forever.
      sql/handler.cc:
        Add a function to check if a table we're going to lock
        is a log table and if the lock mode we want allowed
      sql/handler.h:
        Add a new function to check compatibility of the locking
      sql/log.cc:
        we shouldn't close the log table if and only
        if this particular table is already closed
      sql/log.h:
        add new functions to check if a log is enabled
      sql/share/errmsg.txt:
        add new error messages
      sql/sql_table.cc:
        DROP and ALTER TABLE should not work on log
        tables if the log tables are enabled
      storage/csv/ha_tina.cc:
        move function to check if the locking for the log
        tables allowed to handler class, so that we can
        reuse it in other engines.
      storage/myisam/mi_extra.c:
        add new ::extra() flag processing to myisam
      storage/myisam/mi_open.c:
        init log table flag
      storage/myisam/mi_write.c:
        update status after each write if it's a log table
      storage/myisam/myisamdef.h:
        Add new log table flag to myisam share.
        We need it to distinguish between usual
        and log tables, as for the log tables we
        should provide concurrent insert in a
        different way than for usual tables: we
        want new rows to be immediately visible
        to other threads.
      157c42de
    • unknown's avatar
      5.0 -> 5.1 manual merge, part 5 of 5 (or more?) · 9f0f8458
      unknown authored
      9f0f8458
    • unknown's avatar
      Replace FEDERATED_EQ with STRING_WITH_LEN("=") · 358400a8
      unknown authored
      
      sql/ha_federated.cc:
        After merge fix
      358400a8
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/my51-m-bug20942 · b58c7551
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      sql/ha_federated.cc:
        Manual merge
      b58c7551
    • unknown's avatar
      Fix Bug #20139 Infinite loop after "FLUSH" and "LOCK tabX, general_log" · e1ec4de4
      unknown authored
      Due to incorrect handling of FLUSH TABLES, log tables were marked for flush,
      but not reopened. Later we started to wait for the log table to be closed
      (disabled) after the flush. And as nobody disabled logs in concurrent treads,
      the command lasted forever.
      After internal consultations it was decided to skip logs during FLUSH TABLES.
      The reasoning is that logging is done in the "log device", whatever it is
      which is always active and controlled by FLUSH LOGS. So, to flush logs
      one should use FLUSH LOGS, and not FLUSH TABLES.
      
      
      mysql-test/r/log_tables.result:
        update result file
      mysql-test/t/log_tables.test:
        add a test for the bug
      sql/sql_base.cc:
        Skip log tables during FLUSH TABLES
      e1ec4de4
    • unknown's avatar
      5.0 -> 5.1 manual merge, part 4 of 4 (or more?) · 71076932
      unknown authored
      71076932
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/mrg50-c · 15e27e48
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/mrg51-c
      
      
      mysql-test/t/warnings.test:
        5.0 -> 5.1 manual merge, part 3 of 3 (or more?)
      sql/handler.cc:
        5.0 -> 5.1 manual merge, part 3 of 3 (or more?)
      sql/mysql_priv.h:
        5.0 -> 5.1 manual merge, part 3 of 3 (or more?)
      sql/mysqld.cc:
        5.0 -> 5.1 manual merge, part 3 of 3 (or more?)
      sql/set_var.cc:
        5.0 -> 5.1 manual merge, part 3 of 3 (or more?)
      mysql-test/r/warnings.result:
        5.0 -> 5.1 manual merge, part 3 of 3 (or more?)
      15e27e48
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/mrg50-b · eafb7605
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/mrg51-b
      
      
      mysql-test/r/insert_select.result:
        SCCS merged
      sql/sql_insert.cc:
        SCCS merged
      eafb7605
    • unknown's avatar
      5.0 -> 5.1 manual merge, part 1 of 3 (or more?) · 0901cb0b
      unknown authored
      0901cb0b
  5. 02 Aug, 2006 5 commits
  6. 01 Aug, 2006 13 commits
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.1 · 30e11b06
      unknown authored
      into  sunlight.local:/local_work/tmp_merge-5.1-opt-mysql
      
      
      mysql-test/r/innodb.result:
        Auto merged
      30e11b06
    • unknown's avatar
      sql_view.cc: · 84b16f0e
      unknown authored
        After merge fix
      
      
      sql/sql_view.cc:
        After merge fix
      84b16f0e
    • unknown's avatar
      Merge sunlight.local:/local_work/tmp_merge-5.0-opt-mysql · 8ce7848a
      unknown authored
      into  sunlight.local:/local_work/tmp_merge-5.1-opt-mysql
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.h:
        Auto merged
      sql/sql_view.cc:
        SCCS merged
      8ce7848a
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 10b90c06
      unknown authored
      into  sunlight.local:/local_work/tmp_merge-5.1-opt-mysql
      
      
      10b90c06
    • unknown's avatar
      Makefile.am: · b3708b7c
      unknown authored
        After merge fix
      
      
      storage/ndb/test/ndbapi/Makefile.am:
        After merge fix
      b3708b7c
    • unknown's avatar
      func_str.result: · a03006eb
      unknown authored
        After merge fix
      
      
      mysql-test/r/func_str.result:
        After merge fix
      a03006eb
    • unknown's avatar
      serg's MacOSX-intel portability diff · e80a76d7
      unknown authored
      e80a76d7
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 759027d1
      unknown authored
      into  rakia.(none):/home/kgeorge/mysql/autopush/B20103-5.0-opt
      
      
      759027d1
    • unknown's avatar
      Bug #20103: Escaping with backslash does not work · ec95bf78
      unknown authored
       - make the client to respect the server-side 
         no_backslash_escapes option and disable the 
         special meaning of backslash also at client side.
      
      
      mysql-test/r/mysql_client.result:
        Bug #20103: Escaping with backslash does not work
         - test case
      mysql-test/t/mysql_client.test:
        Bug #20103: Escaping with backslash does not work
         - test case
      ec95bf78
    • unknown's avatar
      Bug#20439 mysqltest: remove unused options · 97712780
      unknown authored
       -Remove leftovers of server_stop and server_start commands 
      
      
      client/mysqltest.c:
        Remove leftovers  of "server_start" and "server_stop" commands
      97712780
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/my51-m-bug19535 · 63076970
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      63076970
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · deee3a30
      unknown authored
      into  sunlight.local:/local_work/tmp_merge-5.1-opt-mysql
      
      
      mysql-test/r/auto_increment.result:
        Auto merged
      mysql-test/r/binlog_row_blackhole.result:
        Auto merged
      mysql-test/r/binlog_stm_blackhole.result:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/r/func_compress.result:
        Auto merged
      mysql-test/r/func_gconcat.result:
        Auto merged
      mysql-test/r/func_group.result:
        Auto merged
      mysql-test/r/func_math.result:
        Auto merged
      mysql-test/r/func_str.result:
        Auto merged
      mysql-test/r/func_system.result:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/r/gis.result:
        Auto merged
      mysql-test/r/group_by.result:
        Auto merged
      mysql-test/r/group_min_max.result:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/r/olap.result:
        Auto merged
      mysql-test/r/partition_pruning.result:
        Auto merged
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/r/rpl_get_lock.result:
        Auto merged
      mysql-test/r/rpl_master_pos_wait.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/type_blob.result:
        Auto merged
      mysql-test/r/union.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/group_min_max.test:
        Auto merged
      mysql-test/t/partition_pruning.test:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.h:
        Auto merged
      deee3a30
    • unknown's avatar
      After merge fix · f75e79e0
      unknown authored
      f75e79e0