1. 30 Nov, 2002 1 commit
    • unknown's avatar
      Fixed some bugs from last multi-table-update push. · b22dc24c
      unknown authored
      More tests for multi-table-update & timestamp handling
      
      
      mysql-test/r/innodb.result:
        New multi-table-update tests
      mysql-test/r/multi_update.result:
        New multi-table-update tests
      mysql-test/r/type_timestamp.result:
        New timestamp tests
      mysql-test/t/innodb.test:
        New multi-table-update tests
      mysql-test/t/multi_update.test:
        New multi-table-update tests
      mysql-test/t/type_timestamp.test:
        New timestamp tests
      sql/sql_select.cc:
        Fixed bug in safe mode checking
      sql/sql_update.cc:
        Fixed bug in autocommit in multi-table-update
      b22dc24c
  2. 29 Nov, 2002 5 commits
    • unknown's avatar
      Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 · fdc094f5
      unknown authored
      
      sql/sql_yacc.yy:
        Auto merged
      fdc094f5
    • unknown's avatar
      New multi-table-update code · 46536219
      unknown authored
      New (simpler) internal timestamp handling.
      More debuging to heap tables.
      Small cleanups to multi-table-delete
      false -> 0 and true -> 1  (We should use TRUE and FALSE)
      
      
      heap/_check.c:
        Added checking of rows
      heap/hp_delete.c:
        Extra debugging
      heap/hp_scan.c:
        Extra debugging
      heap/hp_update.c:
        Extra debugging
      heap/hp_write.c:
        Extra debugging
      include/my_base.h:
        Added option to disable row cache when using updates
      isam/extra.c:
        Added option to disable row cache when using updates
      myisam/mi_check.c:
        Comment cleanup
      myisam/mi_extra.c:
        Added option to disable row cache when using updates
      myisam/sort.c:
        Indentaion cleanups
      myisammrg/myrg_extra.c:
        Added option to disable row cache when using updates
      mysql-test/r/multi_update.result:
        Updated results
      mysql-test/t/multi_update.test:
        Cleanup up to only use table names t1, t2,...
      mysys/mf_iocache.c:
        Safety fix
      sql/item_cmpfunc.cc:
        change true-> 1 and false -> 0
      sql/mysql_priv.h:
        Cleaned up SQL_LIST handling
      sql/sql_base.cc:
        Fixed grant checking if SELECT tablename.*
      sql/sql_class.h:
        Cleaned up multi-table-update
      sql/sql_delete.cc:
        Fixed OPTION_SAFE_UPDATE checking in multi-table-delete.
        Fixed query-cache invalidation in multi-table-delete
      sql/sql_insert.cc:
        cleaned up timestamp handling
      sql/sql_olap.cc:
        false -> 0
      sql/sql_parse.cc:
        Optimized some list handling.
        Moved multi-table-update to sql_update.cc
      sql/sql_select.cc:
        More comments
        Fixed create_tmp_table for multi-table-update
      sql/sql_select.h:
        New prototypes
      sql/sql_union.cc:
        false -> 0
        Cleaned up timestamp handling
      sql/sql_update.cc:
        New multi-update-table code
      sql/sql_yacc.yy:
        false -> 0, true -> 1
        Optimized some list handling
      sql/table.h:
        Added union for temporary values.
        Made shared int to be able to store counters.
      sql/uniques.cc:
        Indentation cleanup
      46536219
    • unknown's avatar
      Merge akishkin@work.mysql.com:/home/bk/mysql-4.0 · 4514f0b0
      unknown authored
      into mysql.com:/home/walrus/bk/40
      
      
      4514f0b0
    • unknown's avatar
      improvement crash-me · 469e0b32
      unknown authored
      
      BitKeeper/etc/ignore:
        Added core.2430 to the ignore list
      sql-bench/crash-me.sh:
        1) restore #!@PERL@ that I (accidentally) deleted  last time
        2) comment order_by_remember_desc section
        3) rectify WEEK test. Now it returns "EURO" ,"USA", "error" (if it returns 
        wrong week number), or "no" (if this function isn't supported)
        4) merge 2 tests for noround() (func_extra_noround and ignoring_noround). 
         Now it returns yes/no/"syntax only"
        5) merge 2 tests for foreign key (foreign_key and foreign_key_syntax). Now it
         returns yes/no/"syntax only"
        6) correct misprint in crash-me help ( --db-start-cmd instead of --start-cmd)
      sql-bench/server-cfg.sh:
        Misprint correction (db_Sapdb ->db_sapdb)
      469e0b32
    • unknown's avatar
      ha_innodb.cc: · 7989f285
      unknown authored
        Make copies of all string-type start/up options in case C-sharp moves them around; remove the need to specify innodb_log_arch_dir in my.cnf, since it has no relevance anyway
      
      
      sql/ha_innodb.cc:
        Make copies of all string-type start/up options in case C-sharp moves them around; remove the need to specify innodb_log_arch_dir in my.cnf, since it has no relevance anyway
      7989f285
  3. 28 Nov, 2002 5 commits
  4. 27 Nov, 2002 1 commit
    • unknown's avatar
      Add the ChangeSet id to Subject: in all emails. · 6a7f6fef
      unknown authored
      
      BitKeeper/etc/ignore:
        Added autom4te-2.53.cache/output.0 autom4te-2.53.cache/requests autom4te-2.53.cache/traces.0 bdb/dist/autom4te-2.53.cache/output.0 bdb/dist/autom4te-2.53.cache/requests bdb/dist/autom4te-2.53.cache/traces.0 bkpull.log build.log innobase/autom4te-2.53.cache/output.0 innobase/autom4te-2.53.cache/requests innobase/autom4te-2.53.cache/traces.0 pull.log to the ignore list
      6a7f6fef
  5. 26 Nov, 2002 2 commits
    • unknown's avatar
      add sapdb section into server-cfg, add a lot of new function and tests into crash-me · b3975229
      unknown authored
      
      sql-bench/crash-me.sh:
        - If double double quotes are allowed in identifiers. 
        - Rollback rolls back meta data
        - NULL sort and NULL sort perserve. 
        - remove one check of "serial".   
        - (Column,Table,Named constraints) new test to crash me if the check syntax is 
          only supported by the parser, but not done for real.
        - For all ..USER tests, (like current_user), add an extra test if
          ...USER() is supported.                                   
        - Add tests for constants TRUE and FALSE                     
        - Add test of LIMIT # OFFSET (PostgreSQL syntax) 
        - add test a lot of new functions
      sql-bench/server-cfg.sh:
        add sapdb section
      b3975229
    • unknown's avatar
      - Updated to Marcs latest version from entropy.ch · 962cedf2
      unknown authored
      
      support-files/make_mysql_pkg.pl:
        make_mysql_pkg.pl
        
         - Updated to Marcs latest version from entropy.ch
      962cedf2
  6. 25 Nov, 2002 2 commits
    • unknown's avatar
      mysql.server.sh: · 7d2d7e3f
      unknown authored
       - reverted some incompatible/non-portable modifications
      
      
      support-files/mysql.server.sh:
         - reverted some incompatible/non-portable modifications
      7d2d7e3f
    • unknown's avatar
      Merge lgrimmer@work.mysql.com:/home/bk/mysql-4.0 · e2382636
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      support-files/mysql.server.sh:
        Auto merged
      e2382636
  7. 24 Nov, 2002 6 commits
    • unknown's avatar
      Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 · be5d04e8
      unknown authored
      
      sql/opt_range.cc:
        Auto merged
      be5d04e8
    • unknown's avatar
      Updated results after merge from 3.23 · 79cdd877
      unknown authored
      79cdd877
    • unknown's avatar
      merge with 3.23 to get bugfixes for <=> NULL and --bind-address · 18ca5c4d
      unknown authored
      
      Build-tools/Do-compile:
        Auto merged
      mysql-test/r/func_test.result:
        Auto merged
      mysql-test/t/func_test.test:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      mysql-test/t/null_key.test:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Ignore changes from 3.23
      mysql-test/r/func_time.result:
        Update results
      mysql-test/r/null_key.result:
        Update results
      scripts/mysqld_safe.sh:
        Don't apply NICE handling change from 3.23
      sql/mysqld.cc:
        merge
      sql/opt_range.cc:
        merge
      support-files/mysql.server.sh:
        Don't apply changes from 3.23
      18ca5c4d
    • unknown's avatar
      Rewrote nice handling to make more portable · bb948c63
      unknown authored
      bb948c63
    • unknown's avatar
      Added new ANSI functions LOCALTIME, LOCALTIMESTAMP and CURRENT_USER · 72da2e4c
      unknown authored
      Added CEIL as an alias for CEILING
      Cleaned up CHECK constraint handling.
      (We don't anymore require braces after CHECK)
      Added casting to CHAR.
      
      
      mysql-test/r/bigint.result:
        Moved casting test to cast.test
      mysql-test/r/func_time.result:
        Test of new functions
      mysql-test/t/bigint.test:
        Moved casting test to cast.test
      mysql-test/t/func_time.test:
        Test of new functions
      sql/item_create.cc:
        Added casting to CHAR
      sql/item_func.h:
        Added casting to CHAR
      sql/item_timefunc.h:
        Added casting to CHAR
      sql/lex.h:
        Added new ANSI functions LOCALTIME, LOCALTIMESTAMP and CURRENT_USER
        Added CEIL as an alias for CEILING
      sql/sql_yacc.yy:
        Cleaned up CHECK constraint handling.
      72da2e4c
    • unknown's avatar
      Merge lgrimmer@work.mysql.com:/home/bk/mysql-4.0 · e862bb3a
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      e862bb3a
  8. 23 Nov, 2002 2 commits
  9. 22 Nov, 2002 8 commits
    • unknown's avatar
      mysql.server: · dbccc041
      unknown authored
       - fixed some typos and wording (merged from 3.23 tree)
       - fixed parsing the correct section in /etc/my.cnf ([mysql_server] ->
         [mysql.server]) as documented in the manual
      
      
      support-files/mysql.server.sh:
         - fixed some typos and wording (merged from 3.23 tree)
         - fixed parsing the correct section in /etc/my.cnf ([mysql_server] ->
           [mysql.server]) as documented in the manual
      dbccc041
    • unknown's avatar
      scripts/safe_mysqld.sh · 3853ff4d
      unknown authored
           - fix setting of niceness level
      
      support-files/mysql.server.sh
           - applied some fixes from 4.0 mysql.server script
           - fix my.cnf parsing
      
      
      scripts/safe_mysqld.sh:
         - fix setting of niceness level, if one adds "renice -20 $$" to safe_mysqld
           as hinted in the manual (which could result in NOHUP_NICENESS having a
           value of "-15" and hence there would be one dash too much)
      support-files/mysql.server.sh:
         - applied some fixes from 4.0 mysql.server script
         - fix to actually parse the documented section ([mysql.server] not
           [mysql_server]) in my.cnf on startup
      3853ff4d
    • unknown's avatar
      Merge lgrimmer@work.mysql.com:/home/bk/mysql · a073857c
      unknown authored
      into mysql.com:/space/my/mysql-3.23
      
      
      a073857c
    • unknown's avatar
      ut0mem.c: · fa76afe6
      unknown authored
        Flush stderr if we run out of memory, so that the error message more probably finds its way to the error log
      
      
      innobase/ut/ut0mem.c:
        Flush stderr if we run out of memory, so that the error message more probably finds its way to the error log
      fa76afe6
    • unknown's avatar
      Moved test to correct file · 001446d9
      unknown authored
      001446d9
    • unknown's avatar
      reverting a change · 89083f2d
      unknown authored
      89083f2d
    • unknown's avatar
      Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23 · 4698a8f3
      unknown authored
      
      sql/mysqld.cc:
        Auto merged
      4698a8f3
    • unknown's avatar
      Fixed bug with indexed NULL column <=> NULL · cb5a2b2f
      unknown authored
      Fix for Mac OS X shutdown
      
      
      mysql-test/mysql-test-run.sh:
        Log client error messages
      mysql-test/r/null_key.result:
        Test for bug in <=> NULL
      mysql-test/t/null_key.test:
        Test for bug in <=> NULL
      sql/mysqld.cc:
        Fix for Mac OS X shutdown
      sql/opt_range.cc:
        Fixed bug with indexed NULL column <=> NULL
      cb5a2b2f
  10. 21 Nov, 2002 8 commits
    • unknown's avatar
      Merge abelkin@work.mysql.com:/home/bk/mysql-4.0 · 76ea57bc
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/mysql-4.0
      
      
      76ea57bc
    • unknown's avatar
      fixed invalidation of query cache · 03ac294c
      unknown authored
      excluded double call of 'invalidate()'
      
      
      mysql-test/r/innodb_cache.result:
        test of invalidation
      mysql-test/t/innodb_cache.test:
        test of invalidation
      sql/handler.cc:
        excluded double call of 'invalidate()'
      sql/sql_delete.cc:
        fixed invalidation of query cache
      sql/sql_insert.cc:
        fixed invalidation of query cache
      sql/sql_update.cc:
        fixed invalidation of query cache
      03ac294c
    • unknown's avatar
      configure.in: · b473d7d6
      unknown authored
       - actually follow the hints in the comment above and "Remember that 
         regexps needs to quote [ and ] since this is run through m4"...
      
      
      configure.in:
         - actually follow the hints in the comment above and "Remember that 
           regexps needs to quote [ and ] since this is run through m4"...
      b473d7d6
    • unknown's avatar
      configure.in: · 9a2ac08b
      unknown authored
       - fix MYSQL_NO_DASH_VERSION if version number ends on one digit only
         ("comment" test failed when MySQL version was changed from 4.0.5
         to 4.0.5a)
      
      
      configure.in:
         - fix MYSQL_NO_DASH_VERSION if version number ends on one digit only
           ("comment" test failed when MySQL version was changed from 4.0.5
           to 4.0.5a)
      9a2ac08b
    • unknown's avatar
      A fix for the bug with: · a3a99fc7
      unknown authored
      delete from table where column<=>NULL 
      on indexed columns
      
      
      a3a99fc7
    • unknown's avatar
      Merge lgrimmer@work.mysql.com:/home/bk/mysql · e2886884
      unknown authored
      into mysql.com:/space/my/mysql-3.23
      
      
      e2886884
    • unknown's avatar
      fix error in result · 6f5b38b9
      unknown authored
      
      mysql-test/r/func_test.result:
        Fixing the error in result
      6f5b38b9
    • unknown's avatar
      A fix for --bind-address=hostname · d0236e30
      unknown authored
      d0236e30