1. 18 Feb, 2003 3 commits
    • unknown's avatar
      ha_innodb.cc: · 1dc1f795
      unknown authored
        Add comment about how to modify InnoDB to deal with partial-field prefixes of key value in the future
      
      
      sql/ha_innodb.cc:
        Add comment about how to modify InnoDB to deal with partial-field prefixes of key value in the future
      1dc1f795
    • unknown's avatar
      my_base.h: · 12310f63
      unknown authored
        Add comment about what kind of key value prefixes HA_READ_KEY_PREFIX_LAST etc. allow as a search key
      
      
      include/my_base.h:
        Add comment about what kind of key value prefixes HA_READ_KEY_PREFIX_LAST etc. allow as a search key
      12310f63
    • unknown's avatar
      page0cur.c: · b3fa1d86
      unknown authored
        Prepare for 5.x where HA_READ_PREFIX_LAST may pass only a few first bytes of the last field in a key value
      ha_innodb.cc:
        In 4.0 always assume HA_READ_PREFIX_LAST passes a complete-field prefix of a key value; LIKE queries use a padding trick
      
      
      sql/ha_innodb.cc:
        In 4.0 always assume HA_READ_PREFIX_LAST passes a complete-field prefix of a key value; LIKE queries use a padding trick
      innobase/page/page0cur.c:
        Prepare for 5.x where HA_READ_PREFIX_LAST may pass only a few first bytes of the last field in a key value
      b3fa1d86
  2. 17 Feb, 2003 2 commits
    • unknown's avatar
      Merge abelkin@work.mysql.com:/home/bk/mysql-4.0 · 65508b65
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/mysql-4.0
      
      
      65508b65
    • unknown's avatar
      Fixed multi-table-delete for InnoDB tables · 300b3fb6
      unknown authored
      Novell patches
      
      
      Makefile.am:
        Novell patch
      client/mysql.cc:
        Novell patch
      configure.in:
        Novell patch
      extra/mysql_waitpid.c:
        Novell patch
      include/my_pthread.h:
        Novell patch
      include/mysql.h:
        Novell patch
      libmysql/libmysql.c:
        Novell patch
      libmysqld/libmysqld.c:
        Novell patch
      mysql-test/mysql-test-run.sh:
        Don't use running server with --valgrind
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000004.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/std_data/words.dat:
        Added more words to make type_blob test relevant
      mysql-test/t/innodb.test:
        test of multi-table-delete
      mysql-test/t/rpl000001.test:
        Update for new word file
      mysql-test/t/type_blob.test:
        Test if BLOB IS NULL on NOT NULL column
      mysys/my_init.c:
        Novell patch
      mysys/my_netware.c:
        Novell patch
      netware/Makefile.am:
        Novell patch
      netware/init_db.sql:
        Novell patch
      netware/isamchk.def:
        Novell patch
      netware/isamlog.def:
        Novell patch
      netware/libmysql.def:
        Novell patch
      netware/my_print_defaults.def:
        Novell patch
      netware/myisamchk.def:
        Novell patch
      netware/myisamlog.def:
        Novell patch
      netware/myisampack.def:
        Novell patch
      netware/mysql.def:
        Novell patch
      netware/mysql_install_db.c:
        Novell patch
      netware/mysql_install_db.def:
        Novell patch
      netware/mysql_test_run.def:
        Novell patch
      netware/mysqladmin.def:
        Novell patch
      netware/mysqlbinlog.def:
        Novell patch
      netware/mysqlcheck.def:
        Novell patch
      netware/mysqld_safe.c:
        Novell patch
      netware/mysqldump.def:
        Novell patch
      netware/mysqlimport.def:
        Novell patch
      netware/mysqlshow.def:
        Novell patch
      netware/mysqltest.def:
        Novell patch
      netware/pack_isam.def:
        Novell patch
      netware/perror.def:
        Novell patch
      netware/replace.def:
        Novell patch
      netware/resolveip.def:
        Novell patch
      netware/test_db.sql:
        Novell patch
      scripts/make_binary_distribution.sh:
        Novell patch
      sql/item_cmpfunc.h:
        Optimization of 'IS NULL'
      sql/mysql_priv.h:
        Code cleanup
      sql/mysqld.cc:
        Novell patch
      sql/net_pkg.cc:
        Code cleanup
      sql/records.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_delete.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_handler.cc:
        Code cleanup
      sql/sql_table.cc:
        Code cleanup
      sql/structs.h:
        Fixed multi-table-delete for InnoDB tables
      300b3fb6
  3. 16 Feb, 2003 3 commits
  4. 14 Feb, 2003 1 commit
  5. 12 Feb, 2003 9 commits
  6. 11 Feb, 2003 2 commits
    • unknown's avatar
      backporting Peter's fix for better RAND() initialization from 4.0 · 02132f55
      unknown authored
      
      sql/sql_class.cc:
        backporting Peter's fix for better RAND() initialization from 4.0
        to see what it does try
        perl -e 'while($N=shift) { printf "N=%-10d",$N; @b=@c=(); for (1..$N) { @A=split(" ",`mysql -BNe "select rand(), rand(), rand(), rand()"`); for(0..3) { $b[$_]+=$a[$_]; $c[$_]+=$a[$_]*$a[$_]; }} for (0..3) { printf "%15.14f ",($c[$_]-$b[$_]*$b[$_]/$N)/$N } print "\n" }' 10 10 10 100 100 10 100 1000
        before and after the fix
      02132f55
    • unknown's avatar
      (please merge into 4.1 and onwards) · b16e8d58
      unknown authored
      - re-added missing pre- and post(un)install scripts to server subpackage
      - added config file /etc/my.cnf to the file list (just for completeness)
      - make sure to create the datadir with 755 permissions
      
      
      support-files/mysql.spec.sh:
        - re-added missing pre- and post(un)install scripts to server subpackage
        - added config file /etc/my.cnf to the file list (just for completeness)
        - make sure to create the datadir with 755 permissions
      b16e8d58
  7. 10 Feb, 2003 5 commits
  8. 09 Feb, 2003 1 commit
  9. 08 Feb, 2003 1 commit
  10. 07 Feb, 2003 11 commits
  11. 06 Feb, 2003 2 commits
    • unknown's avatar
      page0cur.c: · b2f8f07d
      unknown authored
        Sinisas patch to InnoDB ORDER BY DESC bug, push it now so that Jani has it available
      
      
      innobase/page/page0cur.c:
        Sinisas patch to InnoDB ORDER BY DESC bug, push it now so that Jani has it available
      b2f8f07d
    • 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