1. 04 Sep, 2006 7 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 4cd43a1a
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      4cd43a1a
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-opt · 259689f8
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      259689f8
    • unknown's avatar
      Fix problem where mysql-test-run.pl fails to start up the mysqld after a... · 3dd1ef7b
      unknown authored
      Fix problem where mysql-test-run.pl fails to start up the mysqld after a failed test. Shows up on win hosts where one failed test case make subsequent ones fails with error "Could not open connection 'default': 2003 Can't connect to MySQL server on 'localhost'" 
      
      
      mysql-test/lib/mtr_process.pl:
        Reset the associated "pid" of masters and slave when building the list of processes to shutdown.
      3dd1ef7b
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-cmake · b4401f8a
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      b4401f8a
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 2ed26cd7
      unknown authored
      into  maint1.mysql.com:/data/localhome/tnurnberg/my50-21913
      
      
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      2ed26cd7
    • unknown's avatar
      Merge salvation.intern.azundris.com:/home/tnurnberg/21913/my41-21913 · 8ce43f8d
      unknown authored
      into  salvation.intern.azundris.com:/home/tnurnberg/21913/my50-21913
      
      21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
      
      Variable character_set_results can legally be NULL (for "no conversion.")
      This could result in a NULL deref that crashed the server.  Fixed.
      
      (Although ran some additional precursory tests to see whether I could break
      anything else, but no breakage so far.)
      
      
      mysql-test/r/func_time.result:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Prove DATE_FORMAT() no longer crashes the server when character_set_results is
        NULL (which is a legal value and means, "no conversion").
      mysql-test/t/func_time.test:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Prove DATE_FORMAT() no longer crashes the server when character_set_results is
        NULL (which is a legal value and means, "no conversion").
      sql/sql_string.cc:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Avoid NULL deref in my_charset_same() -- if !to_cs, we won't need to compare
        because it is magic for, "no conversion."
      8ce43f8d
    • unknown's avatar
      Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver. · 61718995
      unknown authored
      Variable character_set_results can legally be NULL (for "no conversion.")
      This could result in a NULL deref that crashed the server.  Fixed.
      
      (Although ran some additional precursory tests to see whether I could break
      anything else, but no breakage so far.)
      
      
      mysql-test/r/func_time.result:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Prove DATE_FORMAT() no longer crashes the server when character_set_results is
        NULL (which is a legal value and means, "no conversion").
      mysql-test/t/func_time.test:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Prove DATE_FORMAT() no longer crashes the server when character_set_results is
        NULL (which is a legal value and means, "no conversion").
      sql/sql_string.cc:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Avoid NULL deref in my_charset_same() -- if !to_cs, we won't need to compare
        because it is magic for, "no conversion."
      61718995
  2. 03 Sep, 2006 1 commit
  3. 02 Sep, 2006 5 commits
  4. 01 Sep, 2006 20 commits
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/cmiller/mtr_reorder/my50-mtr_reorder · 7fb745f5
      unknown authored
      into  maint1.mysql.com:/data/localhome/cmiller/mysql-5.0-maint
      
      
      7fb745f5
    • unknown's avatar
      mtr_cases.pl: · 9e145670
      unknown authored
        Provide a more extensible, easier-to-change way of reordering
        test cases.
      
      
      mysql-test/lib/mtr_cases.pl:
        Provide a more extensible, easier-to-change way of reordering
        test cases.
      9e145670
    • unknown's avatar
    • unknown's avatar
      Modification for win subdirectory · 6e9cffa2
      unknown authored
      
      configure.in:
        added win subdir
      6e9cffa2
    • unknown's avatar
      Fixes for crashes and test failures · 5d3e6c27
      unknown authored
      
      scripts/make_win_bin_dist:
        BitKeeper file /home/georg/work/mysql/prod/mysql-5.0-win/scripts/make_win_bin_dist
      client/mysqlbinlog.cc:
        Fix for cmake build: Cmake doesn't use the VC++ files
      extra/comp_err.c:
        fixed windows crash (debug): We can't call DBUG_RETURN after my_end.
      include/my_dbug.h:
        added missing empty define for DBUG_LEAVE to prevent precompiler errors when
        compiling in non_debug mode
      mysql-test/mysql-test-run.pl:
        Added support for new cmake release and debug paths.
      mysql-test/t/system_mysql_db_fix.test:
        This test requires unix shell script mysql_fix_previleges_tables -> skip under windows
      mysys/my_seek.c:
        Fix for windows debug crash. However this solution is bad: we should never
        call lseek with an invalid file pointer.
      sql/ha_archive.cc:
        Fixed windows crash: We need dup in gzdopen to keep the filehandle open,
        otherwise subsequent calls to mysql_close will fail/crash.
      5d3e6c27
    • unknown's avatar
      Fix problem with windows where stderr is not flushed until end of program. · 30eaa0b1
      unknown authored
      
      client/mysqldump.c:
        fflush stderr after writing to it.
      30eaa0b1
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · efa8e330
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.0-bug21477-look-64bit
      
      
      efa8e330
    • unknown's avatar
      BUG#21477 "memory overruns for certain kinds of subqueries": · dd6dc7ad
      unknown authored
      make st_select_lex::setup_ref_array() take into account that 
      Item_sum-descendant objects located within descendant SELECTs
      may be added into ref_pointer_array.
      
      
      sql/item_sum.cc:
        BUG#21477 "memory overruns for certain kinds of subqueries":
        Make SELECT_LEX::n_sum_items contain # of Item_sum-derived objects
        that exist within this SELECT.
      sql/sql_lex.h:
        BUG#21477 "memory overruns for certain kinds of subqueries":
        Add SELECT_LEX::n_sum_items and SELECT_LEXT::n_child_sum_items.
      sql/sql_yacc.yy:
        BUG#21477 "memory overruns for certain kinds of subqueries":
        Make SELECT_LEX::n_sum_items contain # of Item_sum-derived objects
        that exist within this SELECT.
      dd6dc7ad
    • unknown's avatar
      Merge 192.168.0.20:mysql/mysql-5.0-maint · f7e099e0
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      f7e099e0
    • unknown's avatar
      make dist changes for Cmake build · cce4cc25
      unknown authored
      
      libmysql/mytest.c:
        Rename: BitKeeper/deleted/.del-mytest.c -> libmysql/mytest.c
      sql/message.mc:
        BitKeeper file /home/georg/work/mysql/prod/mysql-5.0-win/sql/message.mc
      cce4cc25
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mtr/my50-mtr · c589fe3a
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      c589fe3a
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mtr/my41-mtr · 8f9a867b
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mtr/my50-mtr
      
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/Makefile.am:
        Manual merge 4.1 -> 5.0
      8f9a867b
    • unknown's avatar
      Add target to make "mtr", shortcut for running test suite · 1bb1679c
      unknown authored
      
      BitKeeper/etc/ignore:
        Added mysql-test/mtr to the ignore list
      1bb1679c
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0 · 2c4a003e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      2c4a003e
    • unknown's avatar
      Merge maint2.mysql.com:/data/localhome/tsmith/bk/41 · 5bd9bf55
      unknown authored
      into  maint2.mysql.com:/data/localhome/tsmith/bk/50
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      vio/viosocket.c:
        Auto merged
      client/mysql.cc:
        Manual merge.
      mysql-test/t/ctype_recoding.test:
        Manual merge.
      sql/sql_lex.h:
        SCCS merged
      sql/sql_table.cc:
        Manual merge.
      mysql-test/r/ctype_recoding.result:
        Manual merge
      5bd9bf55
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 5992281d
      unknown authored
      into  rama.(none):/home/jimw/my/mysql-5.0-clean
      
      
      5992281d
    • unknown's avatar
      Restore bug fix lost in merge of client/mysqldump.c, and clean up mysqldump.test · 55c61a6e
      unknown authored
      so that 4.1 and 5.0 tests are all in the right place and no tests are duplicated.
      
      
      client/mysqldump.c:
        Restore fix for bug 21215 accidently removed during merge
      mysql-test/r/mysqldump.result:
        Update results
      mysql-test/t/mysqldump.test:
        Fix order of tests so that all the tests new to the 5.0 tree come after
        "End of 4.1 tests", and so that each leaves things in the state it found
        them (particularly by returning to the 'test' database. Also remove some
        tests that were duplicated.
      55c61a6e
    • unknown's avatar
      post-merge fix · b6d3f563
      unknown authored
      b6d3f563
    • unknown's avatar
      Merge maint2.mysql.com:/data/localhome/tsmith/bk/41 · fc5ee968
      unknown authored
      into  maint2.mysql.com:/data/localhome/tsmith/bk/50
      
      
      mysql-test/r/heap_btree.result:
        Auto merged
      sql/set_var.cc:
        Auto merged
      mysql-test/t/heap_btree.test:
        Manual merge.
      fc5ee968
    • unknown's avatar
      Resolve conflicts · cf749a7a
      unknown authored
      cf749a7a
  5. 31 Aug, 2006 7 commits
    • unknown's avatar
      Additional files for cmake support · 8f447728
      unknown authored
      
      CMakeLists.txt:
        New BitKeeper file ``CMakeLists.txt''
      bdb/CMakeLists.txt:
        New BitKeeper file ``bdb/CMakeLists.txt''
      client/CMakeLists.txt:
        New BitKeeper file ``client/CMakeLists.txt''
      dbug/CMakeLists.txt:
        New BitKeeper file ``dbug/CMakeLists.txt''
      extra/CMakeLists.txt:
        New BitKeeper file ``extra/CMakeLists.txt''
      extra/yassl/CMakeLists.txt:
        New BitKeeper file ``extra/yassl/CMakeLists.txt''
      extra/yassl/taocrypt/CMakeLists.txt:
        New BitKeeper file ``extra/yassl/taocrypt/CMakeLists.txt''
      heap/CMakeLists.txt:
        New BitKeeper file ``heap/CMakeLists.txt''
      innobase/CMakeLists.txt:
        New BitKeeper file ``innobase/CMakeLists.txt''
      libmysql/CMakeLists.txt:
        New BitKeeper file ``libmysql/CMakeLists.txt''
      myisam/CMakeLists.txt:
        New BitKeeper file ``myisam/CMakeLists.txt''
      myisammrg/CMakeLists.txt:
        New BitKeeper file ``myisammrg/CMakeLists.txt''
      mysys/CMakeLists.txt:
        New BitKeeper file ``mysys/CMakeLists.txt''
      regex/CMakeLists.txt:
        New BitKeeper file ``regex/CMakeLists.txt''
      server-tools/CMakeLists.txt:
        New BitKeeper file ``server-tools/CMakeLists.txt''
      server-tools/instance-manager/CMakeLists.txt:
        New BitKeeper file ``server-tools/instance-manager/CMakeLists.txt''
      sql/CMakeLists.txt:
        New BitKeeper file ``sql/CMakeLists.txt''
      sql/examples/CMakeLists.txt:
        New BitKeeper file ``sql/examples/CMakeLists.txt''
      strings/CMakeLists.txt:
        New BitKeeper file ``strings/CMakeLists.txt''
      tests/CMakeLists.txt:
        New BitKeeper file ``tests/CMakeLists.txt''
      vio/CMakeLists.txt:
        New BitKeeper file ``vio/CMakeLists.txt''
      win/Makefile.am:
        New BitKeeper file ``win/Makefile.am''
      win/README:
        New BitKeeper file ``win/README''
      win/build-vs71.bat:
        New BitKeeper file ``win/build-vs71.bat''
      win/build-vs8.bat:
        New BitKeeper file ``win/build-vs8.bat''
      win/build-vs8_x64.bat:
        New BitKeeper file ``win/build-vs8_x64.bat''
      win/configure.js:
        New BitKeeper file ``win/configure.js''
      zlib/CMakeLists.txt:
        New BitKeeper file ``zlib/CMakeLists.txt''
      8f447728
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug04053/my50-bug04053 · b0cdb895
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      b0cdb895
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0-opt · a1d03bd6
      unknown authored
      into  rurik.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug16249
      
      
      a1d03bd6
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/no-strange-literals/my50-no-strange-literals · 942af8b6
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      tests/mysql_client_test.c:
        Auto merged
      942af8b6
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/no-strange-literals/my41-no-strange-literals · 9e4d75d1
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/no-strange-literals/my50-no-strange-literals
      
      
      tests/mysql_client_test.c:
        Auto merged
      9e4d75d1
    • unknown's avatar
      Bitkeeper's Tk interface uses UTF8 by default, so mixing charsets in a · 22da915b
      unknown authored
      single file is a bad practice.  
      
      
      tests/mysql_client_test.c:
        Replace literal characters which don't make sense in UTF8 with ubiquitously-
        understood numbers.
      22da915b
    • unknown's avatar
      Fixed bug #16249: different results for a range with an without index · c4c36e17
      unknown authored
      when a range condition use an invalid DATETIME constant.
      Now we do not use invalid DATETIME constants to form end keys for
      range intervals: range analysis just ignores predicates with such
      constants.  
      
      
      mysql-test/r/query_cache.result:
        Adjusted result warnings when adding a fix for bug #16249.
      mysql-test/r/range.result:
        Added a test case for bug #16249.
      mysql-test/t/range.test:
        Added a test case for bug #16249.
      c4c36e17