1. 16 Jul, 2004 2 commits
  2. 15 Jul, 2004 7 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 8ecbae99
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-view3-5.0
      
      
      sql/set_var.cc:
        Auto merged
      8ecbae99
    • unknown's avatar
      VIEW · dd83b590
      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
      dd83b590
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com://home/bk/mysql-5.0 · 907d279d
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0
      
      907d279d
    • unknown's avatar
      after merge fixes (making rpl_charset and rpl_timezone pass). · 61731a21
      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
      61731a21
    • unknown's avatar
      failing fulltext_order_by.test fixed · c01af6ab
      unknown authored
      
      myisam/sort.c:
        warning fixed
      sql/ha_myisam.h:
        not necessary
      c01af6ab
    • unknown's avatar
      Merge · 2293d5e8
      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
      2293d5e8
    • unknown's avatar
      After merge fixes · 13d67c78
      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
      13d67c78
  3. 12 Jul, 2004 3 commits
    • unknown's avatar
      Merge with 4.1 · defa528e
      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
      defa528e
    • unknown's avatar
      After merge fixes · abc516ba
      unknown authored
      abc516ba
    • unknown's avatar
      Don't close already closed files in vio (not critical) · 33a15f3d
      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
      33a15f3d
  4. 11 Jul, 2004 1 commit
    • unknown's avatar
      Merge · 25e2b777
      unknown authored
      
      sql/sql_show.cc:
        Auto merged
      sql/mysql_priv.h:
        SCCS merged
      25e2b777
  5. 10 Jul, 2004 5 commits
  6. 09 Jul, 2004 5 commits
    • unknown's avatar
      manual merge · f80365e3
      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'
        )
      f80365e3
    • unknown's avatar
      added an optimization in mysql_create_db (sql_db.cc) · 3b9f58d8
      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)
      3b9f58d8
    • unknown's avatar
      mysqlhotcopy: · a85115a3
      unknown authored
        fix MYI copying with scp
        safer tempfile creation
      
      
      scripts/mysqlhotcopy.sh:
        fix MYI copying with scp
        safer tempfile creation
      a85115a3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c8096bb1
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      c8096bb1
    • unknown's avatar
      Cleanup of db option cacheing · ad72843e
      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
      ad72843e
  7. 08 Jul, 2004 17 commits
    • unknown's avatar
      Merge with 4.0 to get bug fixes · 91b109b7
      unknown authored
      
      Build-tools/Bootstrap:
        Auto merged
      Build-tools/Do-compile:
        Auto merged
      mysql-test/r/lowercase_table2.result:
        Auto merged
      mysql-test/r/system_mysql_db.result:
        Auto merged
      mysql-test/r/system_mysql_db_refs.result:
        Auto merged
      mysql-test/t/system_mysql_db_fix-master.opt:
        Auto merged
      mysql-test/t/system_mysql_db.test:
        Auto merged
      91b109b7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 1c1e0d36
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      1c1e0d36
    • unknown's avatar
      Updated result sets (from 4.1) · e070c794
      unknown authored
      e070c794
    • unknown's avatar
      my_global.h: · 37be92e2
      unknown authored
        Define cxa_pure_virtual to print error message and DBUG_ASSERT:
        calls to pure virtual methods should not go unnoticed.
      
      
      include/my_global.h:
        Define cxa_pure_virtual to print error message and DBUG_ASSERT:
        calls to pure virtual methods should not go unnoticed.
      37be92e2
    • unknown's avatar
      Do-compile: · 5a8b757e
      unknown authored
        Call my_md5sum with path
      
      
      Build-tools/Do-compile:
        Call my_md5sum with path
      5a8b757e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 51e40aca
      unknown authored
      into here.mwagner.org:/Volumes/BK/mysql-4.0
      
      51e40aca
    • unknown's avatar
      Merge here.mwagner.org:/Volumes/BK/mysql-4.0 · 4a45ca91
      unknown authored
      into here.mwagner.org:/Volumes/BK/mysql-4.0-work
      
      4a45ca91
    • unknown's avatar
      Do-compile: · fe678d70
      unknown authored
        Added support for MD5 verification of file transfers
      
      
      Build-tools/Do-compile:
        Added support for MD5 verification of file transfers
      fe678d70
    • unknown's avatar
      fixed Bug #4378 "create database IF NOT EXISTS thing" returns an error · dcfa9f1b
      unknown authored
      
      sql/sql_db.cc:
        discarded final '\' in path for my_stat (for Win32)
        as the fix 
        for Bug #4378 "create database IF NOT EXISTS thing" returns an error
      dcfa9f1b
    • unknown's avatar
      Fixed Bug#4451. According to C/C++ standards, enums should not be used · 590afa80
      unknown authored
      out of their range.
      
      590afa80
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · b86ba364
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_db.cc:
        Auto merged
      b86ba364
    • unknown's avatar
      New handler::index_flags() definition to make it easy to check the full used... · 9236c380
      unknown authored
      New handler::index_flags() definition to make it easy to check the full used key and a specific key part.
      Added key part to optimize_range() to fix problems when using fields in key parts.
      
      
      
      sql/examples/ha_archive.h:
        New handler::index_flags() definition
      sql/examples/ha_example.h:
        New handler::index_flags() definition
      sql/field.cc:
        New optimize_range() definition
      sql/field.h:
        New optimize_range() definition
      sql/ha_berkeley.cc:
        New handler::index_flags() definition
      sql/ha_berkeley.h:
        New handler::index_flags() definition
      sql/ha_heap.h:
        New handler::index_flags() definition
      sql/ha_innodb.h:
        New handler::index_flags() definition
      sql/ha_isam.h:
        New handler::index_flags() definition
      sql/ha_isammrg.h:
        New handler::index_flags() definition
      sql/ha_myisam.h:
        New handler::index_flags() definition
      sql/ha_myisammrg.h:
        New handler::index_flags() definition
      sql/ha_ndbcluster.cc:
        New handler::index_flags() definition
      sql/ha_ndbcluster.h:
        New handler::index_flags() definition
      sql/handler.h:
        New handler::index_flags() definition
      sql/log.cc:
        Fixed compiler warnings
      sql/log_event.cc:
        Fixed compiler warnings (and renamed short variable name)
      sql/opt_range.cc:
        New handler::index_flags() definition
      sql/opt_sum.cc:
        New handler::index_flags() definition
      sql/set_var.cc:
        Removed compiler warnings
      sql/sql_db.cc:
        Removed compiler warnings
      sql/sql_select.cc:
        New handler::index_flags() definition
      sql/sql_show.cc:
        Removed compiler warnings
      sql/sql_update.cc:
        Removed compiler warnings
      sql/table.cc:
        New handler::index_flags() definition
      9236c380
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 53f91a1a
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
      
      53f91a1a
    • unknown's avatar
      Minor fix: V is primary level, not U. · ab88d794
      unknown authored
      ab88d794
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 52d02281
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work2-4.1
      
      52d02281
    • unknown's avatar
      WL#807 Optimize loading database options in load_db_opt · a79de7b2
      unknown authored
      also known as
      BUG#2326 Charset of table is determined by charset of db only if "USE db;"
      
      a79de7b2