1. 20 Jul, 2004 7 commits
    • unknown's avatar
      misc fixes for compile-time errors · d0c69399
      unknown authored
      
      sql/item_sum.cc:
        "unused variable" warning
      sql/item_timefunc.cc:
        "unused variable" warning
      sql/log_event.h:
        const bool is_valid() -> bool is_valid() const
      sql/opt_range.cc:
        cast log's argument to double (otherwise an error on some compilers)
      sql/opt_range.h:
        get_quick_select_for_ref should be declared in the global scope to be visible.
      d0c69399
    • unknown's avatar
      results updated · 362ce6a8
      unknown authored
      362ce6a8
    • unknown's avatar
      manual merge · e2d25910
      unknown authored
      
      client/mysql.cc:
        Auto merged
      client/mysqlbinlog.cc:
        Auto merged
      include/my_global.h:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/system_mysql_db.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      e2d25910
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 26821ee3
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      26821ee3
    • unknown's avatar
      oops, forgot to checkin... · 4b3ee02e
      unknown authored
      4b3ee02e
    • unknown's avatar
      results fixed after merge · 8818cd9b
      unknown authored
      
      mysql-test/t/create_select_tmp.test:
        --disable_warnings
      mysql-test/t/rpl_drop.test:
        --disable_warnings
      8818cd9b
    • unknown's avatar
      compare correct types · 3f5e1ba9
      unknown authored
      3f5e1ba9
  2. 19 Jul, 2004 11 commits
    • unknown's avatar
      manual merged (blame me!) · eee5f15b
      unknown authored
      
      Build-tools/Do-compile:
        Auto merged
      Docs/Makefile.am:
        Auto merged
      innobase/btr/btr0cur.c:
        Auto merged
      innobase/include/lock0lock.h:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      innobase/include/srv0srv.h:
        Auto merged
      innobase/include/sync0arr.h:
        Auto merged
      innobase/include/trx0trx.h:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/srv/srv0start.c:
        Auto merged
      innobase/sync/sync0arr.c:
        Auto merged
      innobase/trx/trx0trx.c:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      mysql-test/r/innodb.result:
        to be fixed after the merge
      eee5f15b
    • unknown's avatar
      Compilation failure on Windows fixed. · 784191d9
      unknown authored
      784191d9
    • unknown's avatar
      merged with 'ul' · b940ae10
      unknown authored
      b940ae10
    • unknown's avatar
      Fixes for MSVC++ compiler. · f1d2c051
      unknown authored
      
      libmysql/client_settings.h:
        Fixed declaration to be in line with definition
      sql/sql_select.cc:
        Not used variable removed.
      sql/sql_view.cc:
        Explicit cast to unsigned char * is required here.
      f1d2c051
    • unknown's avatar
      handler.cc: · d57d78ac
      unknown authored
        Revise output of SHOW ENGINES.
      
      
      sql/handler.cc:
        Revise output of SHOW ENGINES.
      d57d78ac
    • unknown's avatar
      fixed test · 7d91d3f0
      unknown authored
      7d91d3f0
    • unknown's avatar
      make acl_init() more robust - · 6592c1af
      unknown authored
        don't be confused if  new privilege - ENUM ('N','Y') - columns are added (mostly because of downgrade)
        don't expect NOT NULL fields to never contain a NULL :) - somebody may've changed table definition, or we may be reading the wrong column
      
      
      6592c1af
    • unknown's avatar
      - only include the GPL license in the LICENSE text, not the FOSS · d0934eca
      unknown authored
         exception (it only applies to 4.0 and above)
      
      
      d0934eca
    • unknown's avatar
      standard values for table type in SHOW TABLES (BUG#4603) · 10d0dca6
      unknown authored
      
      mysql-test/r/connect.result:
        standard values for table type in SHOW TABLES
      mysql-test/r/ctype_recoding.result:
        standard values for table type in SHOW TABLES
      mysql-test/r/drop.result:
        standard values for table type in SHOW TABLES
      mysql-test/r/greedy_optimizer.result:
        fixed results
      mysql-test/r/lowercase_table.result:
        standard values for table type in SHOW TABLES
      mysql-test/r/ps_1general.result:
        standard values for table type in SHOW TABLES
      mysql-test/r/rename.result:
        standard values for table type in SHOW TABLES
      mysql-test/r/rpl000009.result:
        standard values for table type in SHOW TABLES
      mysql-test/r/rpl_error_ignored_table.result:
        standard values for table type in SHOW TABLES
      mysql-test/r/select.result:
        standard values for table type in SHOW TABLES
      mysql-test/r/system_mysql_db.result:
        standard values for table type in SHOW TABLES
      mysql-test/r/view.result:
        standard values for table type in SHOW TABLES
      sql/sql_show.cc:
        standard values for table type in SHOW TABLES
        debugging trap
      10d0dca6
    • unknown's avatar
      mysql_fix_privilege_tables.sql: · 9fc19ce8
      unknown authored
        Fix the other typo, too. :-)
      
      
      scripts/mysql_fix_privilege_tables.sql:
        Fix the other typo, too. :-)
      9fc19ce8
    • unknown's avatar
      mysql_fix_privilege_tables.sql: · f7a2d98c
      unknown authored
        Fix typo in comments.
      
      
      scripts/mysql_fix_privilege_tables.sql:
        Fix typo in comments.
      f7a2d98c
  3. 18 Jul, 2004 1 commit
    • unknown's avatar
      Fix for BUG#4551 "Temporary InnoDB tables not replicated properly with CREATE TABLE .. SELECT" · 382ff793
      unknown authored
      The problem was that (for any storage engine), the created temporary table was not removed if CREATE SELECT failed (because
      of a constraint violation for example). This was not consistent with the manual and with CREATE SELECT (no TEMPORARY).
      
      
      sql/sql_insert.cc:
        Fix for BUG#4551 "Temporary InnoDB tables not replicated properly with CREATE TABLE .. SELECT"
        The problem was that (for any storage engine), the created temporary table was not removed if CREATE SELECT failed (because
        of a constraint violation for example). This was not consistent with the manual and with CREATE SELECT (no TEMPORARY).
        And it led to the above bug, because the binlogging of CREATE SELECT is done by select_insert::send_eof() (same function
        as INSERT SELECT) and so, if the table is transactional and there is a failure, the statement is considered as rolled
        back and so nothing is written in the binlog. So temp table MUST be deleted.
      382ff793
  4. 17 Jul, 2004 3 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 474c2578
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      474c2578
    • unknown's avatar
      Fixes for · cf8dbcc6
      unknown authored
      BUG#4506 "mysqlbinlog --position --read-from-remote-server has wrong "# at" lines",
      BUG#4553 "Multi-table DROP TABLE replicates improperly for nonexistent table" with a test file.
      It was not possible to add a test for BUG#4506 as in the test suite we must use --short-form
      which does not display the "# at" lines.
      
      
      client/mysqlbinlog.cc:
        Fix for BUG#4506 "mysqlbinlog --position --read-from-remote-server has wrong "# at" lines"
        when reading a remote binlog, the start position is not always BIN_LOG_HEADER_SIZE (4).
      sql/sql_table.cc:
        Fix for BUG#4553 "Multi-table DROP TABLE replicates improperly for nonexistent table"
        we must my_error() _before_ we write to the binlog, so that a meaningful error code is available
        in thd->net.last_errno for storage of the DROP TABLE statement into the binlog.
      cf8dbcc6
    • unknown's avatar
      sql_select.cc: · 851154ee
      unknown authored
        if many plans have identical cost, which one will be used depends on how compiler optimizes floating-point calculations
        this fix adds repeatability to the optimizer
      
      
      sql/sql_select.cc:
        if many plans have identical cost, which one will be used depends on how compiler optimizes floating-point calculations
        this fix adds repeatability to the optimizer
      851154ee
  5. 16 Jul, 2004 18 commits