1. 01 Jul, 2002 1 commit
    • unknown's avatar
      subselect in having clause · 2681b06c
      unknown authored
      fixed bug in sum function in subselect
      
      
      mysql-test/r/subselect.result:
        subselect in having clause
      mysql-test/t/subselect.test:
        subselect in having clause
      sql/item.cc:
        subselect in having clause
      sql/item.h:
        subselect in having clause
      sql/item_cmpfunc.cc:
        subselect in having clause
      sql/item_cmpfunc.h:
        subselect in having clause
      sql/item_func.cc:
        subselect in having clause
      sql/item_func.h:
        subselect in having clause
      sql/item_strfunc.h:
        subselect in having clause
      sql/item_subselect.cc:
        subselect in having clause
      sql/item_subselect.h:
        subselect in having clause
      sql/item_uniq.h:
        subselect in having clause
      sql/sql_base.cc:
        subselect in having clause
      sql/sql_class.cc:
        subselect in having clause
      sql/sql_class.h:
        subselect in having clause
      sql/sql_handler.cc:
        subselect in having clause
      sql/sql_lex.cc:
        subselect in having clause
      sql/sql_lex.h:
        subselect in having clause
      sql/sql_prepare.cc:
        subselect in having clause
      sql/sql_yacc.yy:
        subselect in having clause
      2681b06c
  2. 26 Jun, 2002 1 commit
    • unknown's avatar
      Several problems were fixed (mostly BLOB+charset related) · 4c10c5ed
      unknown authored
      Fixed that MyISAM were not working properly with non-8bit charsets in some cases
      CONVERT() function now works properly
      
      
      myisam/mi_unique.c:
        Fix for non-8bit charsets
      sql/field.cc:
        Initialize blobs with charset
      sql/field.h:
        Initialize blobs with charset
      sql/field_conv.cc:
        Initialize blobs with charset
      sql/item_strfunc.cc:
        CONVERT() function now has working fix_lenght_and_dec(), and it's own 
        fix_fields()
      sql/item_strfunc.h:
        CONVERT() function now has working fix_lenght_and_dec(), and it's own 
        fix_fields()
      sql/sql_select.cc:
        Fixes for BLOBs
        Fixed that wrong charset was used in some cases
      4c10c5ed
  3. 20 Jun, 2002 1 commit
  4. 12 Jun, 2002 1 commit
    • unknown's avatar
      sql_error.cc, sql_prepare.cc: · 71d3cc2e
      unknown authored
        new file
      
        Client-server protocol 4.1 changes - Server side:
      
       * Enhanced metadata information:
          - SHOW [COUNT(*)] ERRORS [LIMIT [offset,] rows]
          - SHOW [COUNT(*)] WARNING [LIMIT [offset,] rows]
          - SHOW TABLE TYPES
          - SHOW PRIVILEGES
          - SHOW COLUMN TYPES (Not fully implemented)
      
       * Prepared execution
       * Long data handling in pieces
       * And other misc changes
      
      71d3cc2e
  5. 07 Jun, 2002 1 commit
  6. 05 Jun, 2002 1 commit
  7. 04 Jun, 2002 1 commit
    • unknown's avatar
      Changes for new binary .frm format · a2a9256f
      unknown authored
      Fixes after last merge from 4.0.
      (Code not yet complete, need anoter merge from 4.0)
      
      
      heap/hp_write.c:
        cleanup
      myisam/ft_boolean_search.c:
        Fixed tree handling to new format
      mysql-test/r/alter_table.result:
        SHOW FULL COLUMN FROM TABLE now returns comment
      mysql-test/r/func_math.result:
        Updated results
      mysql-test/r/heap_btree.result:
        Portability fix
      mysql-test/r/isam.result:
        SHOW FULL COLUMN FROM TABLE now returns comment
      mysql-test/r/show_check.result:
        SHOW FULL COLUMN FROM TABLE now returns comment
      mysql-test/t/heap_btree.test:
        Portability fix
      mysql-test/t/show_check.test:
        SHOW FULL COLUMN FROM TABLE now returns comment
      sql/field.cc:
        Fix for comment handling
      sql/field.h:
        Added CHARSET_INFO to field structure
      sql/item_cmpfunc.cc:
        Fixed like to use system charset (need to be updated)
      sql/item_func.cc:
        Update to new charset handling
      sql/mysql_priv.h:
        cleanup
      sql/sql_base.cc:
        Added charset to HA_CREATE_INFO
      sql/sql_delete.cc:
        Added charset to HA_CREATE_INFO
      sql/sql_parse.cc:
        Added charset to HA_CREATE_INFO
      sql/sql_select.cc:
        cleanup
      sql/sql_show.cc:
        charset change
      sql/sql_string.h:
        cleanup
      sql/sql_table.cc:
        cleanup
      sql/sql_yacc.yy:
        Go back to old code for ALTER table ... MODIFY
      sql/table.cc:
        fixed comment handling
      sql/unireg.cc:
        new field format
      a2a9256f
  8. 01 Jun, 2002 1 commit
    • unknown's avatar
      new subselect tests · 59b3eb90
      unknown authored
      LIMIT fixed
      AVG & STD with subselect fixed
      join_free fixed to be depended queries compatible
      sort_default removed from SELECT_LEX
      
      
      mysql-test/r/subselect.result:
        new subselect tests
      mysql-test/t/subselect.test:
        new subselect tests
      sql/item.cc:
        marking as depended _ALL_ subselects under select from wich depend
      sql/item_subselect.cc:
        limit fixed
        TODO added
      sql/sql_class.cc:
        AVG & STD function with subselects fixed
      sql/sql_lex.h:
        sort_default removed
      sql/sql_parse.cc:
        limit fixed
      sql/sql_select.cc:
        fixed to be subselect compatible
      sql/sql_yacc.yy:
        sort_default removed
      59b3eb90
  9. 27 May, 2002 1 commit
  10. 26 May, 2002 1 commit
    • unknown's avatar
      added depended subselect processing · a7a0599f
      unknown authored
      mysql-test/r/subselect.result:
        depended subselect test
      mysql-test/t/subselect.test:
        depended subselect test
      sql/item.cc:
        resolving field names in depended queries
      sql/item_subselect.cc:
        move optimization just before execution, because we can't optimize inner depended subselect if have not optimized outer subselect
      sql/item_subselect.h:
        move optimization just before execution
      sql/sql_lex.h:
        some inline methods to hide internal SELECT_LEX structures
      sql/sql_select.cc:
        fixed error
      a7a0599f
  11. 25 May, 2002 1 commit
  12. 22 May, 2002 1 commit
  13. 17 May, 2002 1 commit
  14. 16 May, 2002 2 commits
    • unknown's avatar
      Fixed some compilation problems in last changeset · 03aebd40
      unknown authored
      Docs/manual.texi:
        Small changes regarind user resources
      client/mysqlbinlog.cc:
        Applied patch to support --database
      mysql-test/r/func_isnull.result:
        New test results
      mysql-test/r/join.result:
        New test results
      mysql-test/r/show_check.result:
        New test results
      mysql-test/r/type_datetime.result:
        New test results
      mysql-test/r/type_decimal.result:
        New test results
      mysql-test/r/type_float.result:
        New test results
      mysys/my_gethostbyname.c:
        Fixed type on last push
      mysys/my_pthread.c:
        Fixed type on last push
      sql/sql_select.cc:
        Fixed bug in LIMIT handling
      03aebd40
    • unknown's avatar
      Fix bug in SELECT SQL_CALC_FOUND_ROWS · 002e76fb
      unknown authored
      Docs/manual.texi:
        Update of new GRANT options
      libmysql/manager.c:
        Use new my_gethostbyname_r() functions
      mysql-test/r/select_found.result:
        new test case
      mysql-test/t/select_found.test:
        new test case
      sql/mysqld.cc:
        Change names of some status variables
      002e76fb
  15. 15 May, 2002 1 commit
  16. 13 May, 2002 1 commit
  17. 12 May, 2002 1 commit
    • unknown's avatar
      simple subselects ported to new select_lex structures · 684eadc6
      unknown authored
      include/mysqld_error.h:
        simple subselects
      libmysqld/Makefile.am:
        simple subselects
      sql/Makefile.am:
        simple subselects
      sql/item.h:
        simple subselects
      sql/item_strfunc.h:
        simple subselects
      sql/share/czech/errmsg.txt:
        simple subselects
      sql/share/danish/errmsg.txt:
        simple subselects
      sql/share/dutch/errmsg.txt:
        simple subselects
      sql/share/english/errmsg.txt:
        simple subselects
      sql/share/estonian/errmsg.txt:
        simple subselects
      sql/share/french/errmsg.txt:
        simple subselects
      sql/share/german/errmsg.txt:
        simple subselects
      sql/share/greek/errmsg.txt:
        simple subselects
      sql/share/hungarian/errmsg.txt:
        simple subselects
      sql/share/italian/errmsg.txt:
        simple subselects
      sql/share/japanese/errmsg.txt:
        simple subselects
      sql/share/korean/errmsg.txt:
        simple subselects
      sql/share/norwegian-ny/errmsg.txt:
        simple subselects
      sql/share/norwegian/errmsg.txt:
        simple subselects
      sql/share/polish/errmsg.txt:
        simple subselects
      sql/share/portuguese/errmsg.txt:
        simple subselects
      sql/share/romanian/errmsg.txt:
        simple subselects
      sql/share/russian/errmsg.txt:
        simple subselects
      sql/share/slovak/errmsg.txt:
        simple subselects
      sql/share/spanish/errmsg.txt:
        simple subselects
      sql/share/swedish/errmsg.txt:
        simple subselects
      sql/share/ukrainian/errmsg.txt:
        simple subselects
      sql/sql_class.cc:
        simple subselects
      sql/sql_class.h:
        simple subselects
      sql/sql_lex.cc:
        simple subselects
      sql/sql_select.cc:
        simple subselects
      sql/sql_select.h:
        simple subselects
      sql/sql_union.cc:
        simple subselects
      sql/sql_yacc.yy:
        simple subselects
      684eadc6
  18. 08 May, 2002 1 commit
  19. 28 Apr, 2002 1 commit
  20. 25 Apr, 2002 1 commit
    • unknown's avatar
      MI_KEYSEG -> HA_KEYSEG · fb3cc6ef
      unknown authored
      _mi_key_cmp -> ha_key_cmp
      
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      fb3cc6ef
  21. 12 Apr, 2002 1 commit
    • unknown's avatar
      Update for BTREE keys in HEAP tables · 0c2befcf
      unknown authored
      Split handler->option_flag() to handler->table_flags() and handler->index_flags()
      
      
      Docs/manual.texi:
        Updated standard binary options
      include/my_base.h:
        Update for BTREE keys in HEAP tables
      libmysql/net.c:
        merge with net_serv.cc
      mysql-test/r/func_misc.result:
        Update for new behaviour of inet_ntoa
      sql/field.cc:
        Update for BTREE keys in HEAP tables
      sql/field.h:
        Update for BTREE keys in HEAP tables
      sql/filesort.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_berkeley.h:
        Update for BTREE keys in HEAP tables
      sql/ha_heap.h:
        Update for BTREE keys in HEAP tables
      sql/ha_innodb.h:
        Update for BTREE keys in HEAP tables
      sql/ha_isam.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_isam.h:
        Update for BTREE keys in HEAP tables
      sql/ha_isammrg.h:
        Update for BTREE keys in HEAP tables
      sql/ha_myisam.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_myisam.h:
        Update for BTREE keys in HEAP tables
      sql/ha_myisammrg.h:
        Update for BTREE keys in HEAP tables
      sql/handler.cc:
        Update for BTREE keys in HEAP tables
      sql/handler.h:
        Update for BTREE keys in HEAP tables
      sql/log.cc:
        Update for BTREE keys in HEAP tables
      sql/net_serv.cc:
        Update for BTREE keys in HEAP tables
      sql/opt_range.cc:
        Update for BTREE keys in HEAP tables
      sql/opt_sum.cc:
        Update for BTREE keys in HEAP tables
      sql/records.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_class.h:
        Update for BTREE keys in HEAP tables
      sql/sql_handler.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_insert.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_select.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_show.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_table.cc:
        Update for BTREE keys in HEAP tables
      sql/structs.h:
        Update for BTREE keys in HEAP tables
      sql/table.cc:
        Update for BTREE keys in HEAP tables
      sql/unireg.cc:
        Update for BTREE keys in HEAP tables
      0c2befcf
  22. 02 Apr, 2002 2 commits
  23. 22 Mar, 2002 1 commit
    • unknown's avatar
      Fix for bug in WHERE key='j' or key='J' · e7d138ec
      unknown authored
      Docs/manual.texi:
        Changelog
      myisam/myisampack.c:
        Delete tmp file on error.
      mysql-test/r/range.result:
        Updated test case
      mysql-test/t/range.test:
        Updated test case
      e7d138ec
  24. 15 Mar, 2002 3 commits
  25. 14 Mar, 2002 1 commit
  26. 05 Mar, 2002 2 commits
    • unknown's avatar
      1c7eb2c7
    • unknown's avatar
      several bug fixes and tests · 417103de
      unknown authored
      mysql-test/mysql-test-run.sh:
        Fix for LOAD DATA LOCAL ...
      mysql-test/r/select_found.result:
        Added result for a new test of combo of options for FOUND_ROWS and
        BUFFER_RESULT
      mysql-test/t/select_found.test:
        Added test for combo of options for BUFFER_RESULT and FOUND_ROWS
      sql/sql_select.cc:
        Added fix for combo of options for BUFFER_RESULT and FOUND_ROWS
      417103de
  27. 02 Mar, 2002 1 commit
    • unknown's avatar
      Fix sorting of NULL values (Should always be first) · 6cfc5e0e
      unknown authored
      Fix problem with HAVING and MAX() IS NOT NULL
      
      
      Docs/manual.texi:
        Changelog & NULL usage with ORDER BY
      client/mysqldump.c:
        Cleanup disable keys
      mysql-test/r/distinct.result:
        Fix results after ORDER BY with NULL fix
      mysql-test/r/group_by.result:
        Fix results after ORDER BY with NULL fix
      mysql-test/r/having.result:
        Testcase for bug with HAVING
      mysql-test/t/distinct.test:
        Test for DISTINCT + ORDER BY DESC bug
      mysql-test/t/having.test:
        Test of HAVING and MAX IS NOT NULL
      sql/filesort.cc:
        Fix sorting of NULL values (Should always be first)
      sql/item.h:
        Fix problem with HAVING and MAX() IS NOT NULL
      sql/item_sum.h:
        Fix problem with HAVING and MAX() IS NOT NULL
      sql/opt_range.cc:
        Fix problem with HAVING and MAX() IS NOT NULL
      sql/opt_range.h:
        Fix sorting of NULL values
      sql/sql_select.cc:
        Fix sorting of ORDER BY ... DESC on NULL values.
      6cfc5e0e
  28. 01 Mar, 2002 1 commit
    • unknown's avatar
      fulltext+const_table bug fixed · 2ccb35c3
      unknown authored
      mysql-test/r/fulltext.result:
        test added
      mysql-test/t/fulltext.test:
        test added
      sql/item_func.cc:
        fulltext+const_table problem fixed once and forever
      sql/item_func.h:
        fulltext+const_table problem fixed once and forever
      sql/sql_select.cc:
        fulltext+const_table problem fixed once and forever
      sql/table.h:
        fulltext+const_table problem fixed once and forever
      2ccb35c3
  29. 28 Feb, 2002 2 commits
    • unknown's avatar
      Porting surgical changes from 4.0 to 4.1 · aacb14f6
      unknown authored
      aacb14f6
    • unknown's avatar
      Surgical changes in sql_select and sql_union code in order to · 1b2a30a9
      unknown authored
      accomodate EXPLAIN properly for all possible variant of UNION's
      derived tables etc ...
      
      This also fixes all reported (and unreported) bugs when EXPLAIN is
      run on UNION's.
      
      select_describe() now has a very dirty hack to avoid some problems
      with transactional tables on table unlocking.
      
      Code speedup is possible. For the moment all that was important was
      that all tests are passed.
      
      1b2a30a9
  30. 21 Feb, 2002 2 commits
  31. 10 Feb, 2002 1 commit
  32. 08 Feb, 2002 1 commit
    • unknown's avatar
      Fix some bugs introduced with the new my_getopt · bc1fc0a0
      unknown authored
      Added counting of rollback's and commits
      Fixed bug in 'SELECT 0 LIMIT 0'
      Fixed bug in 'SELECT SQL_CALC_FOUND_ROWS'
      
      
      Docs/manual.texi:
        Changelog
      configure.in:
        Cleanup
      myisam/myisamchk.c:
        Fix some bugs introduced with the new my_getopt
      mysql-test/r/limit.result:
        Test for bugfix
      mysql-test/r/rpl000001.result:
        fix wrong result
      mysql-test/r/select.result:
        Fix things after fixing ignore index()
      mysql-test/r/select_found.result:
        Test of bug in SQL_CALC_FOUND_ROWS
      mysql-test/t/limit.test:
        Test bug in LIMIT 0
      mysql-test/t/rpl000001.test:
        fix wrong result
      mysql-test/t/select_found.test:
        Test of bug in SQL_CALC_FOUND_ROWS
      sql/handler.cc:
        Added counting of rollback's and commits
      sql/mysql_priv.h:
        Added counting of rollback's and commits
      sql/mysqld.cc:
        Added counting of rollback's and commits
      sql/sql_select.cc:
        Fixed bug in 'SELECT 0 LIMIT 0'
        Fixed bug in 'SELECT SQL_CALC_FOUND_ROWS'
      bc1fc0a0
  33. 31 Jan, 2002 1 commit
    • unknown's avatar
      Fixes for new getopt · 6c1eb92e
      unknown authored
      Bug fix when using --no-deaults
      Sets ref_length to right value (faster rnd_pos() handling in InnoDB).
      Fixed problem with multi-table-delete and InnoDB
      Fixed problem with truncate table, which required a COMMIT before.
      Fixed multi-table-delete bug with InnoDB.
      Remove not used index from EXPLAIN
      
      
      Docs/manual.texi:
        ChangeLog
      include/my_getopt.h:
        Removed compiler warnings
      myisam/myisamchk.c:
        Fixes for new getopt
      mysql-test/r/explain.result:
        Updated test results
      mysql-test/r/innodb.result:
        Updated test results
      mysql-test/r/join.result:
        Updated test results
      mysql-test/t/innodb.test:
        Updated test results
      mysys/default.c:
        Bug fix when using --no-defaults
      mysys/my_getopt.c:
        Fixes for new getopt
      sql/ha_innodb.cc:
        Sets ref_length to right value (faster rnd_pos() handling).
        Fixed problem with multi-table-delete.
        Fixed problem with truncate table, which required a COMMIT before.
      sql/opt_sum.cc:
        Remove not used index from EXPLAIN
      sql/sql_cache.cc:
        Fixed core dump bug when not using query cache
      sql/sql_select.cc:
        Remove not used index from EXPLAIN
      6c1eb92e