1. 28 Jun, 2001 1 commit
    • unknown's avatar
      Implement ORDER BY DESC optimization, which reads values in descending · 3e6f87ce
      unknown authored
      order directly from the index instead of using a filesort.
      
      
      mysql-test/mysql-test-run.sh:
        [ -n $SKIP_TEST ] --> [ -n "$SKIP_TEST" ]; portability fix
      mysql-test/r/order_by.result:
        Added test for ORDER BY DESC optimization
      mysql-test/t/order_by.test:
        Added test for ORDER BY DESC optimization
      sql/opt_range.cc:
        Added QUICK_SELECT_DESC class which implements ORDER BY DESC optimization.
      sql/opt_range.h:
        Added QUICK_SELECT_DESC class which implements ORDER BY DESC optimization.
      sql/sql_select.cc:
        Added QUICK_SELECT_DESC class which implements ORDER BY DESC optimization.
      BitKeeper/etc/ignore:
        Added .gdbinit .vimrc to the ignore list
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3e6f87ce
  2. 26 Jun, 2001 1 commit
    • unknown's avatar
      Fixed length rows should not use row checksum in MyISAM tables · 237b4bed
      unknown authored
      Fixed bug in handling of packed MyISAM keys
      
      
      myisam/mi_create.c:
        Fixed length rows should not use row checksum
      myisam/mi_search.c:
        Fixed bug in handling packed keys.
      myisam/mi_statrec.c:
        Fixed bug when using --checksum on fixed length rows
      237b4bed
  3. 25 Jun, 2001 1 commit
    • unknown's avatar
      Fixed bug when sorting big files (introduced with multi-table-delete) · 743c2411
      unknown authored
      Changed mysql-test to use --language
      Cleaned up parameters to filesort()
      
      
      configure.in:
        Fixed typo
      mysql-test/install_test_db.sh:
        Changed test case to use --language
      mysql-test/mysql-test-run.sh:
        Changed test case to use --language
        Fixed that test names are not 'cut'-ed.
      mysql-test/r/select_found.result:
        Fixed test case to make it repeatable
      mysql-test/t/insert.test:
        Added test of unique key handling
      mysql-test/t/order_fill_sortbuf.test:
        Cleaned up test
      mysql-test/t/select_found.test:
        Fixed test case to make it repeatable
      sql/filesort.cc:
        Fixed bug when sorting big files (introduced with multi-table-delete)
        cleaned up parameters.
      sql/mysql_priv.h:
        Cleaned up parameters to filesort()
      sql/mysqld.cc:
        Fixed typo on enum
      sql/sql_delete.cc:
        Cleanup
      sql/sql_select.cc:
        Cleanup
      sql/sql_table.cc:
        Cleanup
      sql/sql_test.cc:
        Cleanup
      sql/sql_update.cc:
        Cleanup
      743c2411
  4. 24 Jun, 2001 3 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 · 8b3f711a
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      8b3f711a
    • unknown's avatar
      Fixed bug in multi-table-delete code · 4720ec21
      unknown authored
      
      client/mysqltest.c:
        Added --big-test argument
      libmysqld/lib_sql.cc:
        Reset error messages before new query.
      libmysqld/lib_vio.c:
        Fixed reading of results.
      mysql-test/mysql-test-run.sh:
        Added option --big
      mysql-test/r/multi_update.result:
        More multi-delete tests
      mysql-test/t/bdb-crash.test:
        Added missing test if BDB is supported
      mysql-test/t/multi_update.test:
        More multi-delete tests
      4720ec21
    • unknown's avatar
      show master forced rotate info in SHOW BINLOG EVENTS · 16aefaaa
      unknown authored
      mark a master-forced rotate with a special flag
      
      
      mysql-test/r/rpl000014.result:
        updated result
      mysql-test/r/rpl000015.result:
        updated result
      mysql-test/r/rpl000016.result:
        updated result
      mysql-test/r/rpl_log.result:
        updated result
      mysql-test/t/rpl000017-slave.sh:
        fix for change in master.info format
      mysql-test/t/rpl_log.test:
        test for correct last_log_seq in show slave status
      sql/log.cc:
        mark a master-forced rotate with a special flag
      sql/log_event.cc:
        show master forced rotate info in SHOW BINLOG EVENTS
      sql/log_event.h:
        master forced rotation flag
      sql/slave.cc:
        keep trace of last log sequences in MASTER_INFO
        do not rotate on slave, if the rotation on master was forced by its master
      sql/slave.h:
        keep track of last log sequence number in MASTER_INFO
      16aefaaa
  5. 22 Jun, 2001 2 commits
    • unknown's avatar
      added test case for the bug in ORDER BY when we fill up sort buffer · e37a9723
      unknown authored
      Note that if you change sort buffer to be bigger, the bug will not show
      
      e37a9723
    • unknown's avatar
      merged new 3.23 errors · de0b2af7
      unknown authored
      fixed bugs in log seq - now starting to look good
      fixes for SHOW BINLOG EVENTS
      will push this one
      
      
      include/mysqld_error.h:
        merged errors from 3.23
      mysql-test/mysql-test-run.sh:
        wrong quotes in --skip-test
      mysql-test/r/drop.result:
        updated test
      mysql-test/r/rpl_log.result:
        updated test
      mysql-test/t/drop.test:
        updated test
      mysql-test/t/rpl_log.test:
        fixed bugs in test case
      sql/item_sum.h:
        remove compiler warning about re-ordered initialization
      sql/log.cc:
        fixed a bunch of loq_seq bugs
      sql/log_event.cc:
        fixed log seq bugs, added info for Slave event in SHOW BINLOG EVENTS
      sql/share/czech/errmsg.txt:
        merged errors from 3.23
      sql/share/danish/errmsg.txt:
        merged errors from 3.23
      sql/share/dutch/errmsg.txt:
        merged errors from 3.23
      sql/share/english/errmsg.txt:
        merged errors from 3.23
      sql/share/estonian/errmsg.txt:
        merged errors from 3.23
      sql/share/french/errmsg.txt:
        merged errors from 3.23
      sql/share/german/errmsg.txt:
        merged errors from 3.23
      sql/share/greek/errmsg.txt:
        merged errors from 3.23
      sql/share/hungarian/errmsg.txt:
        merged errors from 3.23
      sql/share/italian/errmsg.txt:
        merged errors from 3.23
      sql/share/japanese/errmsg.txt:
        merged errors from 3.23
      sql/share/korean/errmsg.txt:
        merged errors from 3.23
      sql/share/norwegian-ny/errmsg.txt:
        merged errors from 3.23
      sql/share/norwegian/errmsg.txt:
        merged errors from 3.23
      sql/share/polish/errmsg.txt:
        merged errors from 3.23
      sql/share/portuguese/errmsg.txt:
        merged errors from 3.23
      sql/share/romanian/errmsg.txt:
        merged errors from 3.23
      sql/share/russian/errmsg.txt:
        merged errors from 3.23
      sql/share/slovak/errmsg.txt:
        merged errors from 3.23
      sql/share/spanish/errmsg.txt:
        merged errors from 3.23
      sql/share/swedish/errmsg.txt:
        merged errors from 3.23
      sql/slave.cc:
        fixed log_seq bugs
      de0b2af7
  6. 21 Jun, 2001 6 commits
    • unknown's avatar
      merge · f1a5dafc
      unknown authored
      
      sql/slave.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      f1a5dafc
    • unknown's avatar
      fixed drop/create database bug when holding global read lock · d88fdc2b
      unknown authored
      preserve originating server id in Intvar events to avoid inifinite loops
      
      
      include/mysqld_error.h:
        new error messages
      mysql-test/r/drop.result:
        updated result
      mysql-test/r/flush.result:
        updated result
      mysql-test/t/drop.test:
        test for proper handling of drop/create database when holding
        global read lock
      mysql-test/t/flush.test:
        test to see if other thread would block on drop database if we
        are holding global read lock
      sql/log.cc:
        preserve originating server id in Intvar log event
      sql/share/czech/errmsg.txt:
        new error messages
      sql/share/danish/errmsg.txt:
        new error messages
      sql/share/dutch/errmsg.txt:
        new error messages
      sql/share/english/errmsg.txt:
        new error messages
      sql/share/estonian/errmsg.txt:
        new error messages
      sql/share/french/errmsg.txt:
        new error messages
      sql/share/german/errmsg.txt:
        new error messages
      sql/share/greek/errmsg.txt:
        new error messages
      sql/share/hungarian/errmsg.txt:
        new error messages
      sql/share/italian/errmsg.txt:
        new error messages
      sql/share/japanese/errmsg.txt:
        new error messages
      sql/share/korean/errmsg.txt:
        new error messages
      sql/share/norwegian-ny/errmsg.txt:
        new error messages
      sql/share/norwegian/errmsg.txt:
        new error messages
      sql/share/polish/errmsg.txt:
        new error messages
      sql/share/portuguese/errmsg.txt:
        new error messages
      sql/share/romanian/errmsg.txt:
        new error messages
      sql/share/russian/errmsg.txt:
        new error messages
      sql/share/slovak/errmsg.txt:
        new error messages
      sql/share/spanish/errmsg.txt:
        new error messages
      sql/share/swedish/errmsg.txt:
        new error messages
      sql/slave.cc:
        fixed typo in comment
      sql/sql_db.cc:
        global read lock should block drop/create database
      d88fdc2b
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 5756e498
      unknown authored
      into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
      
      
      sql/sql_parse.cc:
        Auto merged
      5756e498
    • unknown's avatar
      added SHOW BINLOG EVENTS · 818abea2
      unknown authored
      fixed log sequence bugs
      fixed bugs in handling Slave event
      added test case with SHOW BINLOG EVENTS
      have not fixed all the bugs - found some that are also in 3.23,
      will fix them there first, then do pull and cleanup
      
      will not push this changeset
      
      
      include/mysqld_error.h:
        new error
      mysql-test/mysql-test-run.sh:
        use quotes in expr
      sql/lex.h:
        SHOW BINLOG EVENTS
      sql/log.cc:
        fixed log sequence bugs
      sql/log_event.cc:
        SHOW BINLOG EVENTS
        fixed bugs Slave event handling
      sql/log_event.h:
        SHOW BINLOG EVENTS
      sql/share/english/errmsg.txt:
        SHOW BINLOG EVENTS
      sql/sql_lex.h:
        SHOW BINLOG EVENTS
      sql/sql_parse.cc:
        SHOW BINLOG EVENTS
      sql/sql_repl.cc:
        SHOW BINLOG EVENTS
      sql/sql_repl.h:
        SHOW BINLOG EVENTS
      sql/sql_yacc.yy:
        SHOW BINLOG EVENTS
      818abea2
    • unknown's avatar
      merge · 3a7f86e4
      unknown authored
      
      Docs/manual.texi:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      mysql-test/t/bdb.test:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      3a7f86e4
    • unknown's avatar
      UNIQUE keys are not anymore shown as PRIMARY KEY · 8a677f29
      unknown authored
      
      Docs/manual.texi:
        Changelog
      mysql-test/r/show_check.result:
        Added test for SHOW CREATE
      mysql-test/t/show_check.test:
        Added test for SHOW CREATE
      sql/mysqld.cc:
        Fixed messages
      8a677f29
  7. 20 Jun, 2001 1 commit
    • unknown's avatar
      Added --warnings to mysqld · fb8c1f22
      unknown authored
      
      Docs/manual.texi:
        Changelog
      sql/mysql_priv.h:
        Added --warnings
      sql/mysqld.cc:
        Added --warnings
      sql/sql_parse.cc:
        Added --warnings
      fb8c1f22
  8. 19 Jun, 2001 5 commits
    • unknown's avatar
      added --skip-test option · 3ea05e03
      unknown authored
      3ea05e03
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · f2dc91b0
      unknown authored
      into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
      
      
      sql/sql_class.h:
        Auto merged
      f2dc91b0
    • unknown's avatar
      Added event sequence number and flags to binlog · e1c4e900
      unknown authored
      Documented/cleaned up log event code
      Updated tests
      
      
      mysql-test/r/rpl000014.result:
        new binlog format
      mysql-test/r/rpl000015.result:
        new binlog format
      mysql-test/r/rpl000016.result:
        new binlog format
      mysql-test/std_data/master-bin.001:
        new binlog format
      mysql-test/t/rpl000014.test:
        new binlog format
      sql/log.cc:
        new binlog format
      sql/log_event.cc:
        new binlog format
      sql/log_event.h:
        new binlog format
      sql/sql_class.cc:
        new binlog format
      sql/sql_class.h:
        new binlog format
      sql/sql_repl.cc:
        new binlog format
      e1c4e900
    • unknown's avatar
      Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql · e4b63bf6
      unknown authored
      
      Docs/manual.texi:
        Auto merged
      e4b63bf6
    • unknown's avatar
      Fixed bug in mysqlcheck when using --fast · 6f6c95ef
      unknown authored
      Fixed problem when converting bigint to double.
      Fixed bug in count(distinct null)
      Fixed bug with empty BDB tables.
      
      
      BitKeeper/deleted/.del-ATIS-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~dd306b2e583ebde4:
        Delete: sql-bench/Results/ATIS-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-RUN-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~11038a44f73070e7:
        Delete: sql-bench/Results/RUN-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-alter-table-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~662b96bc66bc91b6:
        Delete: sql-bench/Results/alter-table-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-big-tables-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~788ad492867b1226:
        Delete: sql-bench/Results/big-tables-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-connect-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~5316add301edb60:
        Delete: sql-bench/Results/connect-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-create-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~26e09af61f88d8c9:
        Delete: sql-bench/Results/create-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-insert-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~fd2699adb3190d07:
        Delete: sql-bench/Results/insert-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-select-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~b01175ad38fd12b6:
        Delete: sql-bench/Results/select-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-wisconsin-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~8ba598d217450157:
        Delete: sql-bench/Results/wisconsin-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      Docs/manual.texi:
        Changelog + update to Linux section
      client/mysqlcheck.c:
        Fixed bug when using --fast
        --check --auto-repair --fast will not anymore repair tables that
        had warnings but where ok.
      mysql-test/r/bdb.result:
        New test case
      mysql-test/r/bigint.result:
        New test case
      mysql-test/r/count_distinct.result:
        New test case
      mysql-test/t/bdb.test:
        New test case
      mysql-test/t/bigint.test:
        New test case
      mysql-test/t/count_distinct.test:
        New test case
      sql-bench/Comments/postgres.benchmark:
        Update for PostgreSQL 7.1.2
      sql-bench/graph-compare-results.sh:
        Fixed colors for mysql --fast tests
      sql/field.cc:
        Fixed problem when converting bigint to double.
      sql/item_sum.cc:
        Fixed bug in count(distinct null)
      sql/item_sum.h:
        Fixed bug in count(distinct null)
      sql/mysqlbinlog.cc:
        Fixed typo
      sql/sql_base.cc:
        cleanup
      sql/sql_select.cc:
        Fixed bug with empty BDB tables.
      sql/time.cc:
        Removed warning when reading timestamps with sub seconds.
      6f6c95ef
  9. 18 Jun, 2001 2 commits
    • unknown's avatar
      manual.texi $tab -> @tab · b16fc556
      unknown authored
      manual.texi	ALTER TABLE clarification
      
      
      Docs/manual.texi:
        $tab -> @tab
      b16fc556
    • unknown's avatar
      Further work on UNIONS · 58c64b4f
      unknown authored
      
      BitKeeper/etc/ignore:
        Added libmysqld/hash_filo.cc libmysqld/sql_unions.cc libmysqld/stacktrace.c sql/share/mysql to the ignore list
      sql/sql_parse.cc:
        Fixing some stuff for UNION's
      58c64b4f
  10. 16 Jun, 2001 2 commits
    • unknown's avatar
      bk resolve changes · cc98a1a2
      unknown authored
      
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_delete.cc:
        Same as above
      cc98a1a2
    • unknown's avatar
      Changes for multi-table delete and UNION's · 12411e8d
      unknown authored
      
      mysql-test/t/multi_update.test:
        Made a test feasible. It will last very long time, so I will change 
        it again as soon as Monty pull's it
      sql/sql_class.h:
        Some small changes
      sql/sql_delete.cc:
        Fixed one bug in my stripping code
      sql/sql_parse.cc:
        Additional stuff for UNION's
      12411e8d
  11. 15 Jun, 2001 3 commits
    • unknown's avatar
      Fixed bug when using more than 1 connection · 7b016c1e
      unknown authored
      
      libmysqld/Makefile.am:
        Added missing files
      libmysqld/libmysqld.c:
        cleanup
      7b016c1e
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 · 006aa99f
      unknown authored
      
      sql/sql_class.h:
        Auto merged
      006aa99f
    • unknown's avatar
      Fixed multi-table-delete · 4fb64047
      unknown authored
      Optimize fixed length MyISAM rows to use pread/pwrite.
      
      
      BUILD/compile-pentium-debug-max:
        Also build embedded server
      libmysqld/lib_vio.c:
        Add vio_poll_read()
      myisam/mi_statrec.c:
        Use pread()/pwrite() instead of seek+read/write
      mysql-test/r/multi_update.result:
        Fix multi-table-delete test
      mysql-test/t/multi_update.test:
        Fix multi-table-delete test
      sql/filesort.cc:
        Fix multi-table-delete
      sql/mysql_priv.h:
        Fix multi-table-delete
      sql/sql_class.h:
        Fix multi-table-delete
      sql/sql_delete.cc:
        Fix multi-table-delete
      sql/sql_parse.cc:
        Fix multi-table-delete
      sql/sql_select.cc:
        Fix multi-table-delete
      sql/sql_table.cc:
        cleanup
      sql/sql_unions.cc:
        cleanup
      sql/sql_yacc.yy:
        cleanup/ optimize
      sql/structs.h:
        Fix multi-table-delete
      sql/uniques.cc:
        Fix multi-table-delete
      4fb64047
  12. 14 Jun, 2001 4 commits
  13. 13 Jun, 2001 9 commits