1. 01 Mar, 2007 1 commit
  2. 28 Feb, 2007 5 commits
  3. 26 Feb, 2007 1 commit
  4. 20 Feb, 2007 4 commits
  5. 19 Feb, 2007 5 commits
  6. 16 Feb, 2007 3 commits
    • unknown's avatar
      include/config-win.h : · e48e78b0
      unknown authored
      Companion change to this one
         ChangeSet@1.2206, 2007-01-22 02:32:07+02:00, jani@a88-113-38-195.elisa-laajakaista.fi +8 -0
           include/my_pthread.h@1.67, 2007-01-22 02:32:06+02:00, jani@a88-113-38-195.elisa-laajakaista.fi +31 -10
      which renamed "sigset()" -> "my_sigset()" but forgot to do it for Windows ...
      
      
      include/config-win.h:
        Companion change to this one
           ChangeSet@1.2206, 2007-01-22 02:32:07+02:00, jani@a88-113-38-195.elisa-laajakaista.fi +8 -0
             include/my_pthread.h@1.67, 2007-01-22 02:32:06+02:00, jani@a88-113-38-195.elisa-laajakaista.fi +31 -10
        which renamed "sigset()" -> "my_sigset()" but forgot to do it for Windows ...
      e48e78b0
    • unknown's avatar
      Merge 192.168.0.10:mysql/mysql-4.1-maint · 3a56c79b
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-4.1-maint
      
      
      client/mysqltest.c:
        Auto merged
      3a56c79b
    • unknown's avatar
      Workaround for problem where cygwin's bash/sh randomly fails with error 128 which · 0a97f7ba
      unknown authored
      mainly occurs on win2003 64bit.
       - Execute "exec" commands directly with cmd.exe and replace "--exec echo ..." with "--exec .\echo.exe ..." 
      
      
      client/mysqltest.c:
        Workaround the problem with "echo" in windows not behaving like "echo" in Unix.
        - Replace "--exec echo ..." with "--exec <path to mysqltest>\echo.exe" thus forcing
          use of our own echo implementation which baheves like on Unix.
        - The above change makes it possible to remove the need to execute all --exec's
          inside cygwin. Add ifdefs to only use use cygwin's bash conditionally
      mysql-test/lib/mtr_misc.pl:
        Add function for converting to the OS's native format
      mysql-test/mysql-test-run.pl:
        Convert path to executables to "windows native" (c:\<path>\) instead of "mixed"(c:/<path>) mode
        necessary for pipes and redirects to work properly in cmd.exe
      client/echo.c:
        New BitKeeper file ``client/echo.c''
      0a97f7ba
  7. 15 Feb, 2007 3 commits
  8. 14 Feb, 2007 2 commits
  9. 13 Feb, 2007 4 commits
  10. 12 Feb, 2007 7 commits
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1-opt · 7c41c226
      unknown authored
      into  mysql.com:/home/hf/work/25492/my41-25492
      
      7c41c226
    • unknown's avatar
      bug #25492 (Invalid deallocation in mysql_stmt_fetch) · 07efefd2
      unknown authored
      
      libmysqld/lib_sql.cc:
        code modified to prevent freeing of memory that wasn't malloc-ed.
        Now we check if MYSQL_STMT::result was used.
      07efefd2
    • unknown's avatar
      Fix a linkage problem with the previous patch for "thr_client_alarm". · 0cf906f0
      unknown authored
      
      mysys/my_pthread.c:
        Linkage problem with previous patch: "thr_client_alarm" must be declared in here.
      mysys/thr_alarm.c:
        Linkage problem: Declare "thr_client_alarm" over in "mysys/my_pthread.c".
      0cf906f0
    • unknown's avatar
      Break a double declare of "uint thr_client_alarm" between "mysys/thr_alarm.c"... · f23367f4
      unknown authored
      Break a double declare of "uint thr_client_alarm" between "mysys/thr_alarm.c" and "mysys/my_pthread.c".
      
      
      mysys/my_pthread.c:
        Break a double declare: "uint thr_client_alarm" is also declared in "mysys/thr_alarm.c", take it from there.
      f23367f4
    • unknown's avatar
      Compile error on Windows: Signal names are undefined. Fix by hiding the whole section. · db319c04
      unknown authored
      
      mysys/my_thr_init.c:
        Compile error on Windows: Both "SIGALRM" and "SIGUSR1" are undefined.
        Fix by hiding the whole section, according to Jani it is not needed on Windows.
      db319c04
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 18dc6317
      unknown authored
      into  mysql.com:/home/tnurnberg/24660/41-24660
      
      
      sql/table.cc:
        Auto merged
      18dc6317
    • unknown's avatar
      Bug#24660: "enum" field type definition problem · 7ca628c6
      unknown authored
      ENUMs weren't allowed to have character 0xff, a perfectly good character in some locales.
      This was circumvented by mapping 0xff in ENUMs to ',', thereby prevent actual commas from
      being used. Now if 0xff makes an appearance, we find a character not used in the enum and
      use that as a separator. If no such character exists, we throw an error.
      
      Any solution would have broken some sort of existing behaviour. This solution should
      serve both fractions (those with 0xff and those with ',' in their enums), but
      WILL REQUIRE A DUMP/RESTORE CYCLE FROM THOSE WITH 0xff IN THEIR ENUMS. :-/
      That is, mysqldump with their current server, and restore when upgrading to one with
      this patch.
      
      
      mysql-test/r/type_enum.result:
        Bug#24660: "enum" field type definition problem
        
        Show that enums can now contain NAMES_SEP_CHAR (0xff, which is a perfectly respectable
        char in some locales), or ',', or both.
      mysql-test/t/type_enum.test:
        Bug#24660: "enum" field type definition problem
        
        Show that enums can now contain NAMES_SEP_CHAR (0xff, which is a perfectly respectable
        char in some locales), or ',', or both.
      sql/table.cc:
        Bug#24660: "enum" field type definition problem
        
        Revert fix for Bug#20922.
      sql/unireg.cc:
        Bug#24660: "enum" field type definition problem
        
        Use a field-separator for ENUM-values that is not part of those values. If impossible,
        throw error.
      7ca628c6
  11. 09 Feb, 2007 3 commits
    • unknown's avatar
      Merge trift2.:/MySQL/M41/mysql-4.1 · a15ff7a3
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      a15ff7a3
    • unknown's avatar
      Fixes a compilation problem on Windows. Backport of the · b01e4725
      unknown authored
      same fix from 4.0.
      
      b01e4725
    • unknown's avatar
      Bug#25126: Reference to non-existant column in UPDATE...ORDER BY... crashes server · eebf1d9a
      unknown authored
      "update existingtable set anycolumn=nonexisting order by nonexisting" would crash
      the server.
      
      Though we would find the reference to a field, that doesn't mean we can then use
      it to set some values.  It could be a reference to another field.  If it is NULL, 
      don't try to use it to set values in the Item_field and instead return an error.
      
      Over the previous patch, this signals an error at the location of the error, rather
      than letting the subsequent deref signal it.
      
      
      mysql-test/r/order_by.result:
        Verify that all permutations work.
      mysql-test/t/order_by.test:
        Verify that all permutations work.
      sql/item.cc:
        When the field is NULL, don't dereference it when we set_field().  
        Instead, raise an error.
      eebf1d9a
  12. 08 Feb, 2007 2 commits