An error occurred fetching the project authors.
  1. 28 Nov, 2002 1 commit
    • unknown's avatar
      fixed * without tables in IN bug · 6f80b711
      unknown authored
      fixed sunction-test select in IN bug
      fixed unions in subselect bug
      
      
      include/mysqld_error.h:
        new warning
      mysql-test/r/subselect.result:
        test of * without tables in IN
        test of sunction-test select in IN
        test of unions in subselect
      mysql-test/t/subselect.test:
        test of * without tables in IN
        test of sunction-test select in IN
        test of unions in subselect
      sql/item.cc:
        fixed * substitution without tables
      sql/item_subselect.cc:
        fixed subselect rewriting with function-test subselect
      sql/item_subselect.h:
        mechanism for subselect removing
      sql/share/czech/errmsg.txt:
        new warning
      sql/share/danish/errmsg.txt:
        new warning
      sql/share/dutch/errmsg.txt:
        new warning
      sql/share/english/errmsg.txt:
        new warning
      sql/share/estonian/errmsg.txt:
        new warning
      sql/share/french/errmsg.txt:
        new warning
      sql/share/german/errmsg.txt:
        new warning
      sql/share/greek/errmsg.txt:
        new warning
      sql/share/hungarian/errmsg.txt:
        new warning
      sql/share/italian/errmsg.txt:
        new warning
      sql/share/japanese/errmsg.txt:
        new warning
      sql/share/korean/errmsg.txt:
        new warning
      sql/share/norwegian-ny/errmsg.txt:
        new warning
      sql/share/norwegian/errmsg.txt:
        new warning
      sql/share/polish/errmsg.txt:
        new warning
      sql/share/portuguese/errmsg.txt:
        new warning
      sql/share/romanian/errmsg.txt:
        new warning
      sql/share/russian/errmsg.txt:
        new warning
      sql/share/serbian/errmsg.txt:
        new warning
      sql/share/slovak/errmsg.txt:
        new warning
      sql/share/spanish/errmsg.txt:
        new warning
      sql/share/swedish/errmsg.txt:
        new warning
      sql/share/ukrainian/errmsg.txt:
        new warning
      sql/sql_base.cc:
        fixed case on no name field in UNION subselect
      sql/sql_lex.cc:
        mechanisp of removing single subselect for optimisation purposes
      sql/sql_lex.h:
        mechanisp of removing single subselect for optimisation purposes
      sql/sql_parse.cc:
        error handling
      sql/sql_union.cc:
        fixed unions in subselect
      sql/sql_yacc.yy:
        fixed Lex->describe flag appearence
      6f80b711
  2. 27 Nov, 2002 1 commit
    • unknown's avatar
      after review changes in IN/ALL/ANY/SOME (SCRUM) · 94352255
      unknown authored
      sql/item.cc:
        after review changes
      sql/item.h:
        after review changes
      sql/item_subselect.cc:
        after review changes
      sql/mysql_priv.h:
        after review changes
      sql/sql_base.cc:
        after review changes
      94352255
  3. 24 Nov, 2002 3 commits
    • unknown's avatar
      supported possiblity of item substitute (fixed bug) in setup_fields · b5b19a78
      unknown authored
      more efficient reference creation
      fixed table_name of Field in temporary table
      
      
      mysql-test/r/subselect.result:
        test of 2 references bugs
      mysql-test/t/subselect.test:
        test of 2 references bugs
      sql/field.h:
        fixed layout
        fixed table name of fields of temporary table (derived table)
      sql/item.cc:
        more efficient reference creation
      sql/sql_base.cc:
        fixed layout
        supported possiblity of item substitute (fixed bug)
      b5b19a78
    • unknown's avatar
      Reference to field in outer subelect fixed · 06e64747
      unknown authored
      Fixed context in error mesages
      
      
      mysql-test/r/subselect.result:
        tests of references and error message
      mysql-test/t/subselect.test:
        tests of references and error message
      sql/item.cc:
        Fixed layout
        Resolving field names of outer select
      sql/item_subselect.cc:
        saving/restoring context for error messages
      sql/mysql_priv.h:
        changed function interface to allow resolving field names inside Item_ref::fix_fields
      sql/sql_base.cc:
        changed function interface to allow resolving field names inside Item_ref::fix_fields
      sql/sql_lex.h:
        allow access to thd field
      06e64747
    • unknown's avatar
      fixed removed by previos patch thd->allow_sum_func "side effect" of setup_conds · 83e25bbc
      unknown authored
      renamed tables to prevent droping real tables
      
      
      mysql-test/r/group_by.result:
        test of error message
      mysql-test/r/subselect.result:
        renamed tables to prevent droping real tables
      mysql-test/t/group_by.test:
        test of error message
      mysql-test/t/subselect.test:
        renamed tables to prevent droping real tables
      sql/sql_base.cc:
        moved thd->allow_sum_func assignment to upper level
      sql/sql_select.cc:
        fixed removed by previos patch thd->allow_sum_func "side effect" of setup_conds
      83e25bbc
  4. 23 Nov, 2002 2 commits
  5. 18 Nov, 2002 2 commits
  6. 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
  7. 15 Nov, 2002 1 commit
    • unknown's avatar
      basic row Items (SCRUM) · 3f742831
      unknown authored
      include/mysql_com.h:
        basic row Items
      include/mysqld_error.h:
        more wide error mening
      libmysqld/Makefile.am:
        basic row Items
      mysql-test/r/subselect.result:
        more wide error mening
      sql/Makefile.am:
        basic row Items
      sql/filesort.cc:
        basic row Items
      sql/item.cc:
        basic row Items
      sql/item.h:
        basic row Items
      sql/item_cmpfunc.cc:
        basic row Items
      sql/item_cmpfunc.h:
        basic row Items
      sql/item_func.cc:
        basic row Items
      sql/item_func.h:
        basic row Items
      sql/item_strfunc.cc:
        basic row Items
      sql/item_strfunc.h:
        basic row Items
      sql/item_subselect.cc:
        basic row Items
      sql/item_sum.cc:
        basic row Items
      sql/share/czech/errmsg.txt:
        more wide error mening
      sql/share/danish/errmsg.txt:
        more wide error mening
      sql/share/dutch/errmsg.txt:
        more wide error mening
      sql/share/english/errmsg.txt:
        more wide error mening
      sql/share/estonian/errmsg.txt:
        more wide error mening
      sql/share/french/errmsg.txt:
        more wide error mening
      sql/share/german/errmsg.txt:
        more wide error mening
      sql/share/greek/errmsg.txt:
        more wide error mening
      sql/share/hungarian/errmsg.txt:
        more wide error mening
      sql/share/italian/errmsg.txt:
        more wide error mening
      sql/share/japanese/errmsg.txt:
        more wide error mening
      sql/share/korean/errmsg.txt:
        more wide error mening
      sql/share/norwegian-ny/errmsg.txt:
        more wide error mening
      sql/share/norwegian/errmsg.txt:
        more wide error mening
      sql/share/polish/errmsg.txt:
        more wide error mening
      sql/share/portuguese/errmsg.txt:
        more wide error mening
      sql/share/romanian/errmsg.txt:
        more wide error mening
      sql/share/russian/errmsg.txt:
        more wide error mening
      sql/share/serbian/errmsg.txt:
        more wide error mening
      sql/share/slovak/errmsg.txt:
        more wide error mening
      sql/share/spanish/errmsg.txt:
        more wide error mening
      sql/share/swedish/errmsg.txt:
        more wide error mening
      sql/share/ukrainian/errmsg.txt:
        more wide error mening
      sql/sql_base.cc:
        fix_fields error handling
      sql/sql_lex.cc:
        basic row Items
      sql/sql_select.cc:
        basic row Items
      sql/sql_yacc.yy:
        basic row Items
      3f742831
  8. 13 Nov, 2002 1 commit
  9. 12 Nov, 2002 2 commits
    • unknown's avatar
      IGNORE_INDEX fix for 4.0 · e2d1ab84
      unknown authored
      e2d1ab84
    • unknown's avatar
      Extended WEEK() to be able to handle ISO weeks. · e1c1abd0
      unknown authored
      unlink socket file if mysqld dies on startup
      Some optimization of AND expressions
      
      
      mysql-test/r/func_time.result:
        Update for new week() handling
      mysql-test/t/func_time.test:
        Update for new week() handling
      sql/item_cmpfunc.cc:
        Optimization of IF( and-expression,,)
      sql/item_cmpfunc.h:
        Optimization of AND expressions
      sql/item_timefunc.cc:
        Extended WEEK() to be able to handle ISO weeks.
      sql/mysqld.cc:
        unlink socket file if mysqld dies on startup
      sql/sql_base.cc:
        Fixed problem with SIGHUP and INSERT DELAYED
      tests/Makefile.am:
        Added missing myisam-big-rows.tst file to source distribution
      e1c1abd0
  10. 11 Nov, 2002 2 commits
    • unknown's avatar
      some bug fixes related to derived tables · 736e3c3c
      unknown authored
      736e3c3c
    • 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
  11. 09 Nov, 2002 1 commit
  12. 07 Nov, 2002 3 commits
    • unknown's avatar
      Portability fix extern "C" static -> extern "C" · 8fc4319a
      unknown authored
      client/mysqlbinlog.cc:
        Portability fix
      sql/gen_lex_hash.cc:
        Portability fix
      sql/repl_failsafe.cc:
        Portability fix
      sql/sql_class.cc:
        Portability fix
      sql/sql_udf.cc:
        Portability fix
      sql/mysqld.cc:
        Portability fix
      sql/sql_base.cc:
        Portability fix
      sql/sql_insert.cc:
        Portability fix
      sql/sql_parse.cc:
        Portability fix
      sql/sql_delete.cc:
        Portability fix
      8fc4319a
    • unknown's avatar
      Put temporary files in binlog cache when using BEGIN/COMMIT · 72413e7f
      unknown authored
      Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      New variables @@rand_seed1 and @@rand_seed2 (used by replication)
      DROP TEMPORARY TABLE
      
      
      mysql-test/r/rpl_log.result:
        Update of results after last replication change
      mysql-test/r/variables.result:
        Test of new variables @@rand_seed1 and @@rand_seed2
      mysql-test/t/variables.test:
        Test of new variables @@rand_seed1 and @@rand_seed2
      sql/field.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/field.h:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/item_func.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/log.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
        More debug information
      sql/log_event.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/log_event.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/set_var.cc:
        Add system variables @@rand_seed1 and @@rand_seed2
      sql/set_var.h:
        Add system variables @@rand_seed1 and @@rand_seed2
      sql/slave.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_acl.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_base.cc:
        Store DROP of temporary tables in binlog cache
      sql/sql_class.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_db.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_delete.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_insert.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_lex.h:
        DROP TEMPORARY TABLE
      sql/sql_load.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_parse.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_rename.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_repl.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_repl.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_table.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_update.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_yacc.yy:
        DROP TEMPORARY
      sql/table.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/unireg.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      72413e7f
    • 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
      Removed wrong patch to fix DATE BETWEEN TIMESTAMP1 AND TIMESTAMP2 · 841fa6f6
      unknown authored
      Some simple optimizations
      
      
      Docs/manual.texi:
        Updted how binary log works
      mysql-test/mysql-test-run.sh:
        Added usage of --port to mysqltest
      mysql-test/r/func_test.result:
        Moved test of datetime comparison to func_time
      mysql-test/r/func_time.result:
        New test
      mysql-test/t/func_test.test:
        Moved test of datetime comparison to func_time
      mysql-test/t/func_time.test:
        Test of DATE BETWEEN TIMESTAMPS
      sql/field.h:
        Removed wrong patch
      sql/item_cmpfunc.cc:
        Removed wrong patch
        (Need to be fixed by taking into account all arguments to between)
      sql/lock.cc:
        Removed call to current_thd
      sql/set_var.cc:
        Don't show 'socket' variable if sockets are not used
      sql/sql_base.cc:
        Simple optimisation
      841fa6f6
  14. 03 Nov, 2002 1 commit
  15. 30 Oct, 2002 1 commit
    • unknown's avatar
      removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion (SCRUM) · 0bb1e716
      unknown authored
      fixed some possible bugs
      
      
      sql/item.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/item_subselect.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/item_sum.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/mysql_priv.h:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_base.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_cache.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_delete.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_lex.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_lex.h:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
        fixed some possible bugs
      sql/sql_parse.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_prepare.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_repl.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_select.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_union.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_update.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_yacc.yy:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      0bb1e716
  16. 29 Oct, 2002 1 commit
    • unknown's avatar
      Added back old LARGEFILE handling · ea3ffb9b
      unknown authored
      Fixed reference to freed memory in acl_init()/grant_init()
      Fixed possible memory leak. (Could only happen in very strange circumstances)
      Fixed bug in ALTER TABLE with BDB tables
      Updated mysql-test for valgrind
      
      
      Docs/manual.texi:
        ChangeLog
      acinclude.m4:
        Added back old LARGEFILE handling.
        (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
      configure.in:
        Added back old LARGEFILE handling.
        (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
      libmysqld/lib_sql.cc:
        Fixed reference to freed memory
      mysql-test/mysql-test-run.sh:
        Added option --valgrind
      mysys/Makefile.am:
        Removed warning when doing make
      sql/mysqld.cc:
        Free regexp memory on shutdown.
        read 'des' key files from data directory
        Fixed reference to freed memory in grant_init()
      sql/slave.cc:
        Fixed wrong printf() argument
      sql/sql_acl.cc:
        Fixed reference to freed memory
      sql/sql_acl.h:
        Fixed reference to freed memory
      sql/sql_base.cc:
        Fixed possible memory leak. (Could only happen in very strange circumstances)
      sql/sql_parse.cc:
        Updated arguments to grant_reload()
      sql/sql_table.cc:
        Fixed bug in ALTER TABLE with BDB tables
      sql/sql_yacc.yy:
        memset -> bzero
      ea3ffb9b
  17. 25 Oct, 2002 1 commit
  18. 24 Oct, 2002 1 commit
    • unknown's avatar
      fixed update with subselect (FOR REVIEW) · c8130069
      unknown authored
      mysql-test/r/subselect.result:
        update with subselect test
      mysql-test/t/subselect.test:
        update with subselect test
      sql/mysql_priv.h:
        fixed update with subselect
      sql/sql_base.cc:
        fixed update with subselect
      sql/sql_lex.cc:
        fixed update with subselect
      sql/sql_select.cc:
        fixed update with subselect
      sql/sql_update.cc:
        fixed update with subselect
      sql/sql_yacc.yy:
        fixed update with subselect
      c8130069
  19. 23 Oct, 2002 1 commit
  20. 08 Oct, 2002 2 commits
    • unknown's avatar
      support for --tmpdir=dir1:dir2:... · 81a82f0d
      unknown authored
      81a82f0d
    • unknown's avatar
      fixed couple of bugs in field/reference name resolution · e8e3f772
      unknown authored
      fixed error handling in subselect fix_field
      
      
      mysql-test/r/subselect.result:
        test of name resolution
      mysql-test/t/subselect.test:
        test of name resolution
      sql/item.cc:
        fixed couple of bugs in field/reference name resolution.
      sql/item_subselect.cc:
        fixed error handling
      sql/mysql_priv.h:
        fixed couple of bugs in field/reference name resolution.
      sql/sql_base.cc:
        fixed couple of bugs in field/reference name resolution.
      sql/sql_select.cc:
        new find_item_in_list interface
      e8e3f772
  21. 03 Oct, 2002 1 commit
  22. 02 Oct, 2002 1 commit
    • unknown's avatar
      Fixes and code cleanups after merge with 4.0.3 · 5a28c2ca
      unknown authored
      Warning handling and initial prepared statement handling (last not complete yet)
      Changed a lot of functions that returned 0/1 to my_bool type.
      GRANT handling now uses read/write locks instead of mutex
      Change basic net functions to use THD instead of NET
      (needed for 4.1 protocol)
      Use my_sprintf instead of sprintf() + strlen()
      Added alloc_query() to be able to chare query initialization code with
      prepared statements.
      Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      
      Note that the following test fails (will be fixed ASAP):
      sub_select, union, rpl_rotate_logs and rpl_mystery22
      
      
      BitKeeper/deleted/.del-README~3449730baf983117:
        Delete: mysql-test/t/README
      BitKeeper/deleted/.del-sql_error.cc~2f1caca8d2485dbe:
        Delete: libmysqld/sql_error.cc
      BitKeeper/deleted/.del-sql_prepare.cc~f703729793935ed6:
        Delete: libmysqld/sql_prepare.cc
      Docs/manual.texi:
        Updated variable list
      client/mysql.cc:
        Show warning count to user.
      client/mysqltest.c:
        Add warnings to test results
      configure.in:
        New shared library version number
      include/errmsg.h:
        Indentation cleanup
      include/mysql.h:
        Removed MYSQL_ERROR
        Indentaion cleanups
      include/mysql_com.h:
        Changed functions to returns true/false to my_bool.
      include/mysqld_error.h:
        New error messages
      isam/pack_isam.c:
        Indentation change
      libmysql/Makefile.am:
        Fix of wrong merge
      libmysql/Makefile.shared:
        Indentation cleanup
      libmysql/errmsg.c:
        Removed not used errors
      libmysql/libmysql.c:
        Change functions to return 1 on error (not -1)
        Change type of functions that returns 0/1 to my_bool
        Lot of code optimizations.
        Lot of changes for prepared statements. This now handles sending of binary data to server.
        Receving of binary data is not yet done (will have to wait until server code for this is ready)
        mysql_warning_count and mysql_warnings() implemented.
      libmysql/libmysql.def:
        Added mysql_warnings and mysql_warning_count
      libmysql/manager.c:
        Fixed wrong testing of result from my_connect()
      libmysqld/lib_sql.cc:
        Removed global variable THR_NET
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      libmysqld/libmysqld.c:
        Changed functions to be my_bool
      myisam/ft_boolean_search.c:
        Trivial code cleanup
      myisam/ft_stopwords.c:
        Trivial code cleanup
      myisam/mi_check.c:
        Update to 4.1 structures
      myisam/myisampack.c:
        Trivial code cleanup
      myisam/rt_key.c:
        Code cleanup
      myisam/rt_test.c:
        Code cleanup
        Removed compiler warnings
      myisam/sp_key.c:
        Indentation changes
      myisam/sp_test.c:
        Removed compiler warnings
      mysql-test/README:
        Updated to reflect the new --external flag.
      mysql-test/mysql-test-run.sh:
        --local (start new server) is now default.
        Use --external to test against external server.
      mysql-test/r/rollback.result:
        Updated for 4.1 warnings
      mysql-test/r/rpl_log.result:
        Update for 4.1
      mysql-test/t/rollback.test:
        Updated for 4.1 warnings
      mysql-test/t/rpl_log_pos.test:
        Portability fix
      mysys/hash.c:
        Indentation change
      mysys/my_error.c:
        Indentation change
      mysys/tree.c:
        Updated file description
      sql/field.cc:
        Fixed bugs introduced by merge
        Use my_sprintf instead of sprintf() + strlen()
      sql/field.h:
        Add CHARSET_INFO to field structure
      sql/gstream.h:
        Indentation changes.
        Added GPL copyright header
      sql/ha_innodb.cc:
        Updated parameters for net functions.
      sql/item.cc:
        Updates of Item_param
        Indentation changes
      sql/item.h:
        Removed size_of() function from item.
      sql/item_func.cc:
        Update function usage for 4.1
        Added get_system_var()
      sql/item_func.h:
        Indentation change
      sql/item_strfunc.cc:
        Removed not needed inclusion of gstream.h
        Update to use system variables (from 4.0)
      sql/item_sum.h:
        Removed size_of() functions from item.
      sql/item_timefunc.cc:
        Change sprintf() + strlen() -> my_sprintf()
        Added length parameter to ->append()
      sql/item_timefunc.h:
        Removed size_of() functions from item.
      sql/item_uniq.h:
        Removed size_of() functions from item.
      sql/lex.h:
        Removed SQL_ERROR_COUNT variable
      sql/log.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/log_event.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/mini_client.cc:
        Added check that one always specifies a length to mc_mysql_query()
      sql/mysql_priv.h:
        New prototypes
        Change of NET -> THD parameter for net functions.
      sql/mysqld.cc:
        New startup options:  'max_prepared_statements', 'max_error_count'
        Updated usage of net functions.
      sql/net_pkg.cc:
        Change basic net functions to use THD instead of NET
        (needed to be able to handle 4.0 and 4.1 protocols)
        Lots of function comments
      sql/net_serv.cc:
        Change int return values -> my_bool
        Updated net_write_command() to take an extra header block to be added to the packet.
        (This made the prepared statement code much nicer and more efficient)
      sql/repl_failsafe.cc:
        Update net functions to use THD instead of NET
      sql/set_var.cc:
        Added @@error_count and @@warning_count variables.
        Updated to 4.1 function usage
      sql/set_var.h:
        Added @@error_count and @@warning_count variables.
      sql/share/czech/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/english/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/greek/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/hungarian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/japanese/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/korean/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian-ny/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/polish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/romanian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/slovak/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/swedish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/slave.cc:
        Change basic net functions to use THD instead of NET
        skip_load_data_file recoded to fit new client/server protocol
      sql/spatial.h:
        Added copyright header
        Indentation cleanups
      sql/sql_acl.cc:
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      sql/sql_analyse.cc:
        Change basic net functions to use THD instead of NET
        sprintf() + strlen() -> my_sprintf()
      sql/sql_base.cc:
        More DBUG statements
      sql/sql_class.cc:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_class.h:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_db.cc:
        Code cleanup & optimization.
      sql/sql_delete.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_derived.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_do.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_error.cc:
        Big rewrite of error handling.
      sql/sql_handler.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_insert.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.h:
        Added param_count to st_select_lex_node
      sql/sql_list.h:
        Removed not needed error list.
      sql/sql_load.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_parse.cc:
        Change basic net functions to use THD instead of NET
        Added alloc_query() to be able to chare query initialization code with
        prepared statements.
        Update of warning handling.
        Added create_select_for_variable() (for SHOW COUNT(*) WARNINGS)
      sql/sql_prepare.cc:
        Initial prepared statement handling
      sql/sql_rename.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_repl.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_select.cc:
        Small code cleanups
        Added missing initialization of error that caused some queries that returned an empty result set to fail
      sql/sql_select.h:
        Ensure that JOIN.error is properly initialized
      sql/sql_show.cc:
        Change basic net functions to use THD instead of NET
        A lot of optimization
      sql/sql_table.cc:
        Change basic net functions to use THD instead of NET
        Indentaion cleanup
      sql/sql_udf.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_union.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_update.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_yacc.yy:
        Change basic net functions to use THD instead of NET
        Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      sql/structs.h:
        Moved structures to files where they was used
      sql/table.cc:
        Don't accept empty database names
      sql/uniques.cc:
        Indentation cleanup
      sql/unireg.cc:
        Change basic net functions to use THD instead of NET
      sql/unireg.h:
        Added defaults for warnings and prepared statements
      strings/ctype-simple.c:
        optimization
      tests/client_test.c:
        Fixed wrong paramaters to printf()
      5a28c2ca
  23. 21 Sep, 2002 1 commit
    • unknown's avatar
      Change name -> alias in TABLE_LIST. · b804e278
      unknown authored
      Added missing mutex-lock around critical section in GRANT handling.
      
      
      Docs/manual.texi:
        ChangeLog
      sql/lock.cc:
        Change name -> alias in TABLE_LIST.
      sql/slave.cc:
        Change name -> alias in TABLE_LIST.
      sql/sql_acl.cc:
        Added missing mutex-lock around critical section in GRANT handling.
        Changed name -> alias
      sql/sql_base.cc:
        Change name -> alias in TABLE_LIST.
      sql/sql_insert.cc:
        Change name -> alias in TABLE_LIST.
      sql/sql_parse.cc:
        Change name -> alias in TABLE_LIST.
      sql/sql_show.cc:
        Change name -> alias in TABLE_LIST.
      sql/sql_table.cc:
        Change name -> alias in TABLE_LIST.
      sql/sql_udf.cc:
        Change name -> alias in TABLE_LIST.
      sql/table.h:
        Change name -> alias in TABLE_LIST.
      tests/grant.pl:
        Fixed grant test
      b804e278
  24. 20 Sep, 2002 1 commit
    • unknown's avatar
      Changed table_list->name -> table_list->alias to find places where we where... · f631f93e
      unknown authored
      Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      This should fix some issues where --lower-case-table-names doesn't work properly under windows.
      
      
      client/mysql.cc:
        Added missing sslopt-case.h
      sql/lock.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/log_event.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/mysqld.cc:
        Fixed that --ssl and --skip-ssl works
      sql/slave.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_acl.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_base.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_cache.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_handler.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_insert.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_parse.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_show.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_table.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_udf.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_union.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_yacc.yy:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/table.h:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      f631f93e
  25. 05 Sep, 2002 1 commit
    • unknown's avatar
      Fixed searching after ssl directories. · 8f2482d2
      unknown authored
      Fixed that GRANT ... REQUIRE options are not forgot when doing new GRANT
      Changed fn_ext to point at first '.' after directory.
      FLUSH LOGS removed numerical extension for all future update logs.
      Fixed the mysqld --help reports right values for --datadir and --bind-address
      --log-binary=a.b.c now properly strips of .b.c
      Fix that one can DROP UDF functions that was not loaded at startup
      Made AND optional in REQUIRE
      Added REQUIRE NONE
      
      
      BitKeeper/deleted/.del-CodingStyle~1ba7ff62d4cd0ea:
        Delete: vio/docs/CodingStyle
      BitKeeper/deleted/.del-COPYING.dbug~ca0c017a4d7e8609:
        Delete: vio/docs/COPYING.dbug
      BitKeeper/deleted/.del-COPYING.mysql~471498c82977cd3a:
        Delete: vio/docs/COPYING.mysql
      BitKeeper/deleted/.del-README~947354991dc882f8:
        Delete: vio/docs/README
      Docs/manual.texi:
        Changelog
      acinclude.m4:
        Fixed searching after ssl directories.
      client/Makefile.am:
        Moved openssl include to avoid problem with installed readline
      include/Makefile.am:
        Install my_global.h
      include/violite.h:
        Fixed that GRANT ... REQUIRE options are not forgot when doing new grant
      libmysqld/examples/Makefile.am:
        Moved openssl include to avoid problem with installed readline
      mysql-test/mysql-test-run.sh:
        Improved 'which' handling to give error if command is not found
      mysys/mf_fn_ext.c:
        Changed fn_ext to point at first '.' after directory.
      sql/Makefile.am:
        More comments
      sql/lex.h:
        Added NONE as keyword
      sql/log.cc:
        FLUSH LOGS removed numerical extension for all future update logs.
        Simple code cleanup
      sql/mysqld.cc:
        Fixed the --help reports right values for --datadir and --bind-address
        --log-binary=a.b.c now properly strips of .b.c
        Removed option --skip-external-locking (not needed as this is automatic)
      sql/repl_failsafe.cc:
        Moved some common THD initalization to store_globals()
      sql/slave.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_acl.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_acl.h:
        Updated function prototypes
      sql/sql_base.cc:
        Added comment
      sql/sql_class.cc:
        Moved openssl include to avoid problem with installed readline.
        Changed THD::thd to make things work for main thread.
      sql/sql_class.h:
        Fixed wrongly removed line (fixes compiler problem on MacOSX)
      sql/sql_insert.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_lex.cc:
        Moved save_to_cache_query=0 to udf detection function to make sql_yacc.yy simpler
      sql/sql_lex.h:
        Indentation cleanup
      sql/sql_parse.cc:
        Moved openssl include to avoid problem with installed readline.
        Added THD argument to acl_reload()
      sql/sql_repl.h:
        Made opt_bin_logname static
      sql/sql_udf.cc:
        Fix that one can DROP UDF functions that was not loaded at startup
      sql/sql_yacc.yy:
        made AND optional in REQUIRE
        Added REQUIRE NONE
        Fixed that old SSL options are not forgotten when doing new GRANT.
      sql/udf_example.cc:
        Improved comments
      8f2482d2
  26. 03 Sep, 2002 4 commits
    • unknown's avatar
      a fix for a bug with all_fields.elements not being changed by · bdf91563
      unknown authored
      expansion of the wildcards
      
      
      bdf91563
    • unknown's avatar
      Fixed bug introduces by last changeset · 3307f955
      unknown authored
      (Fixing of problem with ALTER TABLE on BDB tables)
      
      
      mysql-test/r/distinct.result:
        Fixed results after bug fix
      sql/mysql_priv.h:
        Split close_thread_tables() into two functions.
        (Needed for bug fix from 4.0)
      sql/sql_base.cc:
        Split close_thread_tables() into two functions.
        (Needed for bug fix from 4.0)
      3307f955
    • unknown's avatar
      Some trivial optimzations · 0f2ab68c
      unknown authored
      Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL
      Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables.
      Better fix for ALTER TABLE on BDB tables.
      
      
      Docs/manual.texi:
        Changelog
      client/mysql.cc:
        Simple optimization
      libmysql/libmysql.c:
        Removed initialization of varibles that are already set to zero
      myisam/myisamchk.c:
        Fixed comment for extend-check
      mysql-test/r/bdb-alter-table-1.result:
        Updated results
      mysql-test/r/bdb-alter-table-2.result:
        Updated results
      mysql-test/r/distinct.result:
        Updated results after bug fix
      mysql-test/r/handler.result:
        Updated results
      mysql-test/r/innodb_handler.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/varbinary.result:
        Updated results
      mysql-test/t/bdb-alter-table-1.test:
        Added comments
      mysql-test/t/bdb-alter-table-2.test:
        Added comments
      mysql-test/t/select.test:
        Remove OPTION in SET OPTION
        Added tests for ORDER BY key LIMIT
      sql/item_cmpfunc.cc:
        Check if AND/OR expression can be NULL
      sql/mysqld.cc:
        mysqld --help now shows value of datadir
      sql/share/english/errmsg.txt:
        Better error message for syntax error
      sql/sql_base.cc:
        Bug fix for SHOW OPEN TABLES
      sql/sql_class.cc:
        Moved virtual function to .cc file to avoid that we have to include assert.h everywhere.
      sql/sql_class.h:
        Moved virtual function to .cc file to avoid that we have to include assert.h everywhere.
      sql/sql_parse.cc:
        Removed old dead code from 3.23
      sql/sql_select.cc:
        Improved optimization of ORDER BY key LIMIT
      sql/sql_table.cc:
        More comments,
        Better fix for ALTER TABLE on BDB tables.
      0f2ab68c
    • unknown's avatar
      subselect with union · 3fbcafea
      unknown authored
      new error handling
      Item_ref bug fixed
      
      
      include/mysql_com.h:
        new error handling
        query cache pointer description
      mysql-test/r/distinct.result:
        new result's after Monty's bug fixing
      mysql-test/r/subselect.result:
        subselect with union test
      mysql-test/t/subselect.test:
        subselect with union test
      sql/item.cc:
        subselect with union
        Item_ref bug fixed
      sql/item_cmpfunc.cc:
        Monty's bug fixing
      sql/item_subselect.cc:
        TODO changing
        subselect with union
      sql/item_subselect.h:
        subselect with union
      sql/mysql_priv.h:
        Item_ref bug fixed
      sql/mysqld.cc:
        new error handling
      sql/net_pkg.cc:
        new error handling
      sql/net_serv.cc:
        new error handling
      sql/sql_base.cc:
        Item_ref bug fixed
      sql/sql_class.cc:
        new error handling
      sql/sql_class.h:
        new error handling
      sql/sql_derived.cc:
        subselect with union
      sql/sql_insert.cc:
        new error handling (only with mysql_select now)
      sql/sql_lex.cc:
        subselect with union
      sql/sql_lex.h:
        subselect with union
      sql/sql_parse.cc:
        new error handling
      sql/sql_select.cc:
        new error handling
        subselect with union
        removed thd->where=0 hack
      sql/sql_select.h:
        subselect with union
      sql/sql_union.cc:
        subselect with union
      sql/sql_update.cc:
        new error handling (only with mysql_select now)
      sql/sql_yacc.yy:
        subselect with union
      3fbcafea
  27. 28 Aug, 2002 1 commit
  28. 24 Aug, 2002 1 commit