1. 06 Feb, 2003 1 commit
    • unknown's avatar
      Added START TRANSACTION syntax · dacf7f8f
      unknown authored
      Added ALL as parameter option for all group functions.
      Make join handling uniform. This allows us to use ',', JOIN and INNER JOIN the same way.
      Sort NULL last if DESC is used (ANSI SQL 99 requirement)
      
      
      include/my_global.h:
        Moved LL from mysql_priv (as this is also in config-win.h)
      mysql-test/r/distinct.result:
        Updated results
      mysql-test/r/func_group.result:
        Updated results
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/join.result:
        Updated results
      mysql-test/r/order_by.result:
        Updated results
      mysql-test/t/func_group.test:
        Added test for SUM(ALL ...)
      mysql-test/t/innodb.test:
        Added test for START TRANSACTION
      mysql-test/t/join.test:
        Test different join syntaxes
      mysql-test/t/order_by.test:
        Added new test of NULL ordering.
      sql/filesort.cc:
        Sort NULL last if DESC is used
      sql/lex.h:
        Added OLD_PASSWORD() as synonym for PASSWORD.
      sql/mysql_priv.h:
        Removed LL()
      sql/opt_range.cc:
        Sort NULL last if DESC is used
      sql/opt_range.h:
        Sort NULL last if DESC is used
      sql/slave.cc:
        Indentation changes
      sql/sql_parse.cc:
        After merge fix
      sql/sql_select.cc:
        Added comment
      sql/sql_yacc.yy:
        Added START TRANSACTION syntax
        Added ALL as parameter option for all group functions.
        Make join handling uniform.
      dacf7f8f
  2. 08 Jun, 2002 1 commit
    • unknown's avatar
      Added a lot of DBUG_xxx statements to be able to find replication bug. · 770aa9f2
      unknown authored
      Fixed critical bug on 64 bit systems.
      Cleanups
      
      
      BUILD/compile-solaris-sparc-purify:
        Added --debug option.
      sql/log_event.cc:
        Added DBUG_xxx statements.
        Cleanup
      sql/opt_range.h:
        Dummy fix to remove warnings in purify
      sql/repl_failsafe.cc:
        Cleanup
      sql/slave.cc:
        Added DBUG statements to be able to find bugs.
        Optimized code.
        Fixed critical bug on 64 bit systems.
      sql/sql_repl.cc:
        Added DBUG_xx statements.
      770aa9f2
  3. 02 Mar, 2002 1 commit
    • unknown's avatar
      Fix sorting of NULL values (Should always be first) · ad4fcb8a
      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.
      ad4fcb8a
  4. 05 Dec, 2001 1 commit
    • unknown's avatar
      Update of query cache code. · eca2a1a3
      unknown authored
      Changed some sql_alloc() -> thd->alloc()
      Removed a lot of compiler warnings on Linux Alpha (64 bit)
      Fixed some core dumps on 64 bit systems (wrong type for packet_len)
      
      
      Docs/manual.texi:
        Added base information about the query cache.
      include/hash.h:
        Export hash_replace
      include/myisam.h:
        Update of query cache code
      libmysql/net.c:
        Add casts to make things safe on 64 bit systems.
      myisam/mi_write.c:
        Update of query cache code
      myisammrg/myrg_extra.c:
        Update of query cache code
      mysys/hash.c:
        Added safety check to hash_replace
      sql/field.cc:
        Removed compiler warnings.
      sql/field.h:
        Removed compiler warnings
      sql/ha_myisam.cc:
        Fixed wrong type of packet_len
      sql/item.h:
        Remove warnings
      sql/log_event.cc:
        Cleanup
      sql/log_event.h:
        Cleanup to make code more readable
      sql/mf_iocache.cc:
        Fixed wrong type
      sql/mysql_priv.h:
        Update of query cache code
      sql/mysqld.cc:
        Update of query cache code
      sql/net_serv.cc:
        Remove compiler warnings
      sql/opt_range.h:
        Remove compiler warnings
      sql/sql_cache.cc:
        Update of query cache code
      sql/sql_cache.h:
        Update of query cache code
      sql/sql_class.h:
        Cleanup
      sql/sql_insert.cc:
        Use thd->alloc() instead of sql_alloc()
      sql/sql_parse.cc:
        Fixed compiler warnings.
        Changed some sql_alloc() -> thd->alloc()
      sql/sql_select.cc:
        Changed sql_alloc() -> thd_alloc()
      sql/sql_select.h:
        Faster alloc()
      sql/sql_show.cc:
        Update of query cache code
      sql/sql_table.cc:
        Faster alloc()
      sql/table.cc:
        Faster alloc()
      eca2a1a3
  5. 22 Nov, 2001 1 commit
  6. 29 Jun, 2001 1 commit
    • unknown's avatar
      Fix ORDER BY ... DESC optimization · b59fcb04
      unknown authored
      Docs/manual.texi:
        Update with changes from old version of the 4.0 manual.
      mysql-test/r/order_by.result:
        New tests for ORDER BY ... DESC
      mysql-test/t/order_by.test:
        New tests for ORDER BY ... DESC
      sql/sql_delete.cc:
        Removed DEBUG code
      b59fcb04
  7. 28 Jun, 2001 1 commit
    • unknown's avatar
      Implement ORDER BY DESC optimization, which reads values in descending · 950a6871
      unknown authored
      order directly from the index instead of using a filesort.
      
      
      mysql-test/mysql-test-run.sh:
        [ -n $SKIP_TEST ] --> [ -n "$SKIP_TEST" ]; portability fix
      mysql-test/r/order_by.result:
        Added test for ORDER BY DESC optimization
      mysql-test/t/order_by.test:
        Added test for ORDER BY DESC optimization
      sql/opt_range.cc:
        Added QUICK_SELECT_DESC class which implements ORDER BY DESC optimization.
      sql/opt_range.h:
        Added QUICK_SELECT_DESC class which implements ORDER BY DESC optimization.
      sql/sql_select.cc:
        Added QUICK_SELECT_DESC class which implements ORDER BY DESC optimization.
      BitKeeper/etc/ignore:
        Added .gdbinit .vimrc to the ignore list
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      950a6871
  8. 10 Apr, 2001 1 commit
    • unknown's avatar
      Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULL · 92de7269
      unknown authored
      Docs/manual.texi:
        Updated replication section
      mysql-test/r/null_key.result:
        Added test UPDATE/DELETE with IS NULL on unique key
      mysql-test/t/null_key.test:
        Added test UPDATE/DELETE with IS NULL on unique key
      mysys/Makefile.am:
        Removed -f from $CP as this is not portable
        Fixed rule for testhash
      sql/field.cc:
        Safety fix
      sql/opt_range.cc:
        Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULL
      sql/opt_range.h:
        Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULL
      92de7269
  9. 28 Nov, 2000 1 commit
    • unknown's avatar
      errmsg.txt translated · b865c72a
      unknown authored
      opt_range.h	bugs with const_tables and filesort fixed
      opt_range.cc	bugs with const_tables and filesort fixed
      item_func.cc	bugs with const_tables and filesort fixed
      ha_myisam.h	bugs with const_tables and filesort fixed
      ha_myisam.cc	bugs with const_tables and filesort fixed
      ft_search.c	bugs with const_tables and filesort fixed
      
      
      myisam/ft_search.c:
        bugs with const_tables and filesort fixed
      sql/ha_myisam.cc:
        bugs with const_tables and filesort fixed
      sql/ha_myisam.h:
        bugs with const_tables and filesort fixed
      sql/item_func.cc:
        bugs with const_tables and filesort fixed
      sql/opt_range.cc:
        bugs with const_tables and filesort fixed
      sql/opt_range.h:
        bugs with const_tables and filesort fixed
      sql/share/russian/errmsg.txt:
        translated
      b865c72a
  10. 02 Nov, 2000 1 commit
    • unknown's avatar
      Ill-minded FULLTEXT impilict initialization hack removed. · e735267f
      unknown authored
      From now on FULLTEXT search is initialized expilictly in mysql_select()
      
      
      sql/item_func.cc:
        FULLTEXT expilict initialization
      sql/opt_ft.h:
        FULLTEXT expilict initialization
      sql/opt_range.h:
        FULLTEXT expilict initialization
      sql/ha_myisam.cc:
        FULLTEXT expilict initialization
      sql/ha_myisam.h:
        FULLTEXT expilict initialization
      sql/handler.h:
        FULLTEXT expilict initialization
      sql/item_func.h:
        FULLTEXT expilict initialization
      sql/sql_select.cc:
        FULLTEXT expilict initialization
      myisam/ft_search.c:
        FULLTEXT expilict initialization
      e735267f
  11. 08 Oct, 2000 1 commit
    • unknown's avatar
      Docs/manual.texi · 9e7f2c9f
      unknown authored
          replication updates
      sql/opt_range.h
          fixed compiler warning
      sql/slave.cc
          fixed handling of long usernames
          fixed insert_id + query log event processing atomicity in the case
          of slave death
          fix edcharset coversion to not be global to all threads
      sql/sql_class.h
          fix to make insert_id event and the subsequent query event be still processed
          atomically if slave dies in the middle
      sql/sql_select.cc
          temp fix to make it compile 
      repl-tests/test-auto-inc/run.test@1.1
          New BitKeeper file ``repl-tests/test-auto-inc/run.test''
      repl-tests/test-auto-inc/x.master@1.1
          New BitKeeper file ``repl-tests/test-auto-inc/x.master''
      
      
      
      Docs/manual.texi:
        replication updates
      sql/opt_range.h:
        fixed compiler warning
      sql/slave.cc:
        fixed handling of long usernames
        fixed insert_id + query log event processing atomicity in the case
        of slave death
        fix edcharset coversion to not be global to all threads
      sql/sql_class.h:
        fix to make insert_id event and the subsequent query event be still processed
        atomically if slave dies in the middle
      sql/sql_select.cc:
        temp fix to make it compile
      9e7f2c9f
  12. 07 Oct, 2000 1 commit
  13. 31 Jul, 2000 1 commit
    • unknown's avatar
      Import changeset · 84626f52
      unknown authored
      Docs/Flags/australia.eps:
        First import - 3.23.10
      Docs/Flags/australia.gif:
        First import - 3.23.10
      Docs/Flags/australia.txt:
        First import - 3.23.10
      Docs/Flags/austria.eps:
        First import - 3.23.10
      Docs/Flags/austria.gif:
        First import - 3.23.10
      Docs/Flags/austria.txt:
        First import - 3.23.10
      Docs/Flags/brazil.eps:
        First import - 3.23.10
      Docs/Flags/brazil.gif:
        First import - 3.23.10
      Docs/Flags/brazil.txt:
        First import - 3.23.10
      Docs/Flags/bulgaria.eps:
        First import - 3.23.10
      Docs/Flags/bulgaria.gif:
        First import - 3.23.10
      Docs/Flags/bulgaria.txt:
        First import - 3.23.10
      Docs/Flags/canada.eps:
        First import - 3.23.10
      Docs/Flags/canada.gif:
        First import - 3.23.10
      Docs/Flags/canada.txt:
        First import - 3.23.10
      Docs/Flags/chile.eps:
        First import - 3.23.10
      Docs/Flags/chile.gif:
        First import - 3.23.10
      Docs/Flags/chile.txt:
        First import - 3.23.10
      Docs/Flags/china.eps:
        First import - 3.23.10
      Docs/Flags/china.gif:
        First import - 3.23.10
      Docs/Flags/china.txt:
        First...
      84626f52