1. 20 Jul, 2004 7 commits
    • unknown's avatar
      misc fixes for compile-time errors · e3071fff
      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.
      e3071fff
    • unknown's avatar
      results updated · e462d910
      unknown authored
      e462d910
    • unknown's avatar
      manual merge · 4118ce3f
      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
      4118ce3f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 6979cda6
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      6979cda6
    • unknown's avatar
      oops, forgot to checkin... · 876c780f
      unknown authored
      876c780f
    • unknown's avatar
      results fixed after merge · 96ef39eb
      unknown authored
      
      mysql-test/t/create_select_tmp.test:
        --disable_warnings
      mysql-test/t/rpl_drop.test:
        --disable_warnings
      96ef39eb
    • unknown's avatar
      compare correct types · 58f4db90
      unknown authored
      58f4db90
  2. 19 Jul, 2004 11 commits
    • unknown's avatar
      manual merged (blame me!) · c81e414e
      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
      c81e414e
    • unknown's avatar
      Compilation failure on Windows fixed. · b610b061
      unknown authored
      b610b061
    • unknown's avatar
      merged with 'ul' · 67454e05
      unknown authored
      67454e05
    • unknown's avatar
      Fixes for MSVC++ compiler. · 5703ef29
      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.
      5703ef29
    • unknown's avatar
      handler.cc: · ffabd0ec
      unknown authored
        Revise output of SHOW ENGINES.
      
      
      sql/handler.cc:
        Revise output of SHOW ENGINES.
      ffabd0ec
    • unknown's avatar
      fixed test · 90145547
      unknown authored
      90145547
    • unknown's avatar
      make acl_init() more robust - · 716161cb
      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
      
      716161cb
    • unknown's avatar
      - only include the GPL license in the LICENSE text, not the FOSS · 2a174188
      unknown authored
         exception (it only applies to 4.0 and above)
      
      2a174188
    • unknown's avatar
      standard values for table type in SHOW TABLES (BUG#4603) · 7af325ce
      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
      7af325ce
    • unknown's avatar
      mysql_fix_privilege_tables.sql: · 2cae2f54
      unknown authored
        Fix the other typo, too. :-)
      
      
      scripts/mysql_fix_privilege_tables.sql:
        Fix the other typo, too. :-)
      2cae2f54
    • unknown's avatar
      mysql_fix_privilege_tables.sql: · 57845e49
      unknown authored
        Fix typo in comments.
      
      
      scripts/mysql_fix_privilege_tables.sql:
        Fix typo in comments.
      57845e49
  3. 18 Jul, 2004 1 commit
    • unknown's avatar
      Fix for BUG#4551 "Temporary InnoDB tables not replicated properly with CREATE TABLE .. SELECT" · fc488787
      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.
      fc488787
  4. 17 Jul, 2004 3 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 301e972a
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      301e972a
    • unknown's avatar
      Fixes for · fe3e2470
      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.
      fe3e2470
    • unknown's avatar
      sql_select.cc: · 1d453dfa
      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
      1d453dfa
  5. 16 Jul, 2004 18 commits