1. 21 Jul, 2004 3 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 4fd42a4e
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-2-5.0
      
      
      4fd42a4e
    • unknown's avatar
      test of duplicate field names (BUG#4608) · d3f575c3
      unknown authored
      
      mysql-test/r/view.result:
        test of duplicate field names
      mysql-test/t/view.test:
        test of duplicate field names
      sql/sql_view.cc:
        test of duplicate field names
      d3f575c3
    • unknown's avatar
      error message interception (Bug#4598) · b01e2f6d
      unknown authored
      error handling of view initialization fixed (Bug#4599)
      
      
      include/mysqld_error.h:
        new error message
      mysql-test/r/view.result:
        changing of underlaying table test
      mysql-test/t/view.test:
        changing of underlaying table test
      sql/share/czech/errmsg.txt:
        new error message
      sql/share/danish/errmsg.txt:
        new error message
      sql/share/dutch/errmsg.txt:
        new error message
      sql/share/english/errmsg.txt:
        new error message
      sql/share/estonian/errmsg.txt:
        new error message
      sql/share/french/errmsg.txt:
        new error message
      sql/share/german/errmsg.txt:
        new error message
      sql/share/greek/errmsg.txt:
        new error message
      sql/share/hungarian/errmsg.txt:
        new error message
      sql/share/italian/errmsg.txt:
        new error message
      sql/share/japanese/errmsg.txt:
        new error message
      sql/share/korean/errmsg.txt:
        new error message
      sql/share/norwegian-ny/errmsg.txt:
        new error message
      sql/share/norwegian/errmsg.txt:
        new error message
      sql/share/polish/errmsg.txt:
        new error message
      sql/share/portuguese/errmsg.txt:
        new error message
      sql/share/romanian/errmsg.txt:
        new error message
      sql/share/russian/errmsg.txt:
        new error message
      sql/share/serbian/errmsg.txt:
        new error message
      sql/share/slovak/errmsg.txt:
        new error message
      sql/share/spanish/errmsg.txt:
        new error message
      sql/share/swedish/errmsg.txt:
        new error message
      sql/share/ukrainian/errmsg.txt:
        new error message
      sql/sql_base.cc:
        error message interception
        error handling fixed
      sql/sql_view.cc:
        comment fixed
        error message interception
      sql/table.cc:
        error message interception
      sql/table.h:
        error message interception
      b01e2f6d
  2. 20 Jul, 2004 15 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0/ · 09ea3e09
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      09ea3e09
    • 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
      test of SHOW PRIVILEGES · d3b2b842
      unknown authored
      d3b2b842
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 9ec353da
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      
      9ec353da
    • unknown's avatar
      sql_show.cc: · ab60fb14
      unknown authored
        Add views privileges to SHOW PRIVILEGES output.
        (Bug #4656)
      
      
      sql/sql_show.cc:
        Add views privileges to SHOW PRIVILEGES output.
        (Bug #4656)
      ab60fb14
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · e92ca135
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      
      mysql-test/r/subselect.result:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      e92ca135
    • unknown's avatar
      fixed quoting of identifiers in VIEWs (BUG#4613) · b0b75bbf
      unknown authored
      
      mysql-test/r/view.result:
        fixed quoting of identifiers in VIEWs
      mysql-test/t/view.test:
        fixed quoting of identifiers in VIEWs
      sql/item.cc:
        fixed quoting of identifiers in VIEWs
      sql/sql_select.cc:
        fixed quoting of identifiers in VIEWs
      sql/sql_view.cc:
        fixed quoting of identifiers in VIEWs
      b0b75bbf
    • 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
      fix case what VIEW have not tables (BUG#4614) · 9050c44c
      unknown authored
      
      mysql-test/r/view.result:
        test of VIEW without tables
      mysql-test/t/view.test:
        test of VIEW without tables
      sql/sql_view.cc:
        fix case what VIEW have not tables
      9050c44c
    • unknown's avatar
      mark subquery in the FROM clause like derived and quoate all identifiers (BUG#4609) · ec33aa2b
      unknown authored
      
      mysql-test/r/bench_count_distinct.result:
        Quoting of fields and tables names
      mysql-test/r/case.result:
        Quoting of fields and tables names
      mysql-test/r/fulltext.result:
        Quoting of fields and tables names
      mysql-test/r/func_default.result:
        Quoting of fields and tables names
      mysql-test/r/func_gconcat.result:
        Quoting of fields and tables names
      mysql-test/r/func_group.result:
        Quoting of fields and tables names
      mysql-test/r/func_if.result:
        Quoting of fields and tables names
      mysql-test/r/func_in.result:
        Quoting of fields and tables names
      mysql-test/r/func_regexp.result:
        Quoting of fields and tables names
      mysql-test/r/func_test.result:
        Quoting of fields and tables names
      mysql-test/r/gis.result:
        Quoting of fields and tables names
      mysql-test/r/group_by.result:
        Quoting of fields and tables names
      mysql-test/r/having.result:
        Quoting of fields and tables names
      mysql-test/r/insert_update.result:
        Quoting of fields and tables names
      mysql-test/r/join_nested.result:
        Quoting of fields and tables names
      mysql-test/r/olap.result:
        Quoting of fields and tables names
      mysql-test/r/query_cache.result:
        Quoting of fields and tables names
      mysql-test/r/select.result:
        Quoting of fields and tables names
      mysql-test/r/subselect.result:
        Quoting of fields and tables names
      mysql-test/r/union.result:
        Quoting of fields and tables names
      mysql-test/r/varbinary.result:
        Quoting of fields and tables names
      mysql-test/r/view.result:
        Quoting of fields and tables names
        test of view with quated fields
      mysql-test/t/view.test:
        test of view with quated fields
      sql/item.cc:
        Quoting of fields and tables names
      sql/item.h:
        Quoting of fields and tables names
      sql/sql_select.cc:
        Quoting of fields and tables names
      sql/sql_view.cc:
        mark subquery in the FROM clause like derived
      ec33aa2b
    • unknown's avatar
      compare correct types · 3f5e1ba9
      unknown authored
      3f5e1ba9
  3. 19 Jul, 2004 12 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
      fixed case when frivileges check switched off (BUG#4631) · f0957bcc
      unknown authored
      
      mysql-test/r/view.result:
        test made more environment independed
      mysql-test/t/view.test:
        test made more environment independed
      sql/sql_acl.cc:
        fixed case when frivileges check switched off
      f0957bcc
    • 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
  4. 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
  5. 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
  6. 16 Jul, 2004 6 commits