An error occurred fetching the project authors.
  1. 15 Jan, 2003 2 commits
    • unknown's avatar
      ha_innodb.cc: · ab44cbca
      unknown authored
        Fix a typo
      
      
      sql/ha_innodb.cc:
        Fix a typo
      ab44cbca
    • unknown's avatar
      ha_innodb.cc: · dd11eadc
      unknown authored
        Fix a possible hang at the adaptive hash index latch if MySQL does query estimations also in the middle of a SELECT statement processing
      
      
      sql/ha_innodb.cc:
        Fix a possible hang at the adaptive hash index latch if MySQL does query estimations also in the middle of a SELECT statement processing
      dd11eadc
  2. 12 Jan, 2003 1 commit
    • unknown's avatar
      trx0trx.c: · 4c1037ea
      unknown authored
        Add diagnostic prints to determine why the 'queries inside InnoDB' might drift upwards
      ha_innodb.cc:
        Add more print space to SHOW INNODB STATUS; remove possible memory leak in case there is an error
      
      
      sql/ha_innodb.cc:
        Add more print space to SHOW INNODB STATUS; remove possible memory leak in case there is an error
      innobase/trx/trx0trx.c:
        Add diagnostic prints to determine why the 'queries inside InnoDB' might drift upwards
      4c1037ea
  3. 31 Dec, 2002 1 commit
    • unknown's avatar
      ha_innodb.cc: · bc1718c9
      unknown authored
        Fix bug: could not switch trx isolation back to REPEATABLE READ after switching it to some other level
      
      
      sql/ha_innodb.cc:
        Fix bug: could not switch trx isolation back to REPEATABLE READ after switching it to some other level
      bc1718c9
  4. 26 Dec, 2002 1 commit
    • unknown's avatar
      Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns · f1696d4f
      unknown authored
      Changed long packat handling to check for packets of length 0xffffff.
      This does however break packet handling for older clients.
      If you are using packets >= 16M then you need to upgrade client and server
      after this patch.
      
      
      Docs/internals.texi:
        Updated documentation for 4.1 protocol
      sql/ha_innodb.cc:
        Optimization of checking command
      sql/item.h:
        Removed automatic set of length for Item_string
      sql/item_create.cc:
        Optimized create of create_func_current_user()
      sql/net_serv.cc:
        Fixed wrong max packet length
      sql/sql_acl.cc:
        Safety fix.
      sql/sql_parse.cc:
        Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns
      f1696d4f
  5. 05 Dec, 2002 1 commit
    • unknown's avatar
      Removed copying of parameters as this leads to memory leaks in embedded server. · 591b0585
      unknown authored
      Fixed 'not initialized' memory error.
      
      
      mysql-test/mysql-test-run.sh:
        Updates to be able to more easily use --valgrind
      mysql-test/r/alter_table.result:
        Added missing drop table
      mysql-test/t/alter_table.test:
        Added missing drop table
      sql/field.cc:
        Simple optimizations
      sql/ha_innodb.cc:
        Remove copying of parameters as this leads to memory leaks in MySQL.
        Should be instead fixed by, in embedded server, make a temporary copy of
        all parameters and free them on server-end
      sql/log.cc:
        Simple optimization
      sql/mysql_priv.h:
        Move external reference to struct to include file
      sql/mysqld.cc:
        Added safety asserts
      sql/sql_class.cc:
        Fixed non fatal 'not initialized memory reference error' in thread init
      sql/sql_udf.cc:
        Clear current_thd for global thread
      strings/strto.c:
        Simple optimization
      591b0585
  6. 29 Nov, 2002 1 commit
    • unknown's avatar
      ha_innodb.cc: · 7989f285
      unknown authored
        Make copies of all string-type start/up options in case C-sharp moves them around; remove the need to specify innodb_log_arch_dir in my.cnf, since it has no relevance anyway
      
      
      sql/ha_innodb.cc:
        Make copies of all string-type start/up options in case C-sharp moves them around; remove the need to specify innodb_log_arch_dir in my.cnf, since it has no relevance anyway
      7989f285
  7. 19 Nov, 2002 1 commit
    • unknown's avatar
      row0mysql.c, row0mysql.h, ha_innodb.cc, sql_table.cc, handler.h: · d050750f
      unknown authored
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      
      
      sql/handler.h:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      sql/sql_table.cc:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      sql/ha_innodb.cc:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      innobase/include/row0mysql.h:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      innobase/row/row0mysql.c:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      d050750f
  8. 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
  9. 15 Nov, 2002 3 commits
    • unknown's avatar
      ha_innodb.cc: · 744000cd
      unknown authored
        Remove unintentionally pushed printf
      
      
      sql/ha_innodb.cc:
        Remove unintentionally pushed printf
      744000cd
    • unknown's avatar
      ha_innodb.cc: · c17c9620
      unknown authored
        Fix another bug introduced in 4.0.4 in AUTO_INCREMENT and deadlock or lock wait timeout
      
      
      sql/ha_innodb.cc:
        Fix another bug introduced in 4.0.4 in AUTO_INCREMENT and deadlock or lock wait timeout
      c17c9620
    • unknown's avatar
      ha_innodb.cc: · 6e289b7d
      unknown authored
        Fix bug intoduced in 4.0.4 in REPLACE and AUTO_INCREMENT: if replace did an update, then auto-inc counter was left 1 too low
      
      
      sql/ha_innodb.cc:
        Fix bug intoduced in 4.0.4 in REPLACE and AUTO_INCREMENT: if replace did an update, then auto-inc counter was left 1 too low
      6e289b7d
  10. 14 Nov, 2002 1 commit
    • unknown's avatar
      Portability fix when using -DBIG_TABLES · 3648eb7d
      unknown authored
      BitKeeper/etc/config:
        Changed Sasha to sys
      client/mysqlbinlog.cc:
        Fixed that --position open works.
      sql/item_timefunc.cc:
        Portability fix
      sql/log_event.cc:
        Portability fix
      sql/set_var.cc:
        Portability fix
      3648eb7d
  11. 09 Nov, 2002 1 commit
    • unknown's avatar
      ha_innodb.cc: · bfec3dab
      unknown authored
        Try to skip over corrupt records in SELECT if innodb_force_recovery > 0; print more page hex dumps in CHECK TABLE
      
      
      sql/ha_innodb.cc:
        Try to skip over corrupt records in SELECT if innodb_force_recovery > 0; print more page hex dumps in CHECK TABLE
      bfec3dab
  12. 07 Nov, 2002 1 commit
    • unknown's avatar
      Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes. · c88b9102
      unknown authored
      client/mysqlbinlog.cc:
        Portability fix
      configure.in:
        Added use of ASFLAGS (For Solaris with Forte 5.0)
      include/my_global.h:
        Portability fix
      include/myisam.h:
        Portability fix
      include/queues.h:
        Portability fix
      innobase/include/ut0ut.h:
        Portability fix
      innobase/log/log0log.c:
        Portability fix
      innobase/rem/rem0cmp.c:
        Portability fix
      innobase/trx/trx0sys.c:
        Portability fix
      isam/pack_isam.c:
        Portability fix
      myisam/ft_boolean_search.c:
        Portability fix
      myisam/mi_dynrec.c:
        Code change to go around bug in Forte 5.0
      myisam/sort.c:
        Portability fix
      mysys/my_aes.c:
        Portability fix
      scripts/Makefile.am:
        Support for ASFLAGS
      scripts/mysqlbug.sh:
        Support for ASFLAGS
      sql/field.cc:
        Portability fix
      sql/filesort.cc:
        Portability fix
      sql/gen_lex_hash.cc:
        Portability fix
      sql/ha_innodb.cc:
        Portability fix
        Changed SHOW INNODB STATUS to return error instead of writing message to log file.
      sql/ha_isammrg.cc:
        Portability fix
      sql/ha_myisam.cc:
        Portability fix
      sql/ha_myisammrg.cc:
        Portability fix
      sql/hash_filo.h:
        Portability fix
      sql/hostname.cc:
        Portability fix
      sql/item_cmpfunc.h:
        Indentation change
      sql/item_func.cc:
        Portability fix
      sql/item_func.h:
        Portability fix
      sql/log.cc:
        Portability fix
      sql/log_event.cc:
        Portability fix
      sql/mysql_priv.h:
        Portability fix
      sql/mysqld.cc:
        Portability fix
        Fixed bug with rpl_recovery_rank command line option on 64 bit systems
      sql/opt_range.cc:
        Portability fix
      sql/repl_failsafe.cc:
        Portability fix
      sql/slave.cc:
        Portability fix
      sql/slave.h:
        Portability fix
      sql/sql_acl.cc:
        Portability fix
      sql/sql_base.cc:
        Portability fix
      sql/sql_cache.cc:
        Portability fix
      sql/sql_cache.h:
        Portability fix
      sql/sql_class.cc:
        Portability fix
      sql/sql_delete.cc:
        Portability fix
      sql/sql_insert.cc:
        Portability fix
      sql/sql_manager.cc:
        Portability fix
      sql/sql_parse.cc:
        Portability fix
      BUILD/compile-solaris-sparc-forte:
        C
      sql/sql_udf.cc:
        Portability fix
      sql/sql_update.cc:
        Portability fix
      strings/Makefile.am:
        Portability fix
      strings/bmove_upp-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/str_test.c:
        Cleanup
      strings/strappend-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strend-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strmake-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strmov-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strnmov-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strstr-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strxmov-sparc.s:
        Fixes to make this more portable, but it's still not usable on 64 bit systems :(
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c88b9102
  13. 05 Nov, 2002 1 commit
    • unknown's avatar
      Many files: · 444d8207
      unknown authored
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      
      
      sql/ha_innodb.cc:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/dict/dict0crea.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/dict/dict0dict.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/include/log0recv.h:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/include/row0mysql.h:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/include/srv0srv.h:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/include/trx0trx.h:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/log/log0recv.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/os/os0sync.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/os/os0thread.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/row/row0ins.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/row/row0mysql.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/row/row0purge.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/row/row0undo.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/row/row0upd.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/srv/srv0srv.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/srv/srv0start.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/trx/trx0roll.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      innobase/trx/trx0trx.c:
        Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
      444d8207
  14. 31 Oct, 2002 2 commits
    • unknown's avatar
      srv0start.h, srv0start.c, ha_innodb.cc: · e53b7488
      unknown authored
        Add check that sizeof(trx_t) is the same in ha_inndob.cc and InnoDB compilation modules
      
      
      sql/ha_innodb.cc:
        Add check that sizeof(trx_t) is the same in ha_inndob.cc and InnoDB compilation modules
      innobase/srv/srv0start.c:
        Add check that sizeof(trx_t) is the same in ha_inndob.cc and InnoDB compilation modules
      innobase/include/srv0start.h:
        Add check that sizeof(trx_t) is the same in ha_inndob.cc and InnoDB compilation modules
      e53b7488
    • unknown's avatar
      ha_innodb.cc: · f2649f10
      unknown authored
        Fix bug: mysqld-debug-max failed standard test because a safe mutex size was seen as 24 bytes in the body of ha_innodb.cc, but 64 bytes in read0read.c
      
      
      sql/ha_innodb.cc:
        Fix bug: mysqld-debug-max failed standard test because a safe mutex size was seen as 24 bytes in the body of ha_innodb.cc, but 64 bytes in read0read.c
      f2649f10
  15. 30 Oct, 2002 1 commit
    • unknown's avatar
      ha_innodb.cc: · 842fc58e
      unknown authored
        Fix bug in MySQL-3.23 ORDER BY from a table with no PRIMARY KEY and where the user had added UNIQUE indexes with CREATE INDEX
      
      
      sql/ha_innodb.cc:
        Fix bug in MySQL-3.23 ORDER BY from a table with no PRIMARY KEY and where the user had added UNIQUE indexes with CREATE INDEX
      842fc58e
  16. 29 Oct, 2002 1 commit
    • unknown's avatar
      Many files: · 3cb98f0d
      unknown authored
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      mysqld.cc:
        Change MySQL default isolation level to REPEATABLE READ; note that InnoDB has always had that default, and BDB and MyISAM always run at SERIALIZABLE level anyway
      
      
      sql/mysqld.cc:
        Change MySQL default isolation level to REPEATABLE READ; note that InnoDB has always had that default, and BDB and MyISAM always run at SERIALIZABLE level anyway
      sql/ha_innodb.cc:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      sql/ha_innodb.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/buf0buf.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/dict0dict.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/fil0fil.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/lock0lock.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/os0file.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/os0proc.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/os0thread.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/page0cur.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/page0page.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/read0read.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/rem0rec.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/srv0srv.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/sync0rw.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/sync0sync.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/trx0purge.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/trx0trx.h:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/include/rem0rec.ic:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/btr/btr0btr.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/btr/btr0cur.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/btr/btr0pcur.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/buf/buf0buf.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/buf/buf0flu.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/dict/dict0dict.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/fil/fil0fil.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/fsp/fsp0fsp.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/ibuf/ibuf0ibuf.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/lock/lock0lock.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/mem/mem0dbg.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/os/os0file.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/os/os0proc.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/page/page0cur.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/page/page0page.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/pars/lexyy.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/pars/pars0grm.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/read/read0read.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0ins.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0mysql.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0purge.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0sel.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0uins.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0undo.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/row/row0upd.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/srv/srv0srv.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/srv/srv0start.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/sync/sync0rw.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/sync/sync0sync.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/trx/trx0purge.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      innobase/trx/trx0trx.c:
        Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
      3cb98f0d
  17. 16 Oct, 2002 1 commit
    • unknown's avatar
      Fixes after last merge. · 320d4912
      unknown authored
      Ignore changed keyblocks when on does DELETE FROM table_name;
      
      
      acinclude.m4:
        Don't give warnings when using openssl installed in /usr/include with gcc 3.x
      myisam/mi_delete_all.c:
        Ignore changed keyblocks when on does DELETE FROM table_name;
      mysql-test/r/null_key.result:
        Fix null test
      sql/ha_innodb.cc:
        Fix bug in last merge
      sql/sql_parse.cc:
        Fix bug introduced with merge
      320d4912
  18. 26 Sep, 2002 1 commit
    • unknown's avatar
      ha_innodb.cc: · b0bf32fd
      unknown authored
        Fix an assertion in btr0pcur.c line 203 when an UPDATE is done inside LOCK TABLES
      
      
      sql/ha_innodb.cc:
        Fix an assertion in btr0pcur.c line 203 when an UPDATE is done inside LOCK TABLES
      b0bf32fd
  19. 25 Sep, 2002 2 commits
    • unknown's avatar
      ha_innodb.h, ha_innodb.cc: · 2384ead5
      unknown authored
        Remove the flag HA_NOT_READ_PREFIX_LAST because ORDER BY orders wrong then; also remove the diagnostic print to avoid cluttering the error log
      
      
      sql/ha_innodb.cc:
        Remove the flag HA_NOT_READ_PREFIX_LAST because ORDER BY orders wrong then; also remove the diagnostic print to avoid cluttering the error log
      sql/ha_innodb.h:
        Remove the flag HA_NOT_READ_PREFIX_LAST because ORDER BY orders wrong then; also remove the diagnostic print to avoid cluttering the error log
      2384ead5
    • unknown's avatar
      ha_innodb.cc, ha_innodb.h: · 3cb32b8c
      unknown authored
        Move to the right place the flag which bans use of HA_READ_PREFIX_LAST; add diagnostics and remove the assertion on line 2180 of ha_innodb.cc
      
      
      sql/ha_innodb.h:
        Move to the right place the flag which bans use of HA_READ_PREFIX_LAST; add diagnostics and remove the assertion on line 2180 of ha_innodb.cc
      sql/ha_innodb.cc:
        Move to the right place the flag which bans use of HA_READ_PREFIX_LAST; add diagnostics and remove the assertion on line 2180 of ha_innodb.cc
      3cb32b8c
  20. 24 Sep, 2002 1 commit
    • unknown's avatar
      Updated VC++ project files for 4.0.4 · c245f424
      unknown authored
      Only write short usage if one starts mysqldump without any options
      Added query cache on windows
      Added error message if one can't read privilege tables
      
      
      Docs/manual.texi:
        Changelog
      VC++Files/bdb/bdb.dsp:
        Updated project files for 4.0.4
      VC++Files/client/mysqlclient.dsp:
        Updated project files for 4.0.4
      VC++Files/innobase/innobase.dsp:
        Updated project files for 4.0.4
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Updated project files for 4.0.4
      VC++Files/mysys/mysys.dsp:
        Updated project files for 4.0.4
      VC++Files/perror/perror.dsp:
        Updated project files for 4.0.4
      VC++Files/sql/mysqld.dsp:
        Updated project files for 4.0.4
      client/mysqldump.c:
        Only write short usage if one starts mysqldump without any options
      include/config-win.h:
        Added query cache on windows
      libmysql/libmysql.def:
        Removed old depricated functions from windows dll
      sql/ha_innodb.cc:
        Added missing defines
      sql/set_var.cc:
        Code cleanup
      sql/sql_acl.cc:
        Added error message if one can't read privilege tables
      sql/sql_cache.h:
        Changed some C linkage functions to C++ functions (portability fix)
      sql/sql_class.cc:
        Safety fix
      c245f424
  21. 21 Sep, 2002 3 commits
    • unknown's avatar
      row0ins.c, ha_innodb.cc: · 3b7333b4
      unknown authored
        Table hash key len in query cache also includes null char at end
      
      
      sql/ha_innodb.cc:
        Table hash key len in query cache also includes null char at end
      innobase/row/row0ins.c:
        Table hash key len in query cache also includes null char at end
      3b7333b4
    • unknown's avatar
      ha_innodb.cc: · 3e55ff61
      unknown authored
        Add return statement
      
      
      sql/ha_innodb.cc:
        Add return statement
      3e55ff61
    • unknown's avatar
      ha_innodb.cc: · 02392941
      unknown authored
        Fix typos in last push
        Fix typo
      
      
      sql/ha_innodb.cc:
        Fix typos in last push
      02392941
  22. 20 Sep, 2002 2 commits
    • unknown's avatar
      ha_innodb.cc, ha_innodb.h: · a72de62a
      unknown authored
        Fix assertion when a temporary table is created and used inside LOCK TABLES
      
      
      sql/ha_innodb.h:
        Fix assertion when a temporary table is created and used inside LOCK TABLES
      sql/ha_innodb.cc:
        Fix assertion when a temporary table is created and used inside LOCK TABLES
      a72de62a
    • unknown's avatar
      Many files: · b8cfcf76
      unknown authored
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      os0file.c:
        Use unbuffered i/o in Windows
      
      
      innobase/dict/dict0mem.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      innobase/os/os0file.c:
        Use unbuffered i/o in Windows
      innobase/lock/lock0lock.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      innobase/row/row0ins.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      innobase/row/row0mysql.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      innobase/row/row0sel.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      innobase/srv/srv0srv.c:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      sql/ha_innodb.h:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      sql/ha_innodb.cc:
        Modifications for query cache + trxs, fix of q.c.+ foreign keys
      b8cfcf76
  23. 14 Sep, 2002 2 commits
    • unknown's avatar
      ha_innodb.h, ha_innodb.cc: · 57a2cf13
      unknown authored
        Reverted the change which allowed use of HA_READ_PREFIX_LAST in InnoDB
      
      
      sql/ha_innodb.cc:
        Reverted the change which allowed use of HA_READ_PREFIX_LAST in InnoDB
      sql/ha_innodb.h:
        Reverted the change which allowed use of HA_READ_PREFIX_LAST in InnoDB
      57a2cf13
    • unknown's avatar
      ha_innodb.cc: · 0b5c1838
      unknown authored
        Add some comments
      ha_innodb.h:
        Remove the flag HA_NOT_READ_PREFIX_LAST from ha_innodb.h: InnoDB has supported this from the start, but not tested yet
      
      
      sql/ha_innodb.h:
        Remove the flag HA_NOT_READ_PREFIX_LAST from ha_innodb.h: InnoDB has supported this from the start, but not tested yet
      sql/ha_innodb.cc:
        Add some comments
      0b5c1838
  24. 11 Sep, 2002 1 commit
    • unknown's avatar
      Portability fixes. · 8f232cb7
      unknown authored
      Improve mysql-test to be more robust.
      Fix that GRANT doesn't delete SSL options
      Change innobase_flush_log_at_trx_commit to uint.
      Don't rotate logs if we read a rotate log entry from the master.
      
      
      Docs/manual.texi:
        Changelog
      client/mysqlbinlog.cc:
        Handle empty binlogfiles gracefully
      client/mysqltest.c:
        Do a sleep after 'sync_with_master'
        Cleaned up sleep() handling.
        Free all memory on exit
      configure.in:
        Fix for Mac OS 10.2
      include/my_sys.h:
        Added my_strdup_with_length()
      innobase/btr/btr0cur.c:
        Fixed wrong printf()
      libmysql/libmysql.c:
        Added DBUG_PRINT statements.
        Assume that mysql_...send() functions has correct query length.
      mysql-test/mysql-test-run.sh:
        Properly remove log files before starting new tests.
      mysql-test/r/grant.result:
        Update for new test results
      mysql-test/r/innodb.result:
        Update for new test results
      mysql-test/r/myisam.result:
        Update for new test results
      mysql-test/r/rpl_log.result:
        Update for new test results
      mysql-test/r/rpl_rotate_logs.result:
        Update for new test results
      mysql-test/r/variables.result:
        Update for new test results
      mysql-test/t/grant.test:
        Test that GRANT doesn't delete SSL options
      mysql-test/t/myisam.test:
        Test long key usage
      mysql-test/t/rpl_log.test:
        Disable 'show new master'
      mysql-test/t/rpl_mystery22.test:
        Longer sleep for more safety.
      mysql-test/t/rpl_rotate_logs.test:
        More comments
      mysys/my_malloc.c:
        Added my_strdup_with_length()
      mysys/safemalloc.c:
        Added my_strdup_with_length()
      mysys/thr_alarm.c:
        Fix of alarms for windows.
      sql/ha_innodb.cc:
        Change innobase_flush_log_at_trx_commit to uint
      mysql-test/r/rpl_redirect.result:
        Updated test results
      mysql-test/t/rpl_redirect.test:
        Added more tests to improve code coverage.
      sql/ha_innodb.h:
        Change innobase_flush_log_at_trx_commit to uint
      sql/item_func.cc:
        Return GLOBAL and SESSION as part of column names
      sql/log.cc:
        Only write STOP events when server goes down.
      sql/log_event.cc:
        Don't rotate logs if we read a rotate log entry from the master.
      sql/log_event.h:
        Change ident_len to uint (more efficient)
      sql/mysqld.cc:
        Change innobase_flush_log_at_trx_commit to uint
      sql/net_serv.cc:
        More debug output
      sql/repl_failsafe.cc:
        More DEBUG
        Search until we find next position in binary log (and not only =)
      sql/slave.cc:
        More DBUG & comments
        Don't rotate the binary log on master flush logs
      sql/slave.h:
        indentation change
      sql/sql_acl.cc:
        Test that GRANT doesn't delete SSL options
      sql/sql_parse.cc:
        Disable show_new_master.
      sql/sql_repl.cc:
        Chamger show_binlog_events() to use my_error()
      sql/sql_table.cc:
        Fixed check for too long keys in MyISAM
      sql/sql_udf.cc:
        Fix udf handling
      8f232cb7
  25. 05 Sep, 2002 2 commits
    • unknown's avatar
      Fixed typo in Heikkis last push. · 0523910a
      unknown authored
      mysql-test/r/innodb.result:
        Fixed Innodb results after Heikki's last push
      sql/ha_innodb.cc:
        Fixed type in Heikki's last push
      0523910a
    • unknown's avatar
      ha_innodb.cc: · e56ad0cf
      unknown authored
        Fix a typo in last night's push
      
      
      sql/ha_innodb.cc:
        Fix a typo in last night's push
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e56ad0cf
  26. 04 Sep, 2002 2 commits
    • unknown's avatar
      btr0btr.c Add more documentation about B-tree latching · 385319b2
      unknown authored
      ha_innodb.cc	Remove gaps in auto-inc in multi-row inserts, more space for foreign key listings in SHOW TABLE STATUS, move resetting of active_trx to amore logical place
      dict0dict.h	Remove gaps from auto-inc sequence if errors in multi-row insert
      dict0dict.c	Remove gaps from auto-inc sequence if errors in multi-row insert
      
      
      innobase/dict/dict0dict.c:
        Remove gaps from auto-inc sequence if errors in multi-row insert
      innobase/include/dict0dict.h:
        Remove gaps from auto-inc sequence if errors in multi-row insert
      sql/ha_innodb.cc:
        Remove gaps in auto-inc in multi-row inserts, more space for foreign key listings in SHOW TABLE STATUS, move resetting of active_trx to amore logical place
      innobase/btr/btr0btr.c:
        Add more documentation about B-tree latching
      385319b2
    • unknown's avatar
      ha_innodb.cc Test a new clone · bc995f9a
      unknown authored
      sql/ha_innodb.cc:
        Test a new clone
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      bc995f9a
  27. 21 Aug, 2002 1 commit
    • unknown's avatar
      InnoDB support for HANDLER · 3f93edfa
      unknown authored
      mysql-test/r/innodb.result:
        remove handler test from innodb.test
      mysql-test/t/innodb.test:
        remove handler test from innodb.test
      sql/ha_innodb.cc:
        HANDLER support
      sql/ha_innodb.h:
        HANDLER support
      sql/handler.h:
        HANDLER support for InnoDB
      sql/sql_handler.cc:
        HANDLER support for InnoDB
      3f93edfa
  28. 12 Aug, 2002 2 commits
    • unknown's avatar
      Changed SQL variable delay_key_write to an enum · 51156c5a
      unknown authored
      able delay_key_write as default (as it was in 4.0.2)
      
      
      Docs/manual.texi:
        Updated information about variable DELAY_KEY_WRITE.
      mysql-test/r/type_decimal.result:
        Updated results
      mysql-test/r/variables.result:
        Updated results
      mysql-test/t/type_decimal.test:
        Fixed test to not cause purify error in mathlib during purify.
      mysql-test/t/variables.test:
        Test new usage of DELAY_KEY_WRITE
      sql/ha_innodb.cc:
        Merge with 3.23 code
      sql/mysql_priv.h:
        Changed SQL variable delay_key_write to an enum
      sql/mysqld.cc:
        Changed SQL variable delay_key_write to an enum.
        Enable delay_key_write as default (as it was in 4.0.2)
      sql/set_var.cc:
        Changed SQL variable delay_key_write to an enum
      sql/set_var.h:
        Changed SQL variable delay_key_write to an enum
      sql/sql_class.h:
        Changed SQL variable delay_key_write to an enum
      sql/sql_yacc.yy:
        Changed SQL variable delay_key_write to an enum
      51156c5a
    • unknown's avatar
      Fixes after last merge · 689a4387
      unknown authored
      mysql-test/r/func_if.result:
        Fixed results after merge
      sql/ha_innodb.cc:
        fixed typo after merge
      689a4387