1. 09 Dec, 2005 1 commit
    • unknown's avatar
      Made it easier to valgrind mysqltest · f083129f
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Append mysqltest-time to mysqltest.log at the end of each test case, thus making it possibel to run the whole testsuite with --valgrind-mysqltest and then check the valgrind ouput in mysqltest.log
        Don't valgrind mysqld when only --valgrind-mysqltest is specified
        Fix usage --valgrind, will only valgrind mysqld(that's how it was, I didn't change)
      f083129f
  2. 08 Dec, 2005 1 commit
    • unknown's avatar
      WL#2930 mysqltest++ · f5e39a2b
      unknown authored
       - Updated after valgrinding
      
      
      client/mysqltest.c:
        Move initialisation of dynamic strings to top of function so that variables are always inited before free
        The workaround for 15518 moved to last in function
        Add check for "--" comments without any comment,. to avoid read of uninit memory
      mysql-test/mysql-test-run.sh:
        Add printout of valgrind errors from mysqltest when test with valgrind  has completed
      f5e39a2b
  3. 07 Dec, 2005 2 commits
    • unknown's avatar
      valgrind for mysqltest · 5c72c091
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Dont add valgrind to the MYSQL_TEST variable
      5c72c091
    • unknown's avatar
      Fix memory leak · 476a24cb
      unknown authored
      
      client/mysqltest.c:
        Call my_regex_end  to free global memory allocated regex library
      476a24cb
  4. 06 Dec, 2005 2 commits
    • unknown's avatar
      Improved valgrinding of mysqltest · e9ca41c2
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Add --valgrind-mysqltest and --valgrind-mysqltest-all
        Send output from mysqltest(and valgrind messages) to var/log/mysqltest.log
      e9ca41c2
    • unknown's avatar
      WL#2930 · d4309e56
      unknown authored
      - Updated after review
      
      
      client/mysqltest.c:
        Remove the mysterious 1024, sed when calculating max_length for bind columns
        Change affected_rows variables to use ulonglong
        A little more fiddling with warnings in ps mode needed
        Add temporary workaround for bug#15518
        Use ulong instead of "unsigned long"
        Print verbose_msg when failure to create view or sp
        Updated cheks for "zero size result file" and "no queries executed but result file found"
        The test must produce some output
      mysql-test/include/have_multi_ndb.inc:
        Use --require <result_file> instead of @r <result_file>
      mysql-test/r/mysqltest.result:
        Update resulfiles
      mysql-test/t/init_file.test:
        Add "echo" command so that test produces output.
      mysql-test/t/mysql_client_test.test:
        Add "echo" command so that test produces output.
      mysql-test/t/mysqltest.test:
        Added new test case for "zero size resul file"
        Added new test case for "no output"
        Make sure all generated sql files are put in var/tmp dir
      mysql-test/r/init_file.result:
        New BitKeeper file ``mysql-test/r/init_file.result''
      mysql-test/r/mysql_client_test.result:
        New BitKeeper file ``mysql-test/r/mysql_client_test.result''
      d4309e56
  5. 04 Nov, 2005 2 commits
  6. 03 Nov, 2005 16 commits
    • unknown's avatar
      Reapplying patch · 3392de2f
      unknown authored
      Check for NULLs only if we don't replace column results,
        get real results after all checks.
        (see bug #14254: func_crypt.test fails on FreeBSD with --ps-protocol).
      
      Remove two FIXME's
      
      
      client/mysqltest.c:
        Reapplying patch, lost during merge
        Check for NULLs only if we don't replace column results,
          get real results after all checks.
          (see bug #14254: func_crypt.test fails on FreeBSD with --ps-protocol).
        
        Remove FIXME comments since it ssemd like the function handles vertical displays and 
        even wheter the string is terminated or not is not relevant since we only append 
        as much of it to output as "len" says
      3392de2f
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0 · 7d410f93
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/wl2930/my50-wl2930
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      client/mysqltest.c:
        Manual merge, will add ramils patch afterwards
      7d410f93
    • unknown's avatar
      WL#2930 Adding view and cursor 'protocols' to mysqltest · 2a3583b7
      unknown authored
       - Part2, actually adding the new functionality
      
      
      client/mysqltest.c:
        adding the new functionality run with views, cursor and stored procedures
      mysql-test/mysql-test-run.pl:
        Adding new switches
      2a3583b7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · fb0166b9
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      fb0166b9
    • unknown's avatar
      opt_range.cc: · 37420b37
      unknown authored
        Additional fix for bug#14093
      
      
      sql/opt_range.cc:
        Additional fix for bug#14093
      37420b37
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · cf95d544
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      cf95d544
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 3893f11f
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      3893f11f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 995ba7e6
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-14210
      
      
      sql/handler.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      995ba7e6
    • unknown's avatar
      A fix and a test case for Bug#14210 "Simple query with > operator on · e76aef36
      unknown authored
      large table gives server crash": make sure that when a MyISAM temporary
      table is created for a cursor, it's created in its memory root,
      not the memory root of the current query.
      
      
      mysql-test/r/sp.result:
        Test results fixed: a test case for Bug#14210
      mysql-test/t/sp.test:
        A test case for Bug#14210 "Simple query with > operator on large table 
        gives server crash"
      sql/handler.cc:
        - rewrite get_new_handler to accept a memory root and use it for
      sql/handler.h:
        - get_new_handler declaration changed
      sql/opt_range.cc:
        - get_new_handler declaration changed
      sql/sql_base.cc:
        - get_new_handler declaration changed
      sql/sql_select.cc:
        - the actual fix for Bug#14210. In create_myisam_from_heap we should
        create the new table handler in TABLE::mem_root, not in THD::mem_root:
        the latter is freed shortly after cursor is open.
        - adjust create_tmp_table to explicitly supply &table->mem_root
        to get_new_handler when creating a handler for a new temporary table
      sql/sql_table.cc:
        - get_new_handler declaration changed
      sql/table.cc:
        - get_new_handler declaration changed
      sql/unireg.cc:
        - get_new_handler declaration changed
      tests/mysql_client_test.c:
        A test case for Bug#14210 "Simple query with > operator on large table
         gives server crash": a C API test case is worth adding because of different
        memory allocation/freeing patterns in handling of C API and SP cursors
      e76aef36
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0f69754c
      unknown authored
      into moonbone.local:/work/14093-bug-5.0-mysql
      
      
      mysql-test/r/select.result:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      sql/item.h:
        Auto merged
      0f69754c
    • unknown's avatar
      Fix bug #14093 Query takes a lot of time when date format is not valid · 898f6f28
      unknown authored
      Invalid date like 2000-02-32 wasn't converted to int, which lead to not
      using index and comparison with field as astring, which results in slow
      query execution.
      
      convert_constatn_item() and get_mm_leaf() now forces MODE_INVALID_DATES to
      allow such conversion.
      
      
      sql/item.h:
        Fix bug #14093 Query takes a lot of time when date format is not valid
        To Item_int_with_ref added method real_item() which returns ref.
      sql/item_cmpfunc.cc:
         Fix bug #14093 Query takes a lot of time when date format is not valid
        convert_constant_item() now allows conversion of invalid dates like 2000-01-32 to int to make it possible to use index when comparing fields with such dates.
      sql/opt_range.cc:
         Fix bug #14093 Query takes a lot of time when date format is not valid
        get_mm_leaf() modified so it allows index usage for comparing fields with invalid dates like 2000-01-32.
      mysql-test/r/select.result:
        Test case for bug#14093 Query takes a lot of time when date format is not valid
      mysql-test/t/select.test:
        Test case for bug#14093 Query takes a lot of time when date format is not valid
      898f6f28
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0 · fd3302e0
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug13957/my50-bug13957
      
      
      configure.in:
        Auto merged
      fd3302e0
    • unknown's avatar
      Bug#13957 yassl: opensrv6c compile failure · a3f4ae39
      unknown authored
       - Added some ifdefs and turn off auto template instantiation, use explicit template instantiation
      
      
      configure.in:
        Use -Tno_implict to indicate that we specifiy which template should be instantiated.
        Turn on HAVE_EXPLICIT_TEMPLATE_INSTATNTIATION
      extra/yassl/src/socket_wrapper.cpp:
        Include sys/filio.h if __SCO_VERSION__ is defined
      extra/yassl/src/timer.cpp:
        Dont' include files from within namespace yaSSL.
      a3f4ae39
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · a9b90334
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      a9b90334
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · f3fd5450
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      f3fd5450
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 81eb2c2e
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.13573
      
      
      sql/item_func.cc:
        Auto merged
      81eb2c2e
  7. 02 Nov, 2005 16 commits