1. 30 Sep, 2005 1 commit
    • unknown's avatar
      Change "mf_keycache.c" so that it can be compiled without thread support (bug#11680): · 4bf99263
      unknown authored
      "configure --without-server"   (without giving "--enable-thread-safe-client").
      
      
      mysys/mf_keycache.c:
        This module is needed both in the server (multi-threaded) and in some myisam tools (single-threaded).
        For the latter use, compilation failed in a "configure --without-server" as thread support was not
        defined then (unless "--enable-thread-safe-client" was also given, but this should not be required).
        The solution is to guard all threading operations in "#ifdef THREAD", and in the "#else" case adding
        assertions where appropriate. This fixes bug#11680.
        Also minor cleanup: Delete an unused variable, change "return" -> "DBUG_RETURN" in one place.
      4bf99263
  2. 14 Sep, 2005 31 commits
  3. 13 Sep, 2005 8 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 60178966
      unknown authored
      into  mishka.mysql.fi:/home/my/mysql-5.0
      
      
      sql/item.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/t/mysqldump.test:
        Merge
      60178966
    • unknown's avatar
      Added option --valgrind-mysqltest to mysql-test-run · 411d7f59
      unknown authored
      Added flag to Field::store(longlong) to specify if value is unsigned.
      This fixes bug #12750: Incorrect storage of 9999999999999999999 in DECIMAL(19, 0)
      Fixed warning from valgrind in CREATE ... SELECT
      Fixed double free of mysql.options if reconnect failed
      
      
      mysql-test/mysql-test-run.sh:
        Added option --valgrind-mysqltest to allow one to run mysqltest with valgrind
      mysql-test/r/bigint.result:
        Update results after fix for Field::store(longlong)
      mysql-test/r/range.result:
        Update results after fix for Field::store(longlong)
      mysql-test/r/strict.result:
        Update results after fix for Field::store(longlong)
        (This fixes some wrong results when storing things into bigint columns)
      mysql-test/r/type_ranges.result:
        Update results after fix for Field::store(longlong)
      mysql-test/t/bigint.test:
        Added testing for #12750: Incorrect storage of 9999999999999999999 in DECIMAL(19, 0)
      mysql-test/t/innodb.test:
        Removed comments affected by this bug fix
      mysql-test/t/mysqldump.test:
        Fixed result to not depend on existing config files
      mysql-test/t/range.test:
        0xff numbers are now unsigned
      mysql-test/t/strict.test:
        Added errors for things that previously (wrongly) succeeded
      sql-common/client.c:
        Fixed double free of mysql.options if reconnect failed
      sql/field.cc:
        Added flag to Field::store(longlong) to specify if value is unsigned
      sql/field.h:
        Added flag to Field::store(longlong) to specify if value is unsigned
      sql/field_conv.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/ha_ndbcluster.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/handler.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/item.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/item_sum.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/sp.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/sql_acl.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/sql_help.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/sql_show.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/sql_table.cc:
        Fixed varning from valgrind
      sql/sql_udf.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/tztime.cc:
        Fixed calls to Field::store(longlong,flag)
      sql/unireg.cc:
        Fixed calls to Field::store(longlong,flag)
      411d7f59
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 792e46d5
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      792e46d5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 2d146983
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      2d146983
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b5b60f11
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      b5b60f11
    • unknown's avatar
      fixed the service bits of the IM · b2c2df65
      unknown authored
      
      server-tools/instance-manager/IMService.cpp:
        * setting username and password to NULL so that the 
        IM runs at LocalSystem (this should be changed soon)
        * implemented stop service by raising a sigterm
        * implemented start service by loading options and calling manager()
      server-tools/instance-manager/IMService.h:
        changed the sig for Run()
      server-tools/instance-manager/WindowsService.cpp:
        default debugging to false
        changed the sig of RuN()
      server-tools/instance-manager/WindowsService.h:
        change the sig of run()
      server-tools/instance-manager/instance.cc:
        * remove the inclusion of process.h
        * concat all args into a single buffer to pass to CreateProcess
      server-tools/instance-manager/instance_options.cc:
        quoting the binary to handle paths with quotes
      server-tools/instance-manager/listener.cc:
        use a timeval for select so that our select will only run
        for 100 msec before we check to see if we are shutting down
      server-tools/instance-manager/mysqlmanager.cc:
        if we are given the stand alone option, then run the manager as 
        standalone
      server-tools/instance-manager/options.cc:
        Added stand alone command line arg
      server-tools/instance-manager/options.h:
        Added stand alone command line arg
      b2c2df65
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0 · a1d03c13
      unknown authored
      into  linux.site:/home/reggie/bk/mysql-5.0-new
      
      a1d03c13
    • unknown's avatar
      Fixed minor error message bug from work for WL#2414 · 37c095e3
      unknown authored
      
      mysql-test/r/federated.result:
        fixed error message
      sql/ha_federated.cc:
        Minor refactoring to fix error message, resulting in big whitespace change
      37c095e3