An error occurred fetching the project authors.
  1. 29 Jul, 2003 1 commit
    • unknown's avatar
      count HAVING clause elements with select list elements, because agregate... · 0792c1c8
      unknown authored
      count HAVING clause elements with select list elements, because agregate function can be present in it (BUG#922)
      removerd unused loop_id
      
      
      mysql-test/r/subselect.result:
        test of BUG#922
      mysql-test/t/subselect.test:
        test of BUG#922
      sql/item.cc:
        removerd unused loop_id
        we need count HAVING clause elements, because agregate function can be present in it
      sql/item.h:
        removerd unused loop_id
      sql/item_subselect.cc:
        new name of field
      sql/sql_derived.cc:
        new name of field
      sql/sql_lex.cc:
        new name of field
      sql/sql_lex.h:
        new name of field
      sql/sql_select.cc:
        new name of field
      sql/sql_union.cc:
        new name of field
      0792c1c8
  2. 26 Jun, 2003 1 commit
    • unknown's avatar
      cond_count moved to SELECT_LEX_NODE · 54cd790b
      unknown authored
      fixed BUG #726
      
      
      mysql-test/r/subselect.result:
        test of bug #726
      mysql-test/t/subselect.test:
        test of bug #726
      sql/item_cmpfunc.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/item_subselect.cc:
        fixed current_select pointer
      sql/sql_base.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_class.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_class.h:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_lex.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_lex.h:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_select.cc:
        cond_count moved to SELECT_LEX_NODE
      54cd790b
  3. 24 Jun, 2003 1 commit
    • unknown's avatar
      Fixed error handling to be able do not interrupt update (907) (SCRUM) · cd01f7cd
      unknown authored
      fixed bug of current select pointer in subselect execution
      fixed layuot
      
      
      mysql-test/r/subselect.result:
        test of update with IGNORE option and error in subselect
      mysql-test/t/subselect.test:
        test of update with IGNORE option and error in subselect
      sql/item_subselect.cc:
        fixed bug of current select pointer
      sql/mysqld.cc:
        error converting to warnings if hd->lex.current_select->no_error id true
        layout fixed
      sql/sql_lex.cc:
        initialization
      sql/sql_lex.h:
        flag which force converting errors to warnings
      sql/sql_select.cc:
        switch on error convering to warnings in select executing if IGNORE option present
      cd01f7cd
  4. 12 Jun, 2003 1 commit
    • unknown's avatar
      Many files: · f7aed024
      unknown authored
        New feature: preload indexes into key cache.
      mi_preload.c:
        new file
      Many files:
        Added preload statement.
      
      
      sql/ha_myisam.h:
        Added preload statement.
      sql/handler.cc:
        Added preload statement.
      sql/lex.h:
        Added preload statement.
      sql/mysql_priv.h:
        Added preload statement.
      sql/sql_lex.h:
        Added preload statement.
      sql/sql_base.cc:
        Added preload statement.
      sql/sql_table.cc:
        New feature: preload indexes into key cache.
      sql/sql_parse.cc:
        New feature: preload indexes into key cache.
      sql/mysqld.cc:
        New feature: preload indexes into key cache.
      sql/set_var.cc:
        New feature: preload indexes into key cache.
      sql/sql_yacc.yy:
        New feature: preload indexes into key cache.
      sql/ha_myisam.cc:
        New feature: preload indexes into key cache.
      sql/table.h:
        New feature: preload indexes into key cache.
      mysys/mf_keycache.c:
        New feature: preload indexes into key cache.
      myisam/myisamdef.h:
        New feature: preload indexes into key cache.
      myisam/mi_extra.c:
        New feature: preload indexes into key cache.
      myisam/Makefile.am:
        New feature: preload indexes into key cache.
      include/my_base.h:
        New feature: preload indexes into key cache.
      include/my_sys.h:
        New feature: preload indexes into key cache.
      include/myisam.h:
        New feature: preload indexes into key cache.
      f7aed024
  5. 06 Jun, 2003 1 commit
    • unknown's avatar
      REVOKE all privileges and delete user(244) · d1a1d24c
      unknown authored
      include/mysqld_error.h:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      mysql-test/r/grant.result:
        Test for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      mysql-test/t/grant.test:
        Test for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/czech/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/danish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/dutch/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/english/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/estonian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/french/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/german/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/greek/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/hungarian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/italian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/japanese/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/korean/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/norwegian-ny/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/norwegian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/polish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/portuguese/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/romanian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/russian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/serbian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/slovak/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/spanish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/swedish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/ukrainian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      d1a1d24c
  6. 21 May, 2003 1 commit
    • unknown's avatar
      fixed subqueries name resolution with INSERT/REPLACE (found during bug 446 investigation) · 26aeebfa
      unknown authored
      mysql-test/r/subselect.result:
        subselect test changed
      mysql-test/t/subselect.test:
        INSERT DELAYED INTO t1 (x) VALUES ((SELECT SUM(x) FROM t2));
      sql/item.cc:
        avoid resolving of INSER/REPLACE tables field in subqueries
      sql/sql_lex.cc:
        Primary (top) simple INSERT/REPLACE st_select_lex indicator
      sql/sql_lex.h:
        Primary (top) simple INSERT/REPLACE st_select_lex indicator
      sql/sql_yacc.yy:
        Primary (top) simple INSERT/REPLACE st_select_lex indicator
      26aeebfa
  7. 17 May, 2003 1 commit
    • unknown's avatar
      fixed memory overrun (bug 380) · acda3d79
      unknown authored
      mysql-test/r/func_group.result:
        new tests
      mysql-test/t/func_group.test:
        new tests
      sql/item.cc:
        count items in select list
      sql/item_subselect.cc:
        use number of item in select list for array creation
      sql/item_sum.cc:
        with_sum_func now is boolean
      sql/sql_derived.cc:
        use number of item in select list for array creation
      sql/sql_lex.cc:
        create_refs changed with parsing_place enum variable
      sql/sql_lex.h:
        added items in select list counter
        create_refs changed with parsing_place enum variable
        with_sum_func now is boolean
      sql/sql_select.cc:
        use number of item in select list for array creation
      sql/sql_union.cc:
        use number of item in select list for array creation
      sql/sql_yacc.yy:
        create_refs changed with parsing_place enum variable
      acda3d79
  8. 15 May, 2003 1 commit
    • unknown's avatar
      Scrum task 845. Thi is a behaviour change : · ec72bda5
      unknown authored
      now by default, FLUSH, OPTIMIZE, ANALYZE, REPAIR commands are written to the
      binlog, unless the new NO_WRITE_TO_BINLOG keyword was used :
      OPTIMIZE NO_WRITE_TO_BINLOG table t;
      
      Previously these commands were never written to the binlog, but there are
      2 reasons to change this :
      - the RENAME TABLE in MERGE table bug (#175) on slave
      - the possible "differently optimised queries may lead to different
      updates on the master and slave" bug, until we have automatic ORDER BY.
      
      FLUSH LOGS/SLAVE/MASTER/TABLES WITH READ LOCK are never written to the binlog.
      New test for the new logging behaviour.
      Other small change : reload_acl_and_cache() and reset_slave() don't send their errors themselves,
      this is more usual.
      
      
      mysql-test/mysql-test-run.sh:
        rpl_flush_tables.test generates 'table xx is open on rename'.
        This is normal and done on purpose, so don't report it.
      sql/lex.h:
        New keyword NO_WRITE_TO_BINLOG
      sql/mysql_priv.h:
        reload_acl_and_cache() now decides if we want to write the FLUSH command
        to the binlog or not (FLUSH MASTER, FLUSH SLAVE, FLUSH TABLES
        WITH READ LOCK, FLUSH LOGS cannot go into the binlog).
      sql/mysqld.cc:
        updated for new prototype of reload_acl_and_cache().
      sql/sql_lex.h:
        New boolean no_write_to_binlog in the lex structure.
      sql/sql_parse.cc:
        reload_acl_and_cache() now does not send its errors itself;
        it saves the error and the caller sends it.
        FLUSH, OPTIMIZE, ANALYZE, REPAIR commands don't write to the binlog
        if the NO_WRITE_TO_BINLOG keyword was used.
      sql/sql_repl.cc:
        reset_slave() does not send its errors himself.
      sql/sql_yacc.yy:
        New optional keyword NO_WRITE_TO_BINLOG for OPTIMIZE/ANALYZE/REPAIR/FLUSH :
        OPTIMIZE NO_WRITE_TO_BINLOG TABLE t;
        ANALYZE NO_WRITE_TO_BINLOG TABLE t;
        REPAIR NO_WRITE_TO_BINLOG TABLE t;
        FLUSH NO_WRITE_TO_BINLOG TABLE t;
      ec72bda5
  9. 26 Apr, 2003 1 commit
  10. 21 Apr, 2003 1 commit
    • unknown's avatar
      Fix for a bug record #307. · 8078280c
      unknown authored
      Very nasty bug.
      It was caused by double free()-ing memory of join->select and 
      join->quick. 
      
      I was able to pinpoint it only after using Valgrind.
      
      Plus better fix for bug with TMP_TABLE_PARAM.
      
      Plus new constructor for SELECT_LEX.
      
      
      mysql-test/r/innodb.result:
        Fix for a bug record #307.
        
        Very nasty bug.
        It was caused by double free()-ing memory of join->select and 
        join->quick. 
        
        I was able to pinpoint it only after using Valgrind.
      mysql-test/t/innodb.test:
        Fix for a bug record #307.
        
        Very nasty bug.
        It was caused by double free()-ing memory of join->select and 
        join->quick. 
        
        I was able to pinpoint it only after using Valgrind.
      sql/sql_lex.cc:
        Adding a usefull constructor
      sql/sql_lex.h:
        Adding a usefull constructor which additionally required few more
        definitions.
      sql/sql_select.cc:
        Fix for a bug record #307.
        
        Very nasty bug.
        It was caused by double free()-ing memory of join->select and 
        join->quick. 
        
        I was able to pinpoint it only after using Valgrind.
      sql/sql_union.cc:
        Fixing bug #307.
        
        Also, a better fix for TMP_TABLE_PARAM bug.
        
        Also, use of the new constructor for SELECT_LEX.
      8078280c
  11. 07 Apr, 2003 1 commit
    • unknown's avatar
      sys_var_collation is now abstract class · b9b15d52
      unknown authored
      Two separate classes sys_var_client_collation and sys_var_literal_collation have been added
      for "literal_collation" and "client_collation" variables.
      
      
      b9b15d52
  12. 27 Mar, 2003 1 commit
    • unknown's avatar
      More OpenGIS compatibility: · 8bbbd1d6
      unknown authored
      Point, MultiLine, Poligom, etc, are now not aliases
      for Geometry, but separate field types.
      
      
      8bbbd1d6
  13. 25 Mar, 2003 1 commit
  14. 18 Mar, 2003 1 commit
  15. 17 Mar, 2003 1 commit
    • unknown's avatar
      This is full commit of group_concat with support subselects · 0b505fb4
      unknown authored
      include/mysqld_error.h:
        add warning
      sql/field.h:
        add friend class
      sql/item_sum.cc:
        add function
      sql/item_sum.h:
        add class
      sql/lex.h:
        add lex
      sql/mysql_priv.h:
        change push_warning
      sql/mysqld.cc:
        add new option
      sql/set_var.cc:
        add new system variable
      sql/share/english/errmsg.txt:
        add new message text
      sql/sql_class.h:
        change MY_ERROR class
      sql/sql_error.cc:
        change push_warning
      sql/sql_lex.h:
        add qorder_list for function
      sql/sql_yacc.yy:
        add structure of group_concat
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      0b505fb4
  16. 14 Mar, 2003 2 commits
  17. 10 Mar, 2003 1 commit
    • unknown's avatar
      processing of subselect in global ORDER BY (fifed crash of server) · 0c1af74d
      unknown authored
        this implementation have limitation: prohibited subselect in ORDER BY dependence of most outer query (will be solved after removing passing first select_lex as fake select for global mysql_select())
      
      
      mysql-test/r/subselect.result:
        test of subselect in global ORDER BY
      mysql-test/t/subselect.test:
        test of subselect in global ORDER BY
      sql/sql_lex.cc:
        fixed comments
        processing of subselect in global ORDER BY
      sql/sql_lex.h:
        processing of subselect in global ORDER BY
      sql/sql_parse.cc:
        processing of subselect in global ORDER BY
      sql/sql_yacc.yy:
        processing of subselect in global ORDER BY
      0c1af74d
  18. 06 Mar, 2003 1 commit
  19. 05 Mar, 2003 1 commit
  20. 16 Feb, 2003 1 commit
    • unknown's avatar
      SCRUM: 'Replication: PURGE LOGS with date' task · e1cf7fb3
      unknown authored
      Added:
      
      PURGE [MASTER] LOGS BEFORE date/date_expression
      expire-logs-days option
        With this option old files are deleted when
            - mysqld is started
            - log is rotated
            - someone does FLUSH LOGS
      
      
      
      
      
      
      sql/lex.h:
        For PURGE LOGS BEFORE
      sql/log.cc:
        Added purge_logs_before_date to MYSQL_LOG class
      sql/mysql_priv.h:
        For startup option --expire-logs-days
      sql/mysqld.cc:
        Added options expire-logs-days
        When mysqld is started old log files are deleted.
      sql/sql_class.h:
        For PURGE LOGS BEFORE and expire-log-days option
      sql/sql_lex.h:
        For PURGE LOGS BEFORE
      sql/sql_parse.cc:
        Old logs are deleted
        when someone does FLUSH LOGS
      sql/sql_repl.cc:
        For PURGE LOGS BEFORE and expire-log-days option
      sql/sql_repl.h:
        For PURGE LOGS BEFORE and expire-log-days option
      sql/sql_yacc.yy:
        For PURGE LOGS BEFORE
      e1cf7fb3
  21. 15 Feb, 2003 1 commit
  22. 14 Feb, 2003 1 commit
    • unknown's avatar
      Fixed problem when connecting to user without a password. · 5a12dff3
      unknown authored
      Fixed problem with LIKE and BINARY
      
      
      BitKeeper/etc/ignore:
        added scripts/fill_help_tables
      client/mysqltest.c:
        Better error messages
      libmysql/libmysql.c:
        Simple code cleanup
        Simplified connect() and change_user() by using sub function
      libmysqld/lib_sql.cc:
        Ensure that new fields in MYSQL_FIELD structure is used
      mysql-test/r/rpl_user_variables.result:
        Cleaned up test
      mysql-test/r/type_blob.result:
        New test
      mysql-test/t/rpl_user_variables.test:
        Cleaned up test
      mysql-test/t/type_blob.test:
        New test
      sql/item.cc:
        Fixed that Item_ref returns the right character set
      sql/item_cmpfunc.cc:
        Fixed problem with LIKE and BINARY
      sql/item_func.cc:
        Don't store end ASCII(0) for string user variables
        (Made some other code easier)
      sql/log_event.cc:
        Don't store end ASCII(0) for string user variables.
        Fixed comment style
        Some optimizations
      sql/log_event.h:
        Optimized type
      sql/mini_client.cc:
        Indentation changes
      sql/mysql_priv.h:
        Made is_update_query extern
      sql/protocol.cc:
        Simple code cleanup
      sql/sql_acl.cc:
        Code cleanup
        Fixed problem when connecting to user without a password.
      sql/sql_lex.h:
        Fixed problem with uninitialized memory
      sql/sql_parse.cc:
        Fixed problem with user without passwords
        Fixed some connect problems.
      sql/time.cc:
        removed reference to uninitialized memory
      5a12dff3
  23. 13 Feb, 2003 1 commit
    • unknown's avatar
      fix a bug in derived tables · 33f02393
      unknown authored
      UNION's bug fixes and code clean-up
      
      
      mysql-test/r/subselect.result:
        An insignificant consequent of my UNION"s clean-up
      sql/sql_derived.cc:
        Fix a bug that our CTO reported
      sql/sql_lex.h:
        Fixing some bugs in UNION's with code clean-up
      sql/sql_union.cc:
        Fixing some bugs in UNION's with code clean-up
      sql/sql_yacc.yy:
        Fixing some bugs in UNION's with code clean-up
      33f02393
  24. 12 Feb, 2003 1 commit
    • unknown's avatar
      Fixed a lot of wrong memory references as reported by valgrind · fcb61f59
      unknown authored
      Portability fixes
      Added new client function: mysql_get_server_version()
      New server help code (From Victor Vagin)
      Fixed wrong usage of binary()
      Disabled RTREE usage for now.
      
      
      
      BitKeeper/etc/ignore:
        added scripts/fill_help_tables.sql
      client/mysql.cc:
        Some fixes when using 'help'
      cmd-line-utils/libedit/compat.h:
        Portability fix
      cmd-line-utils/libedit/fgetln.c:
        Portability fix
      include/mysql.h:
        Added new client function: mysql_get_server_version()
      libmysql/libmysql.c:
        Added new client function: mysql_get_server_version()
      libmysqld/libmysqld.c:
        Fixed prototype
      mysql-test/install_test_db.sh:
        Added creation of help tables
      mysql-test/r/connect.result:
        Added help tables
      mysql-test/r/myisam.result:
        Test of RTREE index
      mysql-test/r/type_ranges.result:
        updated results
      mysql-test/t/myisam.test:
        Test of RTREE index
      mysql-test/t/type_ranges.test:
        Updated test
      mysys/charset.c:
        Indentation change
      mysys/my_symlink.c:
        Removed compiler warning
      scripts/fill_help_tables.sh:
        Update for new help tables
      sql/field.cc:
        Indentation changes
      sql/filesort.cc:
        Optimized character set usage
      sql/item_cmpfunc.cc:
        Fix wrong usage of binary()
      sql/item_cmpfunc.h:
        Fix wrong usage of binary()
      sql/item_func.cc:
        Fix wrong usage of binary()
      sql/item_func.h:
        Fix wrong usage of binary()
      sql/item_strfunc.cc:
        Fix wrong usage of binary()
      sql/item_sum.cc:
        Fix wrong usage of binary()
      sql/item_sum.h:
        Fix wrong usage of binary()
      sql/key.cc:
        Indentation change
      sql/lex.h:
        HELP -> HELP_SYM
      sql/mysql_priv.h:
        Make get_field() more general
      sql/password.c:
        Indentation change + variable initialisation moved
      sql/sql_acl.cc:
        Make get_field() more general
      sql/sql_base.cc:
        Added comments + assertion for double call to mysql_lock_tables
      sql/sql_cache.cc:
        Indentation changes
      sql/sql_class.h:
        Added need_strxnfrm to SORT_FIELD to be able to optimise character set handling in filesort
      sql/sql_derived.cc:
        Renamed variables
      sql/sql_help.cc:
        New help functions (from Victor Vagin)
      sql/sql_lex.cc:
        Removed variables that doesn't have to be initialized for each query
      sql/sql_lex.h:
        Removed not used variable (olap)
      sql/sql_parse.cc:
        Fixed (not fatal) access of unitialized memory
        Indentation / code cleanup
      sql/sql_prepare.cc:
        Indentaion cleanup
      sql/sql_table.cc:
        Disabled RTREE until 5.0
      sql/sql_udf.cc:
        Make get_field() more general
      sql/sql_yacc.yy:
        Removed access to uninitialized memory
        Always set offset_limit and select_limit when using LIMIT (removed warnings)
        Allow usage of 'help week'
      sql/table.cc:
        Make get_field() more general
        More comments
      sql/table.h:
        Fixded type of TABLE_LIST->derived
      sql/time.cc:
        Stricter date / datetime handling (to be able to handle timestamps with days and microseconds)
      strings/ctype-bin.c:
        Added cha
      fcb61f59
  25. 10 Feb, 2003 1 commit
    • unknown's avatar
      Move tmp_table_used to THD · 96273457
      unknown authored
      Optimize depending sub querys
      Remove valgrind warnings
      
      
      libmysqld/lib_sql.cc:
        Better way to reset errors
      mysql-test/mysql-test-run.sh:
        Remove wrong `
      mysql-test/r/subselect.result:
        Don't use table t1
      mysql-test/t/subselect.test:
        Don't use table t1
      sql/item.cc:
        Indentation fix
      sql/item.h:
        optimize depending sub querys
      sql/item_func.cc:
        Remove warning for uninitalized data
      sql/item_row.cc:
        Remove warning
      sql/item_strfunc.h:
        Fixed memory overrun
      sql/item_subselect.cc:
        Better debugging names
      sql/log_event.cc:
        Move tmp_table_used to THD
      sql/sql_base.cc:
        Move tmp_table_used to THD
      sql/sql_class.cc:
        Move tmp_table_used to THD
      sql/sql_class.h:
        Move tmp_table_used to THD
      sql/sql_lex.cc:
        Move tmp_table_used to THD
      sql/sql_lex.h:
        Move tmp_table_used to THD
      sql/sql_parse.cc:
        Move tmp_table_used to THD
      sql/sql_select.cc:
        optimize depending sub querys
      sql/sql_table.cc:
        Move tmp_table_used to THD
      96273457
  26. 02 Feb, 2003 1 commit
    • unknown's avatar
      after-review changes (577 SCRUM) · e1134143
      unknown authored
      sql/item.cc:
        typo fix
      sql/item.h:
        typo fix
      sql/item_cmpfunc.cc:
        comment
      sql/item_func.cc:
        new interface
      sql/item_subselect.cc:
        comment inserted
      sql/item_sum.cc:
        layout fixed
        comment inserted
      sql/mysql_priv.h:
        names changed
      sql/sql_base.cc:
        some optimization
      sql/sql_delete.cc:
        name changed
      sql/sql_insert.cc:
        name changed
      sql/sql_lex.h:
        name changed
      sql/sql_prepare.cc:
        layout fixed
      sql/sql_select.cc:
        layout fixed
        names changed
        comments inserted
        debugging code removed
      sql/sql_select.h:
        name changed
      sql/sql_union.cc:
        name changed
        layout fixed
      sql/sql_update.cc:
        name changed
      sql/sql_yacc.yy:
        typo fixed
      e1134143
  27. 30 Jan, 2003 1 commit
    • unknown's avatar
      fixed bug in determinating uncacheable queries · c7c45bf2
      unknown authored
      new fatal_error interface to assign is_fatal_error and ne.report_error
      commant about Item_row
      
      
      mysql-test/r/subselect.result:
        test of inheritence of uncacheability
      mysql-test/t/subselect.test:
        test of inheritence of uncacheability
      sql/item.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/item_func.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/item_row.cc:
        comment about row
      sql/item_subselect.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
        (message should be sent by allocate routine
      sql/log_event.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/mysqld.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/protocol.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_base.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_class.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_class.h:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_delete.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_insert.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_lex.h:
        fixed bug in determinating uncacheable queries
      sql/sql_parse.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_prepare.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_select.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_show.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_union.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_update.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/thr_malloc.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      c7c45bf2
  28. 29 Jan, 2003 1 commit
    • unknown's avatar
      improving of fields list creation in derived tables and unions · b2ffb29a
      unknown authored
      fixed length of fields created in fubselect
      fixed resolving fields of reduced in derived table subselect
      
      
      mysql-test/r/subselect.result:
        test of created with subselect fields
      mysql-test/t/subselect.test:
        test of created with subselect fields
      sql/item.cc:
        fixed length of fields created in fubselect
        fixed resolving fields of reduced in derived table subselect
      sql/item_subselect.cc:
        improving of fields list creation in derived tables and unions
      sql/mysql_priv.h:
        improving of fields list creation in derived tables and unions
      sql/sql_derived.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_lex.h:
        improving of fields list creation in derived tables and unions
      sql/sql_parse.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_prepare.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_select.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_select.h:
        improving of fields list creation in derived tables and unions
      sql/sql_union.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_update.cc:
        improving of fields list creation in derived tables and unions
      b2ffb29a
  29. 28 Jan, 2003 1 commit
    • unknown's avatar
      fixed bugs in temporary tables in subselect implementation (SCRUM) · ca0d06d5
      unknown authored
      merging with switching on static tables optimization (SCRUM)
      fixed subselects with uncacheable results
      added test for fixed bugs from bugreports
      
      
      mysql-test/r/subselect.result:
        changes in subselect test after switching on static tables optimization
        fixed bug test added
        uncacheable subselects
      mysql-test/t/subselect.test:
        changes in subselect test after switching on static tables optimization
        fixed bug test added
        uncacheable subselects
      sql/item_create.cc:
        fixed subselects with uncacheable results
      sql/item_func.cc:
        fixed subselects with uncacheable results
      sql/item_subselect.cc:
        fixed subselects with uncacheable results
        clean up
      sql/item_subselect.h:
        fixed subselects with uncacheable results
      sql/sql_lex.cc:
        fixed subselects with uncacheable results
      sql/sql_lex.h:
        fixed subselects with uncacheable results
      sql/sql_select.cc:
        fixed bugs in temporary tables in subselect implementation
        fixed subselects with uncacheable results
      sql/sql_union.cc:
        fixed subselects with uncacheable results
      sql/sql_yacc.yy:
        fixed subselects with uncacheable results
      ca0d06d5
  30. 26 Jan, 2003 1 commit
    • unknown's avatar
      after merge fix of 577 task (SCRUM, pre commit to be able to merge with static... · a72ebebf
      unknown authored
      after merge fix of 577 task (SCRUM, pre commit to be able to merge with static tables optimization fix)
      fixed derived tables with subselect inside
      
      
      mysql-test/r/derived.result:
        test of subselects inside derived tables
      mysql-test/t/derived.test:
        test of subselects inside derived tables
      mysql-test/t/subselect.test:
        subselect test (not finished)
      sql/item.cc:
        after merge fix
      sql/item.h:
        after merge fix
      sql/item_cmpfunc.h:
        after merge fix
      sql/item_subselect.cc:
        after merge fix
      sql/item_sum.h:
        after merge fix
      sql/mysql_priv.h:
        fixed derived tables with subselect inside
      sql/sql_class.h:
        after merge fix
      sql/sql_derived.cc:
        fixed derived tables with subselect inside
      sql/sql_lex.cc:
        fixed derived tables with subselect inside
      sql/sql_lex.h:
        fixed derived tables with subselect inside
      sql/sql_parse.cc:
        fixed derived tables with subselect inside
        after merge fix
      sql/sql_prepare.cc:
        after merge fix
      sql/sql_select.cc:
        after merge fix
        fixed derived tables with subselect inside
      a72ebebf
  31. 25 Jan, 2003 1 commit
    • unknown's avatar
      fixed subselects with temporary tables (SCRUM) · b2354133
      unknown authored
      fixed memory leacks
      
      
      mysql-test/r/subselect.result:
        some changes in subselect tests
      mysql-test/t/subselect.test:
        some changes in subselect tests
      sql/item.cc:
        some item made copyable
        methods for creating copy of item list
        tmp_table_field() splited
      sql/item.h:
        some item made copyable
        methods for creating copy of item list
        tmp_table_field() splited
      sql/item_cmpfunc.cc:
        changed references creation
      sql/item_cmpfunc.h:
        changed references creation
      sql/item_func.cc:
        some item made copyable
        methods for creating copy of item list
        changed references creation
      sql/item_func.h:
        some item made copyable
        methods for creating copy of item list
        changed references creation
        tmp_table_field() splited
      sql/item_subselect.cc:
        changed references creation
      sql/item_sum.cc:
        some item made copyable
        methods for creating copy of item list
      sql/item_sum.h:
        some item made copyable
        methods for creating copy of item list
      sql/item_timefunc.h:
        tmp_table_field() splited
      sql/item_uniq.h:
        some item made copyable
        methods for creating copy of item list
      sql/mysql_priv.h:
        fixed subselects with temporary tables
      sql/sql_base.cc:
        fixed subselects with temporary tables
      sql/sql_class.h:
        fixed subselects with temporary tables
      sql/sql_delete.cc:
        fixed subselects with temporary tables
      sql/sql_derived.cc:
        fixed subselects with temporary tables
      sql/sql_do.cc:
        fixed subselects with temporary tables
      sql/sql_insert.cc:
        fixed subselects with temporary tables
      sql/sql_lex.cc:
        fixed subselects with temporary tables
      sql/sql_lex.h:
        fixed subselects with temporary tables
      sql/sql_list.h:
        fixed subselects with temporary tables
      sql/sql_load.cc:
        fixed subselects with temporary tables
      sql/sql_olap.cc:
        fixed subselects with temporary tables
      sql/sql_parse.cc:
        fixed subselects with temporary tables
      sql/sql_prepare.cc:
        fixed subselects with temporary tables
      sql/sql_select.cc:
        fixed subselects with temporary tables
      sql/sql_select.h:
        fixed subselects with temporary tables
      sql/sql_table.cc:
        fixed subselects with temporary tables
      sql/sql_union.cc:
        fixed subselects with temporary tables
      sql/sql_update.cc:
        fixed subselects with temporary tables
      sql/sql_yacc.yy:
        fixed subselects with temporary tables
      b2354133
  32. 21 Jan, 2003 1 commit
    • unknown's avatar
      Portability fixes (for windows) · 10e22c34
      unknown authored
      Some changes to the prepared statement protocol to make it easier to use and faster.
      
      
      Makefile.am:
        Fix to make dist to work with cmd-line-utils
      client/mysql.cc:
        Portability fixes
      client/mysqlbinlog.cc:
        Portabiliy fixes and remove usafe of FILE
      configure.in:
        Fix to make dist to work with cmd-line-utils
      heap/_check.c:
        Portability fixes
      include/config-win.h:
        Portability fixes
      include/m_ctype.h:
        Indentation cleanup
      include/my_list.h:
        Portability fixes
      include/mysql.h:
        Cleanup of BIND structure
      include/violite.h:
        Portability fixes
      innobase/dict/dict0dict.c:
        Portability fixes
      innobase/dict/dict0load.c:
        Portability fixes
      innobase/include/os0proc.h:
        Portability fixes (Heikki, please check)
      innobase/os/os0proc.c:
        Portability fixes (Heikki, please check)
      innobase/ut/ut0ut.c:
        Portability fixes
      isam/pack_isam.c:
        Portability fixes
      libmysql/libmysql.c:
        Portability fixes
        Remove obscure usage of the length parameter for prepared statements.
      libmysql/libmysql.def:
        Remove not existing functions
      libmysqld/lib_sql.cc:
        Remove compiler warning
      mysql-test/r/explain.result:
        Fix after merge
      mysql-test/r/join.result:
        Fix after merge
      mysys/my_once.c:
        Portability fix
      mysys/tree.c:
        Portability fixes
      sql/field.cc:
        Portability fixes
      sql/filesort.cc:
        move assert.h to mysql_priv.h
      sql/ha_berkeley.cc:
        move assert.h to mysql_priv.h
      sql/ha_innodb.cc:
        move assert.h to mysql_priv.h
      sql/item.cc:
        move assert.h to mysql_priv.h
        Fixed syntax error
      sql/item_cmpfunc.cc:
        move assert.h to mysql_priv.h
      sql/item_func.cc:
        move assert.h to mysql_priv.h
      sql/item_row.cc:
        move assert.h to mysql_priv.h
      sql/item_strfunc.cc:
        Portability fix
      sql/item_subselect.cc:
        Portability fix
      sql/item_sum.cc:
        move assert.h to mysql_priv.h
      sql/lex.h:
        Portability fix
      sql/lock.cc:
        move assert.h to mysql_priv.h
      sql/log.cc:
        move assert.h to mysql_priv.h
      sql/log_event.cc:
        Portability fix
      sql/mf_iocache.cc:
        move assert.h to mysql_priv.h
      sql/mysql_priv.h:
        move assert.h to mysql_priv.h
      sql/mysqld.cc:
        move assert.h to mysql_priv.h
      sql/opt_range.cc:
        move assert.h to mysql_priv.h
      sql/password.c:
        Portability fix
      sql/protocol.cc:
        move assert.h to mysql_priv.h
      sql/set_var.cc:
        Portability fix
      sql/slave.cc:
        move assert.h to mysql_priv.h
      sql/spatial.cc:
        Portability fix
      sql/sql_acl.cc:
        move assert.h to mysql_priv.h
      sql/sql_base.cc:
        move assert.h to mysql_priv.h
      sql/sql_cache.cc:
        move assert.h to mysql_priv.h
      sql/sql_class.cc:
        move assert.h to mysql_priv.h
      sql/sql_handler.cc:
        move assert.h to mysql_priv.h
      sql/sql_help.cc:
        Removed compiler warning
      sql/sql_lex.cc:
        Portability fix
      sql/sql_lex.h:
        Portability fix
      sql/sql_parse.cc:
        move assert.h to mysql_priv.h
      sql/sql_prepare.cc:
        move assert.h to mysql_priv.h
      sql/sql_repl.cc:
        move assert.h to mysql_priv.h
      sql/sql_select.cc:
        move assert.h to mysql_priv.h
      sql/sql_string.cc:
        Portability fix
      sql/sql_string.h:
        Portability fix
      sql/sql_table.cc:
        move assert.h to mysql_priv.h
      sql/sql_yacc.yy:
        Portability fix
        Remove not accessed code
      strings/ctype-bin.c:
        Portability fix
      strings/ctype-mb.c:
        Portability fix
      strings/ctype.c:
        Portability fix
      tests/client_test.c:
        A
      10e22c34
  33. 18 Jan, 2003 1 commit
  34. 17 Jan, 2003 1 commit
    • unknown's avatar
      Changed my_strntoxxx functions to clear error number on start · 4655f1d4
      unknown authored
      Allow one to change ANSI_QUOTES mode per thread and on the fly
      
      
      sql/field.cc:
        Use new my_strntoxxx functions where function clears errno.
        Change variable names to 'not_used' for variables that is not used in function
      sql/sql_base.cc:
        comment
      sql/sql_lex.cc:
        Allow one to change ANSI_QUOTES mode per thread and on the fly
      sql/sql_lex.h:
        Allow one to change ANSI_QUOTES mode per thread and on the fly
      strings/ctype-simple.c:
        Changed my_strntoxxx functions to clear error number on start
        Changed my_strtod() to correctly set return error number
      strings/ctype-utf8.c:
        Changed my_strntoxxx functions to clear error number on start
        Changed my_strtod() to correctly set return error number
      4655f1d4
  35. 14 Jan, 2003 1 commit
    • unknown's avatar
      after merging fixing · 742de8f5
      unknown authored
      include/m_string.h:
        added include to va_list bicame known
      mysql-test/r/union.result:
        some changing in error message
      sql/sql_base.cc:
        error detection moved
      sql/sql_lex.cc:
        new flag to detect table name error
      sql/sql_lex.h:
        new flag to detect table name error
      sql/sql_yacc.yy:
        check possibility of using table name added
      742de8f5
  36. 09 Jan, 2003 2 commits
    • unknown's avatar
      Post merge fix · f7ff1cca
      unknown authored
      Allow empty key list in USE|IGNORE|FORCE INDEX()
      
      
      mysql-test/r/myisam.result:
        New explain format
      mysql-test/t/myisam.test:
        test of index()
      mysys/my_handler.c:
        Updated ha_key_cmp() to be as latest _mi_key_cmp() in 4.0
      sql/sql_lex.cc:
        Post merge fix
      sql/sql_lex.h:
        Post merge fix
      sql/sql_parse.cc:
        Post merge fix
      sql/sql_yacc.yy:
        Post merge fix for FORCE INDEX ()
        Allow empty key list in USE|IGNORE|FORCE INDEX()
      f7ff1cca
    • unknown's avatar
      Don't count NULL values in cardinalty for MyISAM tables. · b5e37b24
      unknown authored
      Free row buffer cache after each query for MyISAM tables.
      Added table join option FORCE INDEX
      Fixed core dump bug when connecting with hostname that could not be resolved.
      
      
      include/my_base.h:
        Don't count NULL values in cardinalty
      myisam/mi_check.c:
        Don't count NULL values in cardinalty
      myisam/mi_extra.c:
        Free row buffer cache after each query
      myisam/mi_open.c:
        Avoid realloc if cache size doesn't change
      myisam/mi_search.c:
        Don't count NULL values in cardinalty
      myisam/myisamdef.h:
        Change buffer length from uint to uint32 to make it more portable/predictable
      mysql-test/r/myisam.result:
        Test case for cardinality with NULL keys and FORCE INDEX
      mysql-test/t/myisam.test:
        Test case for cardinality with NULL keys and FORCE INDEX
      sql/lex.h:
        Added table join option FORCE INDEX
      sql/mysql_priv.h:
        Added table join option FORCE INDEX
      sql/opt_range.cc:
        Added table join option FORCE INDEX
      sql/sql_base.cc:
        Added table join option FORCE INDEX
      sql/sql_lex.h:
        Added table join option FORCE INDEX
      sql/sql_parse.cc:
        Added table join option FORCE INDEX
        Don't use strlen() on hostname without first checking if it's not NULL
      sql/sql_select.cc:
        Added table join option FORCE INDEX
      sql/sql_yacc.yy:
        Added table join option FORCE INDEX
      sql/table.h:
        Added table join option FORCE INDEX
      b5e37b24
  37. 29 Dec, 2002 1 commit
  38. 24 Dec, 2002 1 commit