1. 16 Nov, 2002 1 commit
    • unknown's avatar
      Small improvement to alloc_root · f39f794d
      unknown authored
      Add support for LIMIT # OFFSET #
      Changed lock handling:  Now all locks should be stored in TABLE_LIST instead of passed to functions.
      Don't call query_cache_invalidate() twice in some cases
      mysql_change_user() now clears states to be equal to close + connect.
      Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
      Fixed a bug with replicate-do and UPDATE
      
      
      BitKeeper/etc/ignore:
        added autom4te.cache/* bdb/dist/autom4te.cache/* innobase/autom4te.cache/*
      include/my_alloc.h:
        Small improvement to alloc_root
      libmysql/libmysql.c:
        Removed compiler warning
      myisam/mi_page.c:
        Better DBUG message
      mysql-test/r/multi_update.result:
        Added test with lock tables
      mysql-test/r/rpl_replicate_do.result:
        Update results
      mysql-test/r/rpl_rotate_logs.result:
        Make test independent of if t1 exists
      mysql-test/t/multi_update.test:
        Added test with lock tables
      mysql-test/t/rpl_rotate_logs.test:
        Make test independent of if t1 exists
      mysys/my_alloc.c:
        Small imprevement to alloc_root
        (Don't free blocks less than ALLOC_MAX_BLOCK_ROOT (4K)
      sql/ha_innodb.cc:
        More debug messages
      sql/ha_myisam.cc:
        Safety change
      sql/lex.h:
        Add support for LIMIT # OFFSET #
      sql/lock.cc:
        Added assertion
      sql/mysql_priv.h:
        Change of lock handling
      sql/mysqld.cc:
        Added function clear_error_messages()
      sql/sql_base.cc:
        Change lock handling by open_ltable() and open_and_lock_tables()
      sql/sql_class.cc:
        Split THD::THD to two functions
        Move some code from cleanup() to ~THD:THD
        Add THD::change_user()
      sql/sql_class.h:
        Prototype changes in class THD
      sql/sql_delete.cc:
        Remove locking argument from mysql_delete()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_insert.cc:
        Remove locking argument from mysql_insert()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
        Don't use bulk insert if bulk_insert_buff_size is 0
      sql/sql_parse.cc:
        Changes to make mysql_change_user() work as close+connect
        Changed command statistics to use statstics_increment to get more speed
        Update code to handle that locks is now stored in TABLE_LIST
      sql/sql_update.cc:
        Remove locking argument from mysql_update()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_yacc.yy:
        Locking type is now stored in TABLE_LIST
        Added support for LIMIT # OFFSET # syntax
        Removed some wrong (never true) checks for SQLCOM_MULTI_UPDATE
      mysql-test/t/rpl_replicate_do-slave.opt:
        Changed tables to use t1,t2,...
      mysql-test/t/rpl_replicate_do.test:
        Changed tables to use t1,t2,...
      f39f794d
  2. 14 Nov, 2002 2 commits
  3. 13 Nov, 2002 11 commits
    • unknown's avatar
      results updated · 9aa06fec
      unknown authored
      
      mysql-test/r/myisam.result:
        updated
      9aa06fec
    • unknown's avatar
      merged · d99bec4c
      unknown authored
      
      BitKeeper/etc/gone:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      sql/ha_myisam.cc:
        Auto merged
      innobase/row/row0sel.c:
        merged (ul - as 3.23's fix was a backport from 4.0)
      mysql-test/r/myisam.result:
        merged - ul
      d99bec4c
    • unknown's avatar
    • unknown's avatar
      optimize table corruption fixed, though more clean fix is desired. · dff9da6c
      unknown authored
      Fix for another optimize bug is undone, as the new one handles both cases.
      test added
      
      
      mysql-test/r/myisam.result:
        updated
      mysql-test/t/myisam.test:
        optimize table corruption test
      sql/ha_myisam.cc:
        optimize table corruption fixed, though more clean fix is desired.
        Fix for another optimize bug is undone, as the new one handles both cases.
      dff9da6c
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 486c35ed
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      486c35ed
    • unknown's avatar
      removed redundant line · 23fb9b58
      unknown authored
      23fb9b58
    • unknown's avatar
      row0sel.c: · 10487c67
      unknown authored
        Backport from 4.0 a bug fix: if unique search from a primary key matched a delete-marked record, InnoDB could return the NEXT record
      
      
      innobase/row/row0sel.c:
        Backport from 4.0 a bug fix: if unique search from a primary key matched a delete-marked record, InnoDB could return the NEXT record
      10487c67
    • unknown's avatar
      row0sel.c: · 6132e168
      unknown authored
        Fix bug: if a unique search from a primary key matched to a delete-marked row, it could return the NEXT row
      
      
      innobase/row/row0sel.c:
        Fix bug: if a unique search from a primary key matched to a delete-marked row, it could return the NEXT row
      6132e168
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.0 · 3071b63b
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      3071b63b
    • unknown's avatar
      dict0load.c: · b74a3c6f
      unknown authored
        Fix wrong sprintf argument
      row0sel.c:
        Fix uninitialized variable error found by Miguel
      
      
      innobase/row/row0sel.c:
        Fix uninitialized variable error found by Miguel
      innobase/dict/dict0load.c:
        Fix wrong sprintf argument
      b74a3c6f
    • unknown's avatar
      Typo fix (duplicate functions body) · 0e0c38b8
      unknown authored
      
      sql/nt_servc.cc:
        Typo fix (duplicate fuctions body)
      0e0c38b8
  4. 12 Nov, 2002 15 commits
  5. 11 Nov, 2002 7 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 37c9d272
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      37c9d272
    • unknown's avatar
      removed DBUG_ENTER/RETURN tags · 59b1b765
      unknown authored
      59b1b765
    • unknown's avatar
      Fixed that NULL and 0 returns 0 instead of NULL · e01c75e4
      unknown authored
      This is coded to not cause a speed impact on top level AND expressions where we don't care if an AND expression returns 0 or NULL
      
      
      mysql-test/r/bdb.result:
        Fix results after serges last patch
      mysql-test/r/innodb.result:
        Fix results after serges last patch
      mysql-test/r/null.result:
        Update for new AND handling of NULL
      scripts/mysqld_safe.sh:
        Fix 'isroot' test to work even if user is not root
      sql/item.h:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/item_cmpfunc.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/item_cmpfunc.h:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_base.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_parse.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_select.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_yacc.yy:
        Fixed that NULL and 0 returns 0 instead of NULL
      e01c75e4
    • unknown's avatar
      - "head/tail -<num>" is obsolete according to POSIX.1-2001 - use · 06170db6
      unknown authored
         "head/tail -n <num>" instead
      
      06170db6
    • unknown's avatar
      bdb.result: · 723d854b
      unknown authored
       - fixed yet another wrong result after error messages had been changed
      
      
      mysql-test/r/bdb.result:
         - fixed yet another wrong result after error messages had been changed
      723d854b
    • unknown's avatar
      innodb.result: · 1603418c
      unknown authored
       - fixed test results after error messages had been modified
      
      
      mysql-test/r/innodb.result:
         - fixed test results after error messages had been modified
      1603418c
    • unknown's avatar
      Merge akeremidarski@work.mysql.com:/home/bk/mysql · 61d63df9
      unknown authored
      into geopard.(none):/storage/bk/mysql-3.23
      
      
      BitKeeper/etc/gone:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      61d63df9
  6. 10 Nov, 2002 2 commits
  7. 09 Nov, 2002 2 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · e0e45a24
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      e0e45a24
    • unknown's avatar
      results fixed · 5bc6ab09
      unknown authored
      
      mysql-test/r/isam.result:
        fixed result for new errmsg
      mysql-test/r/select.result:
        fixed result for IGNORE/USE INDEX
      5bc6ab09