1. 16 Nov, 2002 1 commit
    • unknown's avatar
      Small improvement to alloc_root · bd1c2d65
      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,...
      bd1c2d65
  2. 14 Nov, 2002 2 commits
  3. 13 Nov, 2002 11 commits
    • unknown's avatar
      results updated · 20243b65
      unknown authored
      
      mysql-test/r/myisam.result:
        updated
      20243b65
    • unknown's avatar
      merged · 9f8277f9
      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
      9f8277f9
    • unknown's avatar
    • unknown's avatar
      optimize table corruption fixed, though more clean fix is desired. · ffb4dee5
      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.
      ffb4dee5
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 30fb37d5
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      30fb37d5
    • unknown's avatar
      removed redundant line · ee23bc4d
      unknown authored
      ee23bc4d
    • unknown's avatar
      row0sel.c: · f8680cf0
      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
      f8680cf0
    • unknown's avatar
      row0sel.c: · 5907ab4e
      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
      5907ab4e
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql-4.0 · 95ff7f77
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      95ff7f77
    • unknown's avatar
      dict0load.c: · d0516d75
      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
      d0516d75
    • unknown's avatar
      Typo fix (duplicate functions body) · 62e8b901
      unknown authored
      
      sql/nt_servc.cc:
        Typo fix (duplicate fuctions body)
      62e8b901
  4. 12 Nov, 2002 15 commits
  5. 11 Nov, 2002 7 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · b18dec61
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      b18dec61
    • unknown's avatar
      removed DBUG_ENTER/RETURN tags · c5960eb5
      unknown authored
      c5960eb5
    • unknown's avatar
      Fixed that NULL and 0 returns 0 instead of NULL · 3165440c
      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
      3165440c
    • unknown's avatar
      - "head/tail -<num>" is obsolete according to POSIX.1-2001 - use · e8390bfa
      unknown authored
         "head/tail -n <num>" instead
      
      
      e8390bfa
    • unknown's avatar
      bdb.result: · 5c556c05
      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
      5c556c05
    • unknown's avatar
      innodb.result: · d3ab8393
      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
      d3ab8393
    • unknown's avatar
      Merge akeremidarski@work.mysql.com:/home/bk/mysql · fa771db2
      unknown authored
      into geopard.(none):/storage/bk/mysql-3.23
      
      
      BitKeeper/etc/gone:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      fa771db2
  6. 10 Nov, 2002 2 commits
  7. 09 Nov, 2002 2 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · dce4b2c9
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      dce4b2c9
    • unknown's avatar
      results fixed · bb2ceda1
      unknown authored
      
      mysql-test/r/isam.result:
        fixed result for new errmsg
      mysql-test/r/select.result:
        fixed result for IGNORE/USE INDEX
      bb2ceda1