1. 29 Nov, 2002 1 commit
    • unknown's avatar
      New multi-table-update code · 7908c8d4
      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
      7908c8d4
  2. 25 Nov, 2002 2 commits
    • unknown's avatar
      mysql.server.sh: · e450a665
      unknown authored
       - reverted some incompatible/non-portable modifications
      
      
      support-files/mysql.server.sh:
         - reverted some incompatible/non-portable modifications
      e450a665
    • unknown's avatar
      Merge lgrimmer@work.mysql.com:/home/bk/mysql-4.0 · 38b0323f
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      support-files/mysql.server.sh:
        Auto merged
      38b0323f
  3. 24 Nov, 2002 6 commits
    • unknown's avatar
      Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 · f1feac4f
      unknown authored
      
      sql/opt_range.cc:
        Auto merged
      f1feac4f
    • unknown's avatar
      Updated results after merge from 3.23 · 28068846
      unknown authored
      28068846
    • unknown's avatar
      merge with 3.23 to get bugfixes for <=> NULL and --bind-address · 2ca9b2f1
      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
      2ca9b2f1
    • unknown's avatar
      Rewrote nice handling to make more portable · 5bd83398
      unknown authored
      5bd83398
    • unknown's avatar
      Added new ANSI functions LOCALTIME, LOCALTIMESTAMP and CURRENT_USER · 1f12631c
      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.
      1f12631c
    • unknown's avatar
      Merge lgrimmer@work.mysql.com:/home/bk/mysql-4.0 · fe561dd8
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      fe561dd8
  4. 23 Nov, 2002 2 commits
  5. 22 Nov, 2002 8 commits
    • unknown's avatar
      mysql.server: · 97737793
      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
      97737793
    • unknown's avatar
      scripts/safe_mysqld.sh · 89f564e1
      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
      89f564e1
    • unknown's avatar
      Merge lgrimmer@work.mysql.com:/home/bk/mysql · 7cf43e37
      unknown authored
      into mysql.com:/space/my/mysql-3.23
      
      7cf43e37
    • unknown's avatar
      ut0mem.c: · 76b90f50
      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
      76b90f50
    • unknown's avatar
      Moved test to correct file · 8fbf1f8e
      unknown authored
      8fbf1f8e
    • unknown's avatar
      reverting a change · 105219e1
      unknown authored
      105219e1
    • unknown's avatar
      Merge work:/home/bk/mysql into mashka.mysql.fi:/home/my/mysql-3.23 · e42c72e2
      unknown authored
      
      sql/mysqld.cc:
        Auto merged
      e42c72e2
    • unknown's avatar
      Fixed bug with indexed NULL column <=> NULL · fda517b6
      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
      fda517b6
  6. 21 Nov, 2002 10 commits
    • unknown's avatar
      Merge abelkin@work.mysql.com:/home/bk/mysql-4.0 · c5e24cc2
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/mysql-4.0
      
      c5e24cc2
    • unknown's avatar
      fixed invalidation of query cache · 51828aa9
      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
      51828aa9
    • unknown's avatar
      configure.in: · 1f265f3f
      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"...
      1f265f3f
    • unknown's avatar
      configure.in: · a30819bc
      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)
      a30819bc
    • unknown's avatar
      A fix for the bug with: · 82532f2e
      unknown authored
      delete from table where column<=>NULL 
      on indexed columns
      
      82532f2e
    • unknown's avatar
      Merge lgrimmer@work.mysql.com:/home/bk/mysql · c8e7c8ce
      unknown authored
      into mysql.com:/space/my/mysql-3.23
      
      c8e7c8ce
    • unknown's avatar
      fix error in result · 6061a359
      unknown authored
      
      mysql-test/r/func_test.result:
        Fixing the error in result
      6061a359
    • unknown's avatar
      A fix for --bind-address=hostname · 8bd71ab1
      unknown authored
      8bd71ab1
    • unknown's avatar
      merge with 3.23 · 293d5c6e
      unknown authored
      
      innobase/row/row0mysql.c:
        Auto merged
      293d5c6e
    • unknown's avatar
  7. 20 Nov, 2002 6 commits
    • unknown's avatar
      Do-compile: · 94ac28e0
      unknown authored
       - applied some changes from the 4.0 tree (enable multiple 
         --conf-environment options, add --with-debug, don't add "-max"
         prefix just because BDB is enabled)
      
      
      Build-tools/Do-compile:
         - applied some changes from the 4.0 tree (enable multiple 
           --conf-environment options, add --with-debug, don't add "-max"
           prefix just because BDB is enabled)
      94ac28e0
    • unknown's avatar
    • unknown's avatar
      Try to optimize the cache buffer size needed for bulk_insert · 61eb4ca1
      unknown authored
      Fix for shutdown on Mac OS X
      
      
      include/my_tree.h:
        Try to optimize the cache buffer size needed for bulk_insert
      myisam/mi_write.c:
        Try to optimize the cache buffer size needed for bulk_insert
      mysql-test/r/bdb.result:
        Make test repeatable
      mysql-test/t/bdb.test:
        Make test repeatable
      mysys/tree.c:
        Try to optimize the cache buffer size needed for bulk_insert
      sql/mysql_priv.h:
        Small optimization
      sql/mysqld.cc:
        Fix for shutdown on Mac OS X
      sql/sql_insert.cc:
        Try to optimize the cache buffer size needed for bulk_insert
      sql/sql_yacc.yy:
        Call thd->strmake() instead of sql_strmake()
      sql/table.cc:
        Try to optimize the cache buffer size needed for bulk_insert
      sql/table.h:
        Try to optimize the cache buffer size needed for bulk_insert
      61eb4ca1
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 7fff8afe
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      7fff8afe
    • unknown's avatar
      bug in _ftb_strstr fixed :) · bbeeee13
      unknown authored
      bbeeee13
    • unknown's avatar
      Merge sinisa@work.mysql.com:/home/bk/mysql · 73b84706
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql
      
      73b84706
  8. 19 Nov, 2002 5 commits
    • unknown's avatar
      set_var.cc: · fcc9cce4
      unknown authored
        Fix potential bus error in 64-bit computers in SHOW VARIABLES, if int is only 32-bit in them
      
      
      sql/set_var.cc:
        Fix potential bus error in 64-bit computers in SHOW VARIABLES, if int is only 32-bit in them
      fcc9cce4
    • unknown's avatar
      Merge lgrimmer@work.mysql.com:/home/bk/mysql · a1f6b377
      unknown authored
      into mysql.com:/space/my/mysql-3.23
      
      a1f6b377
    • unknown's avatar
      ha_innobase.cc: · 568db866
      unknown authored
        Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
      
      
      sql/ha_innobase.cc:
        Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
      568db866
    • unknown's avatar
      row0mysql.c, row0mysql.h: · 47476aec
      unknown authored
        Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
      
      
      innobase/include/row0mysql.h:
        Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
      innobase/row/row0mysql.c:
        Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
      47476aec
    • unknown's avatar
      row0mysql.c, row0mysql.h, ha_innodb.cc, sql_table.cc, handler.h: · 1f3c20d3
      unknown authored
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      
      
      sql/handler.h:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      sql/sql_table.cc:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      sql/ha_innodb.cc:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      innobase/include/row0mysql.h:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      innobase/row/row0mysql.c:
        Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
      1f3c20d3