1. 19 Jul, 2004 5 commits
    • 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
      fixed test · 7d91d3f0
      unknown authored
      7d91d3f0
    • 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
  2. 17 Jul, 2004 1 commit
    • 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
  3. 16 Jul, 2004 13 commits
  4. 15 Jul, 2004 7 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 80469ba4
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-view3-5.0
      
      
      sql/set_var.cc:
        Auto merged
      80469ba4
    • unknown's avatar
      VIEW · 8790b1e6
      unknown authored
      two TABLE_LIST copy eliminated
      
      
      include/mysqld_error.h:
        errors of view
      libmysqld/Makefile.am:
        new view file
      mysql-test/r/connect.result:
        SHOW TABLE show type of table
      mysql-test/r/ctype_recoding.result:
        SHOW TABLE show type of table
      mysql-test/r/drop.result:
        SHOW TABLE show type of table
      mysql-test/r/grant.result:
        new two privileges (CRETEA|SHOW VIEW)
      mysql-test/r/lowercase_table.result:
        SHOW TABLE show type of table
      mysql-test/r/ps_1general.result:
        SHOW TABLE show type of table
      mysql-test/r/rename.result:
        SHOW TABLE show type of table
      mysql-test/r/rpl000009.result:
        SHOW TABLE show type of table
      mysql-test/r/rpl_error_ignored_table.result:
        SHOW TABLE show type of table
      mysql-test/r/select.result:
        SHOW TABLE show type of table
      mysql-test/r/system_mysql_db.result:
        SHOW TABLE show type of table
        new two privileges (CRETEA|SHOW VIEW)
      mysql-test/t/system_mysql_db_fix.test:
        removing all system tables
      scripts/mysql_fix_privilege_tables.sql:
        new two privileges (CRETEA|SHOW VIEW)
      sql/Makefile.am:
        new VIEW related file
      sql/ha_myisammrg.cc:
        two TABLE_LIST copy eliminated
      sql/item.cc:
        VIEW
      sql/item.h:
        VIEW
      sql/item_subselect.cc:
        VIEW
      sql/item_subselect.h:
        VIEW
      sql/lex.h:
        VIEW
      sql/lock.cc:
        VIEW
      sql/mysql_priv.h:
        VIEW
      sql/mysqld.cc:
        VIEW
        new parameter - sql_updatable_view_key
      sql/opt_sum.cc:
        two TABLE_LIST copy eliminated
      sql/set_var.cc:
        new parameter - sql_updatable_view_key
      sql/share/czech/errmsg.txt:
        errors messages of views
      sql/share/danish/errmsg.txt:
        errors messages of views
      sql/share/dutch/errmsg.txt:
        errors messages of views
      sql/share/english/errmsg.txt:
        errors messages of views
      sql/share/estonian/errmsg.txt:
        errors messages of views
      sql/share/french/errmsg.txt:
        errors messages of views
      sql/share/german/errmsg.txt:
        errors messages of views
      sql/share/greek/errmsg.txt:
        errors messages of views
      sql/share/hungarian/errmsg.txt:
        errors messages of views
      sql/share/italian/errmsg.txt:
        errors messages of views
      sql/share/japanese/errmsg.txt:
        errors messages of views
      sql/share/korean/errmsg.txt:
        errors messages of views
      sql/share/norwegian-ny/errmsg.txt:
        errors messages of views
      sql/share/norwegian/errmsg.txt:
        errors messages of views
      sql/share/polish/errmsg.txt:
        errors messages of views
      sql/share/portuguese/errmsg.txt:
        errors messages of views
      sql/share/romanian/errmsg.txt:
        errors messages of views
      sql/share/russian/errmsg.txt:
        errors messages of views
      sql/share/serbian/errmsg.txt:
        errors messages of views
      sql/share/slovak/errmsg.txt:
        errors messages of views
      sql/share/spanish/errmsg.txt:
        errors messages of views
      sql/share/swedish/errmsg.txt:
        errors messages of views
      sql/share/ukrainian/errmsg.txt:
        errors messages of views
      sql/slave.cc:
        two TABLE_LIST copy eliminated
      sql/sp.cc:
        VIEW
      sql/sql_acl.cc:
        VIEW
      sql/sql_acl.h:
        VIEW
      sql/sql_base.cc:
        VIEW
      sql/sql_cache.cc:
        two TABLE_LIST copy eliminated
      sql/sql_class.h:
        VIEW
      sql/sql_db.cc:
        two TABLE_LIST copy eliminated
      sql/sql_delete.cc:
        VIEW
      sql/sql_derived.cc:
        VIEW
      sql/sql_handler.cc:
        two TABLE_LIST copy eliminated
      sql/sql_help.cc:
        two TABLE_LIST copy eliminated
      sql/sql_insert.cc:
        VIEW
      sql/sql_lex.cc:
        VIEW
      sql/sql_lex.h:
        VIEW
      sql/sql_load.cc:
        VIEW
      sql/sql_olap.cc:
        VIEW
      sql/sql_parse.cc:
        two TABLE_LIST copy eliminated
        VIEW
      sql/sql_prepare.cc:
        VIEW
      sql/sql_rename.cc:
        two TABLE_LIST copy eliminated
      sql/sql_select.cc:
        VIEW
      sql/sql_show.cc:
        VIEW
      sql/sql_table.cc:
        VIEW
      sql/sql_union.cc:
        VIEW
      sql/sql_update.cc:
        VIEW
      sql/sql_yacc.yy:
        VIEW
      sql/table.cc:
        VIEW
      sql/table.h:
        VIEW
      sql/tztime.cc:
        two TABLE_LIST copy eliminated
      sql/unireg.h:
        VIEW
      tests/client_test.c:
        VIEW
      8790b1e6
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com://home/bk/mysql-5.0 · 28f76c50
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0
      
      
      28f76c50
    • unknown's avatar
      after merge fixes (making rpl_charset and rpl_timezone pass). · 898ceb0f
      unknown authored
      Replication of charsets and timezones should shortly be changed to not need ONE_SHOT
      (but 5.0 should still be able to read it, to be able to replicate 4.1 masters).
      
      
      mysql-test/r/rpl_charset.result:
        result update after the merge (only binlog positions differ from 4.1)
      mysql-test/r/rpl_timezone.result:
        result update after the merge (only binlog positions differ from 4.1)
      sql/log.cc:
        use ONE_SHOT to save charset and TZ info in the binlog (until I rewrite this soon)
      sql/set_var.cc:
        Even if in the future, 5.0 will not use ONE_SHOT in ITS binlog, it must still be able to interpret it, to make 4.1->5.0 replication possible
      sql/set_var.h:
        Even if in the future, 5.0 will not use ONE_SHOT in ITS binlog, it must still be able to interpret it, to make 4.1->5.0 replication possible
      898ceb0f
    • unknown's avatar
      failing fulltext_order_by.test fixed · b0df2034
      unknown authored
      
      myisam/sort.c:
        warning fixed
      sql/ha_myisam.h:
        not necessary
      b0df2034
    • unknown's avatar
      Merge · a96bb92f
      unknown authored
      
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.h:
        Auto merged
      a96bb92f
    • unknown's avatar
      After merge fixes · 46ea874f
      unknown authored
      Note: The following tests fails
      - fulltext (Sergei has promised to fix)
      - rpl_charset (Guilhem should fix)
      - rpl_timezone (Dimitray has promised to fix)
      
      Sanja needs to check out the calling of close_thread_tables() in sp_head.cc
      
      
      myisam/mi_check.c:
        After merge fix
      myisam/sort.c:
        After merge fix
      mysql-test/mysql-test-run.sh:
        Export master socket to mysqltest
      mysql-test/r/func_group.result:
        Make result repeatable
      mysql-test/r/mysqlbinlog.result:
        After merge fix
      mysql-test/r/ps_1general.result:
        After merge fix
      mysql-test/r/ps_2myisam.result:
        After merge fix
      mysql-test/r/ps_3innodb.result:
        After merge fix
      mysql-test/r/ps_4heap.result:
        After merge fix
      mysql-test/r/ps_5merge.result:
        After merge fix
      mysql-test/r/ps_6bdb.result:
        After merge fix
      mysql-test/r/rpl_flush_log_loop.result:
        After merge fix
      mysql-test/r/rpl_replicate_do.result:
        After merge fix
      mysql-test/r/rpl_temporary.result:
        After merge fix
      mysql-test/r/rpl_timezone.result:
        After merge fix
        Note that this test fails now (Dimitry has promised to fix this)
      mysql-test/r/rpl_user_variables.result:
        After merge fix
      mysql-test/r/select.result:
        After merge fix
      mysql-test/r/sp-error.result:
        After merge fix
      mysql-test/r/sp-security.result:
        After merge fix
      mysql-test/r/sp.result:
        After merge fix
      mysql-test/r/user_var.result:
        After merge fix
      mysql-test/r/variables.result:
        After merge fix
      mysql-test/t/alter_table.test:
        After merge fix
      mysql-test/t/derived.test:
        After merge fix
      mysql-test/t/func_group.test:
        Make result repeatable
      mysql-test/t/grant_cache.test:
        Use MASTER_MYSOCK instead of master.sock
      mysql-test/t/multi_update.test:
        Use MASTER_MYSOCK instead of master.sock
      mysql-test/t/rpl000015.test:
        Use MASTER_MYSOCK instead of master.sock
      mysql-test/t/rpl000017.test:
        Use MASTER_MYSOCK instead of master.sock
      mysql-test/t/rpl000018.test:
        Use MASTER_MYSOCK instead of master.sock
      mysql-test/t/rpl_charset.test:
        After merge fix
      mysql-test/t/rpl_heap.test:
        Use MASTER_MYSOCK instead of master.sock
      mysql-test/t/rpl_rotate_logs.test:
        Use MASTER_MYSOCK instead of master.sock
      mysql-test/t/sp-error.test:
        after merge fix
      mysql-test/t/sp-security.test:
        after merge fix
      mysql-test/t/user_var.test:
        after merge fix
      scripts/mysql_fix_privilege_tables.sh:
        This can now be exectued from the source distribution
      sql/handler.cc:
        Cleanup
      sql/handler.h:
        More debugging
      sql/item.h:
        Indentation fixes
      sql/item_cmpfunc.cc:
        After merge fixes
      sql/opt_range.cc:
        After merge fixes
      sql/opt_range.h:
        After merge fixes
      sql/sp.cc:
        After merge fixes
      sql/sp_head.cc:
        Remove closing of thread tables in a SP function as this caused a core dump.
        (Has to be fixed better)
      sql/sql_base.cc:
        More debugging
      sql/sql_handler.cc:
        After merge fixes
        (We have to call ha_index_or_rnd_end() before calling close_thread_table())
      sql/sql_parse.cc:
        More debugging
      sql/sql_prepare.cc:
        After merge fixes
      sql/sql_select.cc:
        After merge fixes
      46ea874f
  5. 12 Jul, 2004 3 commits
    • unknown's avatar
      Merge with 4.1 · 677d60bc
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      include/my_global.h:
        Auto merged
      mysql-test/r/bdb.result:
        Auto merged
      mysql-test/r/connect.result:
        Auto merged
      mysql-test/r/multi_update.result:
        Auto merged
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/r/system_mysql_db.result:
        Auto merged
      mysql-test/t/multi_update.test:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_berkeley.h:
        Auto merged
      sql/ha_heap.h:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/opt_range.cc:
        Merge with 4.1
        true -> TRUE and false -> FALSE
      677d60bc
    • unknown's avatar
      After merge fixes · c4645f84
      unknown authored
      c4645f84
    • unknown's avatar
      Don't close already closed files in vio (not critical) · 18d974a3
      unknown authored
      
      mysys/my_init.c:
        Extra debugging
      sql/mysqld.cc:
        Added comment
      sql/sql_parse.cc:
        Removed unneeded info
      vio/viosocket.c:
        Added assert.
        Don't close already closed files
      18d974a3
  6. 11 Jul, 2004 1 commit
    • unknown's avatar
      Merge · 4ba63c4e
      unknown authored
      
      sql/sql_show.cc:
        Auto merged
      sql/mysql_priv.h:
        SCCS merged
      4ba63c4e
  7. 10 Jul, 2004 5 commits
  8. 09 Jul, 2004 5 commits
    • unknown's avatar
      manual merge · c8e416e5
      unknown authored
      charged sql/sql_db.cc only
      (
      changed length in mysql_create_db to path_len
      so as it was calculated in the first unpack_dirname
      in my previous fix for Bug #4378
      '"create database IF NOT EXISTS thing" returns an error'
      )
      
      
      sql/sql_db.cc:
        manual merge 
        (
        changed length in mysql_create_db to path_len
        so as it was calculated in the first unpack_dirname
        in my previous fix for Bug #4378
        '"create database IF NOT EXISTS thing" returns an error'
        )
      c8e416e5
    • unknown's avatar
      added an optimization in mysql_create_db (sql_db.cc) · 42d5ea8e
      unknown authored
      as after effect of fix for Bug #4378 
      '"create database IF NOT EXISTS thing" returns an error' 
      
      (avoided an unpack_dirname and 
       changed strcat into strmake)
      
      
      sql/sql_db.cc:
        added an optimization in mysql_create_db 
        (avoided an unpack_dirname and 
         changed strcat into strmake)
      42d5ea8e
    • unknown's avatar
      mysqlhotcopy: · 2b1233c3
      unknown authored
        fix MYI copying with scp
        safer tempfile creation
      
      
      scripts/mysqlhotcopy.sh:
        fix MYI copying with scp
        safer tempfile creation
      2b1233c3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a4b3eec9
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      a4b3eec9
    • unknown's avatar
      Cleanup of db option cacheing · b4220977
      unknown authored
      Some bug fixes to last pushed code
      
      
      mysql-test/mysql-test-run.sh:
        Fix for new valgrind (2.1.1)
      mysql-test/r/bdb.result:
        Updated results
      mysql-test/t/ps_1general.test:
        removed wrong error condition
      sql/ha_berkeley.cc:
        Fix for index_flags() in new code
      sql/item_strfunc.cc:
        Cleanup (fixed indentation, removed short variable names)
      sql/mysql_priv.h:
        Cleanup of db option cacheing
      sql/mysqld.cc:
        Cleanup of db option cacheing
      sql/sql_db.cc:
        Cleanup of db option cacheing
      sql/sql_parse.cc:
        Cleanup of db option cacheing
      sql/sql_table.cc:
        sprintf -> strxmov
      sql/table.cc:
        key_read should be tested on key parts, not the whole key
      b4220977