1. 14 Dec, 2006 8 commits
    • unknown's avatar
      Merge kpettersson@bk-internal:/home/bk/mysql-5.0-maint · 931dcc8a
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/mysql-5.0-maint
      
      
      931dcc8a
    • unknown's avatar
      Merge kpettersson@bk-internal:/home/bk/mysql-5.0-maint · 2772d72a
      unknown authored
      into  naruto.:C:/cpp/mysql-5.0-maint
      
      
      2772d72a
    • unknown's avatar
      Merge nocona:/data0/msvensson/mysql-5.0-maint · e1411580
      unknown authored
      into  shellback.:C:/mysql/mysql-5.0-maint
      
      
      e1411580
    • unknown's avatar
      BUG#24687 func_misc test fails on win64 · 29bcffd7
      unknown authored
       - Use same precision (milliseconds) for all time functions
         used  when calculating time for pthread_cond_timedwait
       - Use 'GetSystemTimeAsFileTime' for both start and curr time
      
      
      include/config-win.h:
        Move all defines for 'pthread_cond_timedwait' to my_pthread.h
      include/my_global.h:
        Move all defines for 'pthread_cond_timedwait' to my_pthread.h
      include/my_pthread.h:
        Redefine "struct timespec" to better suite the needs 
        of 'pthread_cond_timedwait' for windows implementation
        Add windows specific define for set_timespec_nsec
        Move all defines related to pthread_cond_timed wait to same file
        Declare union for reading FILETIME as __int64 with correct alignment
      mysys/my_wincond.c:
        Use 'GetSystemTimeAsFileTime()' both for getting start and current time
        Use new members of "struct timespec"
        Make sure the calculated timeout value never exceeds the value
        passed to set_timespec/set_timespec_nsec
      server-tools/instance-manager/guardian.cc:
        Use set_timespec macro
      server-tools/instance-manager/instance.cc:
        Use set_timespec macro
      29bcffd7
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/bug17489/my50-bug17498 · 8359968b
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/mysql-5.0-maint
      
      
      8359968b
    • unknown's avatar
      Bug#17498 failed to put data file in custom directory use "data directory" option · e9133433
      unknown authored
      Merged 4.1->5.0. Updated myisam.test
      
      
      mysql-test/r/myisam.result:
        updated result file
      mysql-test/t/myisam.test:
        Removing symlink specific test from myisam test
      e9133433
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/bug17489/my41-bug17498 · d2b950f0
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/bug17489/my50-bug17498
      
      
      mysql-test/r/symlink.result:
        Auto merged
      mysql-test/t/symlink.test:
        Auto merged
      mysql-test/r/myisam.result:
        SCCS merged
      mysql-test/t/myisam.test:
        SCCS merged
      d2b950f0
    • unknown's avatar
      Bug#17498 failed to put data file in custom directory use "data directory" option · e524063b
      unknown authored
      - When this bug was corrected it changed the behavior 
        for data/index directory in the myisam test case.
      - This patch moves the OS depending tests to a non-windows
        test file.
      
      
      mysql-test/r/myisam.result:
        moved test from myisam to symlink; new result file
      mysql-test/r/symlink.result:
        moved test from myisam to symlink; new result file
      mysql-test/t/myisam.test:
        moved test from myisam to symlink
      mysql-test/t/symlink.test:
        moved test from myisam to symlink
      e524063b
  2. 13 Dec, 2006 2 commits
  3. 11 Dec, 2006 13 commits
  4. 10 Dec, 2006 1 commit
  5. 08 Dec, 2006 11 commits
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/tmp/fix-Makefile-perl/41 · fdf1a633
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/tmp/fix-Makefile-perl/50
      
      
      sql/sql_class.h:
        Auto merged
      Makefile.am:
        Manual merge.
      fdf1a633
    • unknown's avatar
      Makefile.am · b8151c7e
      unknown authored
          - test* targets are identical (as much as possible) to 5.0 & 5.1 versions
          - use @PERL@ ./mysql-test-run.pl, instead of depending on /usr/bin/perl location
          - PHONY: target includes all test targets
      
      
      Makefile.am:
        - test* targets are identical (as much as possible) to 5.0 & 5.1 versions
        - use @PERL@ ./mysql-test-run.pl, instead of depending on /usr/bin/perl location
        - PHONY: target includes all test targets
      b8151c7e
    • unknown's avatar
      Merge polly.local:/tmp/maint/bug24261/my50-bug24261 · 3288ddf6
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-5.0-maint
      
      
      mysql-test/r/func_in.result:
        Auto merged
      mysql-test/t/func_in.test:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      3288ddf6
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 8ba0259a
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/t/kill.test:
        Auto merged
      8ba0259a
    • unknown's avatar
      Bug#19410 Test 'kill' fails on Windows + SCO · 0abeff72
      unknown authored
      
      mysql-test/t/kill.test:
        Move the connect of second connection to just before the query to be killed are sent.
        This introduces less variance since the connect time is not included in the delay
        we want between send of query and kill.
      0abeff72
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 47b8d63d
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/t/mysqladmin.test:
        Auto merged
      sql/sql_class.h:
        Auto merged
      47b8d63d
    • unknown's avatar
      Add missing space · 8fc4864e
      unknown authored
      8fc4864e
    • unknown's avatar
      Bug#19410 Test 'kill' fails on Windows + SCO · e8d82549
      unknown authored
       - Use "mysql_field_count" to determine if there is a need to
         call "mysql_store_result"
      
      
      client/mysqltest.c:
        Only call 'mysql_store_result' if 'mysql_field_count' is greater than 0
        indicating that this query has a result set.  This change is mainly since
        if mysql_store_result fails the value returned by mysql_field_count will be reset.
      e8d82549
    • unknown's avatar
      Bug#24498 Stack overflow in mysqltest · 33a098bf
      unknown authored
       - Thanks to Vasil Dimov for the patch!
      
      
      client/mysqltest.c:
        Use my_snprintf to protect against exceeding size of buff
        Since variable name and valu might not be null terminated it's necessary to
        provide the length of the format specifiers.
      33a098bf
    • unknown's avatar
      ca1aebbd
    • unknown's avatar
      Fix problems with "make dist" and running from "binary dist" · 9a864bb7
      unknown authored
      
      mysql-test/Makefile.am:
        Add missing ($DESTDIR) wich cause "make discheck" to fail
      scripts/make_binary_distribution.sh:
        Add std_data/*.MY* files to binary dist
      9a864bb7
  6. 07 Dec, 2006 5 commits
    • unknown's avatar
      Having MYSQL_VERSION_ID defined correctly made this KILL_QUERY enum item visible. This is a · 8b5787fa
      unknown authored
      forwards-incompatible change.
      
      
      8b5787fa
    • unknown's avatar
      Bug#17498 failed to put data file in custom directory use "data directory" option · 1267a7fb
      unknown authored
      - Using DATA/INDEX DIRECTORY option on Windows put data/index file into
        default directory because the OS doesn't support readlink().
      - The procedure for changing data/index file directory is 
        different under Windows.
      - With this fix we report a warning if DATA/INDEX option is used,
        but OS doesn't support readlink().
      
      
      mysql-test/r/windows.result:
        - updated result file.
      mysql-test/t/windows.test:
        - Added test case to verify we get warnings if we specify DATA/INDEX
          DIRECTORY on a platform which doesn't support readlink().
      sql/sql_parse.cc:
        - Added warnings if DATA/INDEX DIRECTORY option is used but not supported
          by the target platform.
      1267a7fb
    • unknown's avatar
      Merge jpipes@bk-internal:/home/bk/mysql-5.0-maint · ae9596ad
      unknown authored
      into  shakedown.(none):/home/jpipes/dev/mysql-5.0-maint
      
      
      ae9596ad
    • unknown's avatar
      Merge shakedown.(none):/home/jpipes/dev/bug20246/my41-bug20246 · dae79371
      unknown authored
      into  shakedown.(none):/home/jpipes/dev/mysql-5.0-maint
      
      
      include/mysql.h:
        Auto merged
      dae79371
    • unknown's avatar
      Fix for Bug #20246 (enum mysql_enum_shutdown_level not well-defined in mysql_com.h) · 9e48e73f
      unknown authored
      MYSQL_VERSION_ID is tested before it has been defined.  This leads to
      a warning when compiling with -Wundef and it also will break the
      internal logic of mysql_com.h as soon as MYSQL_VERSION_ID exceeds
      50000.
      
      The fix entailed a simple re-ordering of included files in mysql.h
      
      
      include/mysql.h:
        Fix for Bug #20246 (enum mysql_enum_shutdown_level not well-defined in mysql_com.h)
        
        MYSQL_VERSION_ID is tested before it has been defined.  This leads to
        a warning when compiling with -Wundef and it also will break the
        internal logic of mysql_com.h as soon as MYSQL_VERSION_ID exceeds
        50000.
        
        Placed the #include for mysql_version.h above mysql_com.h to resolve conflict
      9e48e73f