1. 12 Jan, 2002 1 commit
    • unknown's avatar
      Added support of null keys in HEAP tables · 71a5af5b
      unknown authored
      Added ORDER BY optimization
      
      
      Docs/manual.texi:
        Added ORDER BY optimisation section
      heap/_check.c:
        Cleanup
      heap/heapdef.h:
        Added support of null keys in HEAP tables
      heap/hp_hash.c:
        Added support of null keys in HEAP tables
      heap/hp_open.c:
        Added support of null keys in HEAP tables
      heap/hp_test2.c:
        Added support of null keys in HEAP tables
      heap/hp_write.c:
        Added support of null keys in HEAP tables
      include/heap.h:
        Added support of null keys in HEAP tables
      include/my_base.h:
        Support for hash algoritm
      isam/static.c:
        Cleanup
      myisam/mi_static.c:
        Cleanup
      sql/Makefile.am:
        Rename innobase -> innodb
      sql/ha_berkeley.cc:
        Added ORDER BY optimization
      sql/ha_berkeley.h:
        Added ORDER BY optimization
      sql/ha_heap.cc:
        Added support for NULL keys
      sql/ha_heap.h:
        Added support for NULL keys
      sql/ha_isam.cc:
        Added ORDER BY optimization
      sql/ha_isam.h:
        Added ORDER BY optimization
      sql/ha_isammrg.h:
        Added ORDER BY optimization
      sql/ha_myisam.cc:
        Added ORDER BY optimization
      sql/ha_myisam.h:
        Added ORDER BY optimization
      sql/ha_myisammrg.cc:
        Added ORDER BY optimization
      sql/ha_myisammrg.h:
        Added ORDER BY optimization
      sql/handler.cc:
        Rename innobase -> innodb
      sql/handler.h:
        Rename innobase -> innodb
      sql/ha_innodb.cc:
        Rename innobase -> innodb
      sql/ha_innodb.h:
        Rename innobase -> innodb
      sql/mysqld.cc:
        Rename innobase -> innodb
      sql/sql_delete.cc:
        Rename innobase -> innodb
      sql/sql_select.cc:
        Added ORDER BY optimization
      sql/sql_select.h:
        Added ORDER BY optimization
      71a5af5b
  2. 06 Jan, 2002 1 commit
  3. 05 Jan, 2002 1 commit
    • unknown's avatar
      Fix for FLUSH QUERY CACHE · e9b750d1
      unknown authored
      Fix for new bug in CREATE TABLE when sorting keys.
      
      
      Docs/manual.texi:
        Added FOUND_ROWS() section.
      include/my_base.h:
        Spatial index
      include/myisam.h:
        Spatial index
      include/mysql_com.h:
        Spatial index
      myisam/ft_dump.c:
        Remove warnings.
      mysys/hash.c:
        Fix for SUNPRO_C (Sun's Fortre compiler)
      sql/sql_cache.cc:
        Fix for FLUSH QUERY CACHE.
      sql/sql_cache.h:
        Fix for FLUSH QUERY CACHE.
      sql/sql_table.cc:
        Fix for new bug when sorting keys.
      e9b750d1
  4. 03 Jan, 2002 4 commits
  5. 02 Jan, 2002 8 commits
    • unknown's avatar
      New CAST syntax · b79170b7
      unknown authored
      Cleanup of multi-table-delete in sql_yacc.yy
      Changed syntax of MAXIMUM QUERIES PER HOUR to MAX_QUERIES_PER_HOUR to
      not get too many reserved words.
      
      
      Docs/manual.texi:
        Updated information about CAST
      mysql-test/r/bigint.result:
        New CAST syntax
      mysql-test/r/create.result:
        New CAST syntax
      mysql-test/r/variables.result:
        Fix after merge with 3.23
      mysql-test/t/bigint.test:
        New CAST syntax
      mysql-test/t/create.test:
        New CAST syntax
      sql/item_create.cc:
        New CAST syntax
      sql/item_func.h:
        New CAST syntax
      sql/item_timefunc.cc:
        New CAST syntax
      sql/item_timefunc.h:
        New CAST syntax
      sql/lex.h:
        Changed syntax to MAX_QUERIES_PER_HOUR to not get too many reserved words.
      sql/mysql_priv.h:
        Cleanup multi-delete
      sql/sql_parse.cc:
        Cleanup multi-delete
      sql/sql_yacc.yy:
        Cleanup multi-delete.
        New CAST syntax.
        Removed some restricted words.
      b79170b7
    • unknown's avatar
      merge · 301cdf9f
      unknown authored
      
      Docs/manual.texi:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      301cdf9f
    • unknown's avatar
      merge with 3.23 · 62c4fa39
      unknown authored
      
      BitKeeper/deleted/.del-global.h~e80d28157acfdcb5:
        Auto merged
      Docs/manual.texi:
        Auto merged
      client/client_priv.h:
        Auto merged
      extra/resolveip.c:
        Auto merged
      innobase/btr/btr0sea.c:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/rem/rem0cmp.c:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      mysys/my_bitmap.c:
        Auto merged
      sql/ha_innobase.cc:
        Auto merged
      sql/ha_innobase.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_do.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      client/mysqldump.c:
        Use local version in 4.0
      configure.in:
        Use 4.0 code
      62c4fa39
    • unknown's avatar
      Added macros for nice TIMESPEC usage. · f4fee3d9
      unknown authored
      Fixes for building MySQL with gcc 3.0
      Added SIGNED / UNSIGNED casts
      Fixed core dump bug in net_clear() with libmysqld.
      Back to using semaphores in query cache.
      Added 'Null' and 'Index_type' to SHOW INDEX.
      
      
      BUILD/FINISH.sh:
        Fixes for gcc 3.0
      BUILD/SETUP.sh:
        Fixes for gcc 3.0
      Docs/manual.texi:
        Changelog + SIGNED/UNSIGNED casts.
      Makefile.am:
        include BUILD scripts in source distribution.
      client/Makefile.am:
        Fixes for gcc 3.0
      client/mysql.cc:
        Cleanup
      client/mysqldump.c:
        Changed 'K' to mean 'disable-keys' instead of 'no-disabled-keys'
      client/readline.cc:
        Cleanup
      configure.in:
        Include BUILD in source distrbution
      extra/my_print_defaults.c:
        Cleanup
      include/my_global.h:
        Fix for HPUX and setrlimit.
        Portability fix.
        Added macros for nice TIMESPEC usage.
      innobase/include/dyn0dyn.h:
        Fix for AIX
      libmysql/Makefile.shared:
        Added strxmov to libmysqld
      libmysqld/examples/Makefile.am:
        Fixes for gcc 3.0
      libmysqld/lib_vio.c:
        Cleanup
      myisam/ft_dump.c:
        Portability fixes
      myisam/ftdefs.h:
        Portability fixes
      mysql-test/r/bdb.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/bigint.result:
        New test for SIGNED/UNSIGNED
      mysql-test/r/fulltext.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/heap.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/innodb.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/isam.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/key.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/myisam.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/query_cache.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/select.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/show_check.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/r/type_ranges.result:
        Cleanup results after adding 2 columns to SHOW KEYS
      mysql-test/t/bigint.test:
        New test for SIGNED/UNSIGNED
      mysql-test/t/key.test:
        New test for SIGNED/UNSIGNED
      mysql-test/t/query_cache.test:
        Test for FOUND_ROWS()
      sql-bench/crash-me.sh:
        Safety fixes
      sql/derror.cc:
        Cleanup
      sql/ha_berkeley.h:
        New test for SIGNED/UNSIGNED
      sql/ha_heap.h:
        New test for SIGNED/UNSIGNED
      sql/ha_innobase.cc:
        New test for SIGNED/UNSIGNED
      sql/ha_innobase.h:
        New test for SIGNED/UNSIGNED
      sql/ha_isam.h:
        New test for SIGNED/UNSIGNED
      sql/ha_myisam.cc:
        New test for SIGNED/UNSIGNED
      sql/ha_myisam.h:
        New test for SIGNED/UNSIGNED
      sql/handler.h:
        New test for SIGNED/UNSIGNED
      sql/item_func.cc:
        Cleanup TIMESPEC usage
      sql/item_func.h:
        Added SIGNED / UNSIGNED casts
      sql/lex.h:
        Added SIGNED / UNSIGNED casts
      sql/mysqld.cc:
        Cleanup TIMESPEC usage
      sql/net_pkg.cc:
        Cleanup
      sql/net_serv.cc:
        Fixed core dump bug in net_clear()
      sql/slave.cc:
        Cleanup
      sql/sql_cache.cc:
        Back to using semaphores
      sql/sql_cache.h:
        Back to using semaphores
      sql/sql_insert.cc:
        Cleanup TIMESPEC usage
      sql/sql_manager.cc:
        Cleanup TIMESPEC usage
      sql/sql_parse.cc:
        Cleanup
      sql/sql_repl.cc:
        Cleanup TIMESPEC usage
      sql/sql_show.cc:
        Added 'Null' and 'Index_type' to SHOW INDEX.
      sql/sql_table.cc:
        Sort keys in table in a more logical order.
      sql/sql_yacc.yy:
        Support for SIGNED/UNSIGNED casts.
      f4fee3d9
    • unknown's avatar
      fixing query cache validator · b4749536
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      b4749536
    • unknown's avatar
      Removed Heikki's changes to the manual that was meant for 4.0 · 38e174cc
      unknown authored
      
      configure.in:
        Update to 3.23.48
      38e174cc
    • unknown's avatar
      Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql · 7e0fa9b6
      unknown authored
      
      Docs/manual.texi:
        Auto merged
      7e0fa9b6
    • unknown's avatar
      Backport of mysqldump from 4.0 · db528bfc
      unknown authored
      
      Docs/manual.texi:
        Cleanup
      include/global.h:
        Portability fix
      db528bfc
  6. 31 Dec, 2001 1 commit
    • unknown's avatar
      row0mysql.c: · c7552758
      unknown authored
        Remove erroneous warning of a duplicate key when the key in a UNIQUE secondary index contains a NULL
      
      
      innobase/row/row0mysql.c:
        Remove erroneous warning of a duplicate key when the key in a UNIQUE secondary index contains a NULL
      c7552758
  7. 30 Dec, 2001 2 commits
  8. 29 Dec, 2001 7 commits
  9. 27 Dec, 2001 10 commits
    • unknown's avatar
      manual.texi: · 32b5ef2e
      unknown authored
        Add unintentionally removed text
      
      
      Docs/manual.texi:
        Add unintentionally removed text
      32b5ef2e
    • unknown's avatar
      manual.texi: · 8dc5c3c4
      unknown authored
        Make InnoDB startup option samples easier to understand, do not recommend too big log files
      
      
      Docs/manual.texi:
        Make InnoDB startup option samples easier to understand, do not recommend too big log files
      8dc5c3c4
    • unknown's avatar
      manual.texi: · aa43a059
      unknown authored
        Make InnoDB startup option samples easier to understand, recommend not setting log files too big, because recovery slow
      
      
      Docs/manual.texi:
        Make InnoDB startup option samples easier to understand, recommend not setting log files too big, because recovery slow
      aa43a059
    • unknown's avatar
      btr0sea.c: · 62b5dbf9
      unknown authored
        Eliminate a gcc compiler bug in inlining
      
      
      innobase/btr/btr0sea.c:
        Eliminate a gcc compiler bug in inlining
      62b5dbf9
    • unknown's avatar
      New version of mail_to_db.pl · d324d476
      unknown authored
      
      tests/mail_to_db.pl:
        New verision of mail_to_db.pl
      d324d476
    • unknown's avatar
      Made new version of mail_to_db.pl · e0473960
      unknown authored
      
      tests/mail_to_db.pl:
        Fixed a bug in mail_to_db.pl when it couldn't handle
        Mac - type inboxes. Made also output more clear.
      e0473960
    • unknown's avatar
      Portability fix for SCO · 5a7177fd
      unknown authored
      5a7177fd
    • unknown's avatar
      Portability fixes · 31e8b48c
      unknown authored
      
      include/global.h:
        Portability fix for HPUX
      sql/mysqld.cc:
        Add missing declaration.
      31e8b48c
    • unknown's avatar
      14b7e7c9
    • unknown's avatar
      Bugfix for WHERE key=@A OR key=@b · aa3bce07
      unknown authored
      
      Docs/manual.texi:
        Changelog
      sql/sql_select.cc:
        Cleanup
      aa3bce07
  10. 26 Dec, 2001 5 commits
    • unknown's avatar
      os0file.c: · cb25ddd1
      unknown authored
        Make os_file_flush to ignore the error we get from a raw device in fsync
      
      
      innobase/os/os0file.c:
        Make os_file_flush to ignore the error we get from a raw device in fsync
      cb25ddd1
    • unknown's avatar
      Woooo.... · c865e963
      unknown authored
      Now everything compiles and all tests are passed .... ;o)
      
      What a push !
      
      
      c865e963
    • unknown's avatar
      9a00b856
    • unknown's avatar
      Changes for the BitKeeper resolve. · ececdf09
      unknown authored
      One more notice:
      
      limiting number of queries per hour for different users has been done
      on 4.0.1 , but I can port it to 3.23.* 
      
      This will require only certain changes, like number of columns in user
      table.
      
      I will also make a test case for it, after it is approved by Monty, 
      as result file will depend on the error message text.
      
      
      BitKeeper/etc/ignore:
        auto-union
      libmysqld/lib_sql.cc:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/item_timefunc.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_acl.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/lex.h:
        Changes for BitKeeper resolve...
      sql/sql_class.h:
        Changes for BitKeeper resolve...
      sql/sql_lex.h:
        Changes for BitKeeper resolve...
      sql/sql_parse.cc:
        Changes for BitKeeper resolve...
      sql/sql_yacc.yy:
        Changes for BitKeeper resolve...
      ececdf09
    • unknown's avatar
      This is a large push. Included are : · 71ce58a3
      unknown authored
      * multi-table updates
      * new paid feature for limiting number of queries per hour for users
      * optional syntax for multi-table deletes
      * optimization for SQL_CALC_FOUND_ROWS
      * a small addition for CREATE .. SELECT that will be of future use
      
      I know that all this will require many additions to documentation, 
      which I have not done, but I am at Arjen's disposal to help him document
      all this.
      
      
      
      libmysqld/lib_sql.cc:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      mysql-test/r/multi_update.result:
        Change of the result to accomodate multi-table updates
      mysql-test/t/multi_update.test:
        Change in multi-table tests to accomodate multi-table updates
      BitKeeper/etc/ignore:
        Added 50 sql/new.cc to the ignore list
      scripts/mysql_install_db.sh:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/item_timefunc.h:
        This is a small feature that will be of use later in the proper 
        creation of the tables out of CREATE ... SELECT...
        
        Further changes will come after this resolve/push/test passes ..
      sql/lex.h:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/mysql_priv.h:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/mysqld.cc:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/sql_acl.cc:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/sql_acl.h:
        This is a small change required due to new paid feature of limiting 
        number of queries per hour for each user.
      sql/sql_class.h:
        These are changes required for multi-table updates.
      sql/sql_lex.h:
        Changes required for both multi-table updates and limiting number of 
        queries per hour (paid feature).
      sql/sql_parse.cc:
        Ha ! So many changes. 
        
        * multi-table updates
        * limiting number of queries per hour for users
      sql/sql_select.cc:
        Optimisation for SQL_CALC_FOUND_ROWS, when a query involves a single
        table, without WHERE or GROUP clause
      sql/sql_update.cc:
        multi-table updates
      sql/sql_yacc.yy:
        Many things :
        * multi-table updates
        * limiting number of queries per hour for users
        * new optional syntax for multi-table deletes. This one is different 
          from the one demanded by user. USING clause MUST include ALL tables, 
          not just the ones that are used and not deleted from.
      71ce58a3