1. 21 Oct, 2003 1 commit
    • unknown's avatar
      Fix for Windows bug reported throuhg Miguel · c42abd80
      unknown authored
      libmysqld/lib_sql.cc:
        This code seems to be superfluous
      sql/derror.cc:
        in embedded server these functions should return the sign of the error
        instead of halting the program
      sql/init.cc:
        my_abort_hook left unchanged
      sql/mysql_priv.h:
        declaration of init_errmessage changed
        unireg_abort was replaced with DBUG_RETURN for embedded server
      sql/mysqld.cc:
        these functions don't work in embedded server thus #ifdef-ed
      c42abd80
  2. 20 Oct, 2003 1 commit
  3. 16 Oct, 2003 1 commit
  4. 15 Oct, 2003 2 commits
    • unknown's avatar
      Portability fixes for windows · bfc24eaf
      unknown authored
      After merge fixes
      
      
      include/my_base.h:
        Fix comment syntax
      libmysql/client_settings.h:
        Portability fixes for windows
      libmysql/libmysql.c:
        Portability fixes for windows
      libmysql/libmysql.def:
        Portability fixes for windows
      mysql-test/r/variables.result:
        Fix result after merge
      sql-common/client.c:
        Portability fixes for windows
      sql/ha_berkeley.cc:
        Use defines instead of constants
      sql/item_strfunc.cc:
        Portability fixes for windows
      sql/mysql_priv.h:
        Use defines instead of defines
      sql/mysqld.cc:
        After merge fix
      sql/opt_range.h:
        After merge fix
      sql/set_var.h:
        Portability fixes for windows
      sql/sql_class.cc:
        Defines instead of constants
      sql/sql_help.cc:
        after merge fixes
        More OOM error checking
      sql/sql_prepare.cc:
        After merge fixes
      sql/sql_table.cc:
        Portability fixes for windows
      bfc24eaf
    • unknown's avatar
      WL#1106: Switch = --maxdb rather than --sapdb · 597bf238
      unknown authored
      597bf238
  5. 13 Oct, 2003 1 commit
    • unknown's avatar
      Many files: · 423747b5
      unknown authored
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
        Track crash in buf_LRU_block_remove_hashed_page + 1807 reported in MySQL-3.23.5x
      
      
      sql/ha_innodb.cc:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      sql/sql_class.cc:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      sql/sql_parse.cc:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      sql/sql_table.cc:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      sql/ha_innodb.h:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      sql/handler.h:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      sql/lex.h:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      sql/mysql_priv.h:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      sql/sql_class.h:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      sql/sql_lex.h:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      sql/sql_yacc.yy:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/ha/ha0ha.c:
        Track crash in buf_LRU_block_remove_hashed_page + 1807 reported in MySQL-3.23.5x
      innobase/ha/hash0hash.c:
        Track crash in buf_LRU_block_remove_hashed_page + 1807 reported in MySQL-3.23.5x
      innobase/buf/buf0buf.c:
        Track crash in buf_LRU_block_remove_hashed_page + 1807 reported in MySQL-3.23.5x
      innobase/buf/buf0flu.c:
        Track crash in buf_LRU_block_remove_hashed_page + 1807 reported in MySQL-3.23.5x
      innobase/buf/buf0lru.c:
        Track crash in buf_LRU_block_remove_hashed_page + 1807 reported in MySQL-3.23.5x
      innobase/buf/buf0rea.c:
        Track crash in buf_LRU_block_remove_hashed_page + 1807 reported in MySQL-3.23.5x
      innobase/btr/btr0btr.c:
        Track crash in buf_LRU_block_remove_hashed_page + 1807 reported in MySQL-3.23.5x
      innobase/btr/btr0sea.c:
        Track crash in buf_LRU_block_remove_hashed_page + 1807 reported in MySQL-3.23.5x
      innobase/fil/fil0fil.c:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/include/buf0buf.h:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/include/ha0ha.h:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/include/hash0hash.h:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/include/row0mysql.h:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/include/buf0buf.ic:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/include/ha0ha.ic:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/include/ibuf0ibuf.ic:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/page/page0page.c:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/row/row0mysql.c:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/row/row0purge.c:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/row/row0uins.c:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      innobase/row/row0umod.c:
        ALTER TABLE ... DISCARD/IMPORT TABLESPACE
      423747b5
  6. 11 Oct, 2003 2 commits
    • unknown's avatar
      Add new user variables for tuning memory usage: · 3b8f34a5
      unknown authored
      query_alloc_block_size, query_prealloc_size, range_alloc_block_size,transaction_alloc_block_size and transaction_prealloc_size
      Add more checks for "out of memory" detection in range optimization
      
      
      configure.in:
        Added detection of mallinfo
      mysql-test/r/variables.result:
        Test of new variables
      mysql-test/t/variables.test:
        Test of new variables
      sql/ha_berkeley.cc:
        Use init_sql_alloc instead of init_alloc_root for better OOM detection
      sql/log_event.cc:
        Add new user variables for tuning memory usage
      sql/mysql_priv.h:
        Add new user variables for tuning memory usage
      sql/mysqld.cc:
        Add new user variables for tuning memory usage
      sql/opt_ft.cc:
        Add new user variables for tuning memory usage
      sql/opt_ft.h:
        Add new user variables for tuning memory usage
      sql/opt_range.cc:
        Add new user variables for tuning memory usage
        Add more checks for out of memory conditions
      sql/opt_range.h:
        Add new user variables for tuning memory usage
      sql/set_var.cc:
        Add new user variables for tuning memory usage
      sql/sql_acl.cc:
        Add new user variables for tuning memory usage
      sql/sql_class.h:
        Add new user variables for tuning memory usage
      sql/sql_delete.cc:
        Add new user variables for tuning memory usage
      sql/sql_parse.cc:
        Add new user variables for tuning memory usage
      sql/sql_select.cc:
        Add new user variables for tuning memory usage
      sql/sql_test.cc:
        Add information about memory useage if system supports mallinfo()
      sql/sql_udf.cc:
        Add new user variables for tuning memory usage
      sql/sql_update.cc:
        Add new user variables for tuning memory usage
      sql/table.cc:
        Add new user variables for tuning memory usage
      3b8f34a5
    • unknown's avatar
      key_map with more that 64 bits width · 373f3516
      unknown authored
      sql/field.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/ha_berkeley.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/ha_berkeley.h:
        typedef Bitmap<64> key_map
        all tests pass
      sql/item.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/item_func.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/opt_sum.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_delete.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_show.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_test.cc:
        typedef Bitmap<64> key_map
        all tests pass
      sql/sql_update.cc:
        typedef Bitmap<64> key_map
        all tests pass
      include/my_bitmap.h:
        more bitmap methods
      mysys/my_bitmap.c:
        more bitmap methods
      sql/field.h:
        init bitmaps
      sql/ha_innodb.h:
        optimization
      sql/ha_isam.cc:
        optimization
      sql/ha_myisam.cc:
        optimization
      sql/ha_myisammrg.cc:
        optimization
      sql/handler.h:
        optimization
      sql/mysqld.cc:
        bitmap_init() interface changed
      sql/opt_range.cc:
        optimization
      sql/opt_range.h:
        optimization
      sql/slave.cc:
        bitmap_init() interface changed
      sql/sql_base.cc:
        optimization
      sql/sql_select.cc:
        init bitmaps
        using const for bitmaps whenever possible
      sql/sql_select.h:
        cleanup
      sql/table.cc:
        always init bitmaps
      BitKeeper/etc/ignore:
        Added sql/udf_example.so to the ignore list
      sql/mysql_priv.h:
        use Bitmap over ulonglong by default
      373f3516
  7. 08 Oct, 2003 1 commit
    • unknown's avatar
      Fixed bug in error handling of CREATE ... SELECT · 49eb3909
      unknown authored
      More tests cases
      After merge fixes
      
      
      BitKeeper/deleted/.del-ansi-master.opt~4d337eb61642a838:
        Delete: mysql-test/t/ansi-master.opt
      mysql-test/r/ansi.result:
        Cleaned up test to be able to remove ansi-master.opt
      mysql-test/r/create.result:
        Updated results
      mysql-test/r/insert_select.result:
        Updated results
      mysql-test/r/rpl000009.result:
        Updated results
      mysql-test/t/ansi.test:
        Cleaned up test to be able to remove ansi-master.opt
      mysql-test/t/create.test:
        More tests
      mysql-test/t/insert_select.test:
        More tests
      mysql-test/t/mysqlbinlog.test:
        Fixed test after merge
      sql/mysql_priv.h:
        Added character-sets-dir to 'show variables'
      sql/set_var.cc:
        Added character-sets-dir to 'show variables'
      sql/sql_class.cc:
        Fixed that send_error() is called properly when a SELECT fails
      sql/sql_class.h:
        Fixed that send_error() is called properly when a SELECT fails
      sql/sql_insert.cc:
        Fixed bug in error handling of CREATE ... SELECT
      sql/sql_select.cc:
        Fixed bug in error handling of CREATE ... SELECT
      49eb3909
  8. 03 Oct, 2003 1 commit
    • unknown's avatar
      sql_cache.cc, mysql_priv.h: · 42c52649
      unknown authored
        Query cache now takes in account character_set_results and collation_connection
      
      
      sql/mysql_priv.h:
        Query cache now takes in account character_set_results and collation_connection
      sql/sql_cache.cc:
        Query cache now takes in account character_set_results and collation_connection
      42c52649
  9. 02 Oct, 2003 1 commit
  10. 29 Sep, 2003 3 commits
  11. 26 Sep, 2003 1 commit
    • unknown's avatar
      SCRUM: · e206bcf0
      unknown authored
      WL#604 Privileges in embedded library
      code added to check privileges in embedded library
      NO_EMBEDDED_ACCESS_CHECKS macros inserted in code so we can exclude
      access-checking parts. Actually we now can exclude these parts from
      standalone server as well. Do we need it?
      Access checks are disabled in embedded server by default. One should
      edit libmysqld/Makefile manually to get this working.
      We definitely need the separate configure for embedded server
      
      
      include/mysql.h:
        options added so user of embedded library can set the client host
        it will work as if the usual client connects from this host
      libmysqld/Makefile.am:
        Usually one doesn't need access checking in embedded library
        we definitely should separate configure for embedded server
      libmysqld/lib_sql.cc:
        necessary code for getting passwords and access checks added
      libmysqld/libmysqld.c:
        code #ifdef-ed - we use this only when we check permissions
      sql-common/client.c:
        one mysql_close left now
      sql/item_strfunc.cc:
        #ifndef-s added
      sql/log.cc:
        #ifndef-s added
      sql/mysql_priv.h:
        #ifndef-s added
        also i removed default parameters from check_access and check_table_access
        definitions to set definitions working
      sql/mysqld.cc:
        #ifndef-s added
        localhost renamed to my_localhost
      sql/repl_failsafe.cc:
        parameters added
      sql/set_var.cc:
        #ifndef-s added
      sql/sql_acl.cc:
        #ifndef-s added
      sql/sql_acl.h:
        #ifndef-s added
      sql/sql_base.cc:
        #ifndef-s added
      sql/sql_cache.cc:
        #ifndef-s added
      sql/sql_class.cc:
        #ifndef-s added
      sql/sql_db.cc:
        #ifndef-s added
      sql/sql_derived.cc:
        #ifndef-s added
      sql/sql_insert.cc:
        #ifndef-s added
      sql/sql_parse.cc:
        a horde of #ifndef-s added
      sql/sql_prepare.cc:
        #ifndef-s added
      sql/sql_repl.cc:
        parameters added
      sql/sql_show.cc:
        #ifndef-s added
      sql/sql_update.cc:
        #ifndef-s added
      e206bcf0
  12. 25 Sep, 2003 1 commit
    • unknown's avatar
      Bug fixed · 9ed9cfa3
      unknown authored
      null_string wasn't known in libmysqld/lib_sql.cc, that caused compiler's error
      i put the declaration of the null_string in mysql_priv.h and renamed it
      to my_null_string to reduce the probability of name's intersections
      
      
      libmysqld/lib_sql.cc:
        null_string -> my_null_string
      sql/mysql_priv.h:
        my_null_string was made known
      sql/sql_prepare.cc:
        null_string -> my_null_string
      9ed9cfa3
  13. 18 Sep, 2003 1 commit
    • unknown's avatar
      SCRUM · cb253b2a
      unknown authored
      embedded library
      some dirty places cleaned:
      
      uint removed from mysql.h as Miguel suggested
      empty_string renamed as my_empty_string to get rid of name's intersections
      using embedded library
      
      
      include/mysql.h:
        uint -> unsigned int
      include/mysql_com.h:
        this caused warnings when not in expression
      libmysqld/lib_sql.cc:
        uint -> unsigned int
      sql-common/client.c:
        uint -> unsigned int
      sql/item_strfunc.cc:
        empty_string -> my_empty_string
      sql/mysql_priv.h:
        empty_string -> my_empty_string
      sql/set_var.cc:
        empty_string -> my_empty_string
      sql/sql_class.cc:
        empty_string -> my_empty_string
      sql/sql_prepare.cc:
        net_flush ifdef-ed
      cb253b2a
  14. 17 Sep, 2003 1 commit
    • unknown's avatar
      SCRUM: · dc35d021
      unknown authored
      prepared statements in embedded library
      
      
      include/mysql.h:
        Another 'virtual' method
      libmysql/client_settings.h:
        client implementation declared
      libmysql/libmysql.c:
        mysql_execute edited to work with embedded implementation
      libmysqld/lib_sql.cc:
        one error fixed (we do need parameter's buffer in embedded library)
        embedded recordset transfer methods implementations added
      sql-common/client.c:
        method added to the table
      sql/client_settings.h:
        no prepared statements in mimiclient
      sql/mysql_priv.h:
        these functions became global
      sql/protocol.cc:
        the stub added
      sql/protocol.h:
        had to change Protocol's interface for embedded library
      sql/sql_class.h:
        i changed this only for embedded case, but i think it's better to do the
        same for remote server also
      sql/sql_prepare.cc:
        parts of code #ifndef-ed
      dc35d021
  15. 16 Sep, 2003 1 commit
  16. 13 Sep, 2003 1 commit
    • unknown's avatar
      Remove 'extern' references from .cc files · 67b0e3e5
      unknown authored
      mysys/checksum.c:
        Cleanup
      mysys/my_static.h:
        Remove not used include file
      sql/item_strfunc.cc:
        Remove 'extern' references
      sql/lock.cc:
        Remove 'extern' references
      sql/log.cc:
        Remove 'extern' references
      sql/mysql_priv.h:
        Add 'extern' references
      sql/net_serv.cc:
        Added comment
      sql/repl_failsafe.cc:
        Remove 'extern' references
      sql/set_var.cc:
        Remove 'extern' references
      sql/sql_derived.cc:
        Remove 'extern' references
      sql/sql_insert.cc:
        Remove 'extern' references
      sql/sql_parse.cc:
        Remove 'extern' references
      sql/sql_prepare.cc:
        Remove 'extern' references
      sql/sql_repl.cc:
        Remove 'extern' references
      sql/sql_string.cc:
        Added comment
      sql/sql_table.cc:
        Remove 'extern' references
      sql/sql_test.cc:
        Remove 'extern' references
      sql/sql_yacc.yy:
        Remove 'extern' references
      sql/table.cc:
        Remove 'extern' references
      67b0e3e5
  17. 12 Sep, 2003 1 commit
    • unknown's avatar
      Replaced deprecated since OpenSSL 0.9.7 des_ calls and types with · 858eed6f
      unknown authored
      their newer DES_ versions.
      Provided macros for backward compatibility.
      
      
      include/my_global.h:
        Added macros for DES_ OpenSSL functions for compatibility with pre 0.9.7
      sql/des_key_file.cc:
        Replaced deprecated OpenSSL des_ calls and types with newer
      sql/item_strfunc.cc:
        Replaced deprecated OpenSSL des_ calls and types with newer
      sql/mysql_priv.h:
        Replaced deprecated OpenSSL des_ types with newer
      858eed6f
  18. 08 Sep, 2003 1 commit
    • unknown's avatar
      removing additional IN subquery condition · c33c0248
      unknown authored
      fixed IN optimisation bug
      
      
      mysql-test/r/subselect.result:
        test of IN optimisation bug
      mysql-test/t/subselect.test:
        test of IN optimisation bug
      sql/item_subselect.cc:
        fixed IN optimisation bug
      sql/mysql_priv.h:
        constant for additional IN subquery condition detecting
      sql/mysqld.cc:
        constant for additional IN subquery condition detecting
      sql/sql_select.cc:
        removing additional IN subquery condition
      c33c0248
  19. 03 Sep, 2003 1 commit
  20. 28 Aug, 2003 1 commit
    • unknown's avatar
      Portability fixes · 7c701a60
      unknown authored
      client/mysqltest.c:
        Removed not used functions
      myisam/mi_dynrec.c:
        Added assert to avoid compilation errors
      mysql-test/r/isam.result:
        Updated results after merge
      sql/log_event.cc:
        Cleanup
      sql/mysql_priv.h:
        Cleanup
      sql/sql_class.cc:
        Moved Table_ident functions to .cc file to allow them to use table_case_convert()
      sql/sql_class.h:
        Moved Table_ident functions to .cc file to allow them to use table_case_convert()
      7c701a60
  21. 23 Aug, 2003 2 commits
    • unknown's avatar
      fixed bug of lack of fix_fields call (after merge bugfix (SCRUM)) · 07b50407
      unknown authored
      fixed bug in Item_sum
      fixed bug in dependence remover
      after merge fix
      
      
      mysql-test/r/subselect.result:
        after merge fix
      mysql-test/r/union.result:
        new test
      mysql-test/t/subselect.test:
        after merge fix
      mysql-test/t/union.test:
        new test
      sql/item.cc:
        fixed returned value
      sql/item.h:
        fixed flag dropper
        (I was not able to find Item whicj need more to be fix_fielded twice)
      sql/item_subselect.h:
        fixed initialisation
      sql/item_sum.cc:
        fixed absence of walk method of Item_sum
      sql/item_sum.h:
        fixed absence of walk method of Item_sum
      sql/mysql_priv.h:
        setup_fields reverter
      sql/sql_base.cc:
        setup_fields reverter
      sql/sql_derived.cc:
        fixed bug of lack of fix_fields call
      sql/sql_union.cc:
        fixed bug of lack of fix_fields call
      07b50407
    • unknown's avatar
      show symlinked directories in SHOW CREATE TABLE · 37fa48df
      unknown authored
      37fa48df
  22. 21 Aug, 2003 1 commit
    • unknown's avatar
      fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib · aa4baac3
      unknown authored
      moved them all from different places to item_strfunc.{h,cc}
      checksum table command
      Com_xxx status variables updated
      
      
      sql/item_create.cc:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_func.cc:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_func.h:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_geofunc.h:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_strfunc.cc:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_strfunc.h:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/mysql_priv.h:
        checksum table command
      sql/mysqld.cc:
        Com_xxx updated
      sql/sql_lex.h:
        checksum table command
      sql/sql_parse.cc:
        checksum table command
      sql/sql_table.cc:
        checksum table command
      sql/sql_yacc.yy:
        checksum table command
      aa4baac3
  23. 20 Aug, 2003 1 commit
    • unknown's avatar
      after merge changing · fcad7ab8
      unknown authored
      uninitialized value fixed
      
      
      sql/item_cmpfunc.cc:
        fixed uninitialized used_tables_cache
        othyer caches moved on proper place
      sql/item_subselect.cc:
        fixed reported table bit
      sql/mysql_priv.h:
        after merge chenges.
      sql/sql_parse.cc:
        used same new operator for all allocation in subroutine
      sql/sql_union.cc:
        fake st_select_lex should have item list for ref_array allocation
      sql/sql_yacc.yy:
        after merge changing
      fcad7ab8
  24. 17 Aug, 2003 1 commit
    • unknown's avatar
      Fix mutex handling in SHOW_VARIABLES (key_buffer_size was not properly protected) · bebf62e4
      unknown authored
      Changed some non fatal myisamchk error messages to warnings
      
      
      myisam/myisamchk.c:
        Change error -> warning
      sql/handler.cc:
        Add mutex around keybuff_size usage
      sql/mysql_priv.h:
        Indentation update
      sql/set_var.cc:
        Add mutex around longlong variable usage
      sql/sql_parse.cc:
        Fix mutex handling in SHOW_VARIABLES
      sql/sql_show.cc:
        Fix mutex handling in SHOW_VARIABLES
      bebf62e4
  25. 16 Aug, 2003 1 commit
    • unknown's avatar
      Code cleanup · c62cd144
      unknown authored
      sql/item.cc:
        As far as now transformer called after setup_wild() it is impossible to have '*' Item
      sql/item.h:
        As far as now transformer called after setup_wild() it is impossible to have '*' Item
      sql/item_subselect.cc:
        replaced Item_ref_on_list_position (which need erly ref_array initialisation)
      sql/mysql_priv.h:
        setup_ref_array moved to st_select_lex class
      sql/sql_delete.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_derived.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_lex.cc:
        removed double initialisation
        select_n_having_items moved to any query initializations, because it used in setup_ref_array method
        setup_ref_array moved to st_select_lex class
      sql/sql_lex.h:
        setup_ref_array moved to st_select_lex class
      sql/sql_select.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_table.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_union.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_update.cc:
        setup_ref_array moved to st_select_lex class
      c62cd144
  26. 07 Aug, 2003 1 commit
    • unknown's avatar
      fixed bug in used_tables() report of left expression of IN subquery · c777dc6d
      unknown authored
      fixed number of rows of external field reported to optimizer
      added check of choosen key (checked left expression tag)
      (SCRUM fix for simple IN optimisation)
      
      
      mysql-test/r/subselect.result:
        new EXPLAIN results ufter fixing used_tables() of Item_cache
      sql/item_cmpfunc.cc:
        fixed used_tables asignment
      sql/item_subselect.cc:
        added left expression referenca tag
      sql/item_subselect.h:
        fixed layout
      sql/mysql_priv.h:
        left expression reference tag
      sql/mysqld.cc:
        left expression reference tag
      sql/sql_select.cc:
        checked left expression reference tag
        fixed number of rows in outer reference (it should be constant)
      c777dc6d
  27. 23 Jul, 2003 1 commit
  28. 22 Jul, 2003 1 commit
  29. 08 Jul, 2003 2 commits
    • unknown's avatar
      SAPDB date/time finctions · 550bdded
      unknown authored
      mysql-test/r/cast.result:
        Changes for SAPDB date/time finctions
      550bdded
    • unknown's avatar
      implementation of mysql_stmt_reset client end · e6407dfd
      unknown authored
      include/mysql.h:
        add mysql_stmt_reset prototype
      include/mysql_com.h:
        add COM_STMT_RESET
      libmysql/libmysql.def:
        Add mysql_stmt_reset def
      sql/sql_prepare.cc:
        Fix selects hang after windows slowdown issue fix (send_fields)
      sql/sql_parse.cc:
        Add COM_STMT_RESET
      sql/mysql_priv.h:
        add defination of mysql_stmt_reset
      e6407dfd
  30. 07 Jul, 2003 1 commit
    • unknown's avatar
      Preliminary support for options --secure-auth, · c9d13748
      unknown authored
      --old-passwords
      Support for option --old-protocol was removed.
      Some test performed.
      Tests for SSL and replication are pending.
      More strict following to specification for --old-passwords
      is in the TODO.
      
      
      include/mysql_com.h:
        support for 3.20 passwords removed from
        scramble_323
      include/mysqld_error.h:
        added error code for --secure-auth mode
      libmysql/libmysql.c:
        removed support for 3.20 password and protocol
        version 9
      mysql-test/r/connect.result:
        added check for new syntax of 
        set password
      mysql-test/r/func_crypt.result:
        tests for two-argument of password() were removed.
        Instead added tests for cooperation of password() and
        old_passwords session/global variable, passwords() and spaces 
        in argument string
      mysql-test/t/connect.test:
        added check for new syntax of
        set password
      mysql-test/t/func_crypt.test:
        tests for two-argument of password() were removed.
        Instead added tests for cooperation of password() and
        old_passwords session/global variable, passwords() and spaces 
        in argument string
      sql-common/client.c:
        removed support for 3.20 servers and 
        protocol version 9
      sql/item_strfunc.h:
        fixed comment
      sql/mysql_priv.h:
        added declarartion for option opt_secure_auth
      sql/mysqld.cc:
        added option opt_secure_auth
        option old-password placed according to
        sort order
      sql/password.c:
        removed support for 3.20 clients and 
        old scrambles
      sql/set_var.cc:
        added system variable 'secure_auth'
        added system/thread variable 'old_passwords'
      sql/set_var.h:
        sys_old_passwords needs to be exported 
        because sys_old_passwords.after_update is used
        in sql_acl.cc
      sql/sql_acl.cc:
        support for 3.20 passwords removed
        now acl_init honors options works properly with
        options/variables --secure-auth and --old-passwords
      sql/sql_acl.h:
        support for 3.20 clients removed
      sql/sql_class.h:
        added system/thread variable old_passwords
      sql/sql_parse.cc:
        support for 3.20 clients removed
        now check_user takes into account option
        secure_auth
      sql/sql_yacc.yy:
        global variable use_old_passwords 
        replaced with thread-specific variable 
        old_passwords
      sql/share/czech/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/danish/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/dutch/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/english/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/estonian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/french/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/german/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/greek/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/hungarian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/italian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/japanese/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/korean/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/norwegian-ny/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/norwegian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/polish/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/portuguese/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/romanian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/russian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/serbian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/slovak/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/spanish/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/swedish/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/ukrainian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      c9d13748
  31. 06 Jul, 2003 2 commits
    • unknown's avatar
      Support for variables with components · 81cea487
      unknown authored
      Added framework to create/drop and manager buffers for multiple key caches
      
      
      include/my_getopt.h:
        Fixed prototype
      include/my_sys.h:
        Added (temporary) KEY_CACHE type
      include/mysqld_error.h:
        New error messages
      mysql-test/r/select_safe.result:
        Updated test results
      mysql-test/r/variables.result:
        Updated test results
      mysys/my_getopt.c:
        Fixed bugs with GET_ASK_ADDR
      sql/Makefile.am:
        Make sql_yacc.o depend on all header files in sql directory
      sql/item_func.cc:
        Added support for variable components
      sql/mysql_priv.h:
        Added support for variable components
      sql/mysqld.cc:
        Added support for multiple key caches
      sql/set_var.cc:
        Added support for multiple key caches
      sql/set_var.h:
        Added support for multiple key caches
      sql/share/czech/errmsg.txt:
        New error messages
      sql/share/danish/errmsg.txt:
        New error messages
      sql/share/dutch/errmsg.txt:
        New error messages
      sql/share/english/errmsg.txt:
        New error messages
      sql/share/estonian/errmsg.txt:
        New error messag...
      81cea487
    • unknown's avatar
      WL#912 (more user control on relay logs): · c22f493a
      unknown authored
      FLUSH LOGS now rotates relay logs,
      and a new variable max_relay_log_size.
      Plus a very small bit of code cleaning.
      
      
      libmysqld/lib_sql.cc:
        open_log has no default arguments anymore.
      mysql-test/r/rpl_flush_log_loop.result:
        result update now that FLUSH LOGS rotates relay logs.
      mysql-test/r/rpl_log.result:
        result update now that FLUSH LOGS rotates relay logs.
      mysql-test/r/rpl_rotate_logs.result:
        result update now that max_binlog_size is 4096.
      mysql-test/t/rpl_rotate_logs-master.opt:
        now max_binlog_size must be a multiple of 4096 (see change in mysqld.cc)
      sql/log.cc:
        Got rid of default arguments of various MYSQL_LOG methods (the default arguments
        made code reading uneasy).
        Set max_size in ::init().
        New function set_max_size() to set max_size of a MYSQL_LOG on-the-fly.
        More DBUG info.
      sql/mysql_priv.h:
        no defaults in open_log().
        New variables max_relay_log_size.
      sql/mysqld.cc:
        New variable and option max_relay_log_size.
        max_binlog_size and max...
      c22f493a
  32. 04 Jul, 2003 1 commit
    • unknown's avatar
      Status query on killed mysql connection results in segmentation fault (Bug #738) · b1e42705
      unknown authored
      Added MAX_PASSWORD_LENGTH. This increased master-slave passwords to 32 bytes (Bug #766)
      Fixed server crash on purge master logs or show master logs when binlog is off. (Bug #733)
      
      
      client/mysql.cc:
        status query on killed mysql connection results in segmentation fault (Bug #738)
      configure.in:
        Portability fix for Unixware
      include/my_global.h:
        Removed wrong patch from previous changeset
      sql/mysql_priv.h:
        Added MAX_PASSWORD_LENGTH. This increased master-slave passwords to 32 bytes
      sql/slave.h:
        Optimized structure
      sql/sql_repl.cc:
        Memory overrun safety fixes (not critical)
        Fixed server crash on purge master logs or show master logs when binlog is off. (Bug #733)
      sql/sql_repl.h:
        Fixed to use right define
      strings/strmake.c:
        Fixed comment
      b1e42705
  33. 03 Jul, 2003 1 commit
    • unknown's avatar
      Cleaner implementation if INSERT ... SELECT with same tables · 2923a08d
      unknown authored
      Tests cleanup (put drop database first in tests)
      
      
      client/mysql.cc:
        Cleanup of code in last pull
      include/config-win.h:
        Remove HAVE_CHSIZE on windows as it's not 64 bit clean
      include/my_global.h:
        Portability fix
      mysql-test/r/drop.result:
        Clean up results
      mysql-test/r/flush.result:
        Clean up results
      mysql-test/r/grant_cache.result:
        Clean up results
      mysql-test/r/innodb.result:
        Clean up results
      mysql-test/r/insert_select.result:
        Clean up results
      mysql-test/r/merge.result:
        Clean up results
      mysql-test/r/query_cache.result:
        Clean up results
      mysql-test/t/drop.test:
        Clean up tests
      mysql-test/t/flush.test:
        Clean up tests
      mysql-test/t/grant_cache.test:
        Clean up tests
      mysql-test/t/innodb.test:
        Clean up tests
      mysql-test/t/insert_select.test:
        Added more tests
      mysql-test/t/merge.test:
        Test of bug 515
      mysql-test/t/query_cache.test:
        Clean up tests
      mysql-test/t/symlink.test:
        Clean up tests
      sql/mysql_priv.h:
        Cleaner implementation if INSERT ... SELECT with same tables
      sql/sql_lex.h:
        Cleaner implementation if INSERT ... SELECT with same tables
      sql/sql_list.h:
        Indentation cleanup
      sql/sql_parse.cc:
        Cleaner implementation if INSERT ... SELECT with same tables
      sql/sql_yacc.yy:
        Cleaner implementation if INSERT ... SELECT with same tables
      2923a08d