An error occurred fetching the project authors.
  1. 29 Jun, 2006 1 commit
    • unknown's avatar
      Fixed include file usage · 77deeb7e
      unknown authored
      hp_test2 now works again
      Fixed wrong cast, which caused problems with gcc 4.0 and floats in prepared statements (Bug #19694)
      
      
      heap/hp_test1.c:
        Portability fix
      heap/hp_test2.c:
        Added max_table_size (fixes that hp_test2 works again)
      include/my_global.h:
        Fixed wrong cast, which caused problems with gcc 4.0 (Bug #19694)
      mysys/my_handler.c:
        Added missing include file
      strings/strtod.c:
        Fixed include files
      77deeb7e
  2. 15 Jun, 2006 1 commit
  3. 07 Jun, 2006 1 commit
    • unknown's avatar
      BUG#12982 - LOAD DATA fails without any error for big files with big · cd323e29
      unknown authored
                  read buffer
      Setting read buffer to values greater than SSIZE_MAX results in
      unexpected behavior.
      
      According to read(2) manual:
      If count is greater than SSIZE_MAX, the result is unspecified.
      
      Set upper limit for read_buffer_size and read_rnd_buffer_size to
      SSIZE_MAX.
      
      
      include/my_global.h:
        Define SSIZE_MAX if not defined.
      sql/mysqld.cc:
        Set upper limit for read_buffer_size and read_rnd_buffer_size to
        SSIZE_MAX.
      cd323e29
  4. 01 Jun, 2006 1 commit
    • unknown's avatar
      Fixed Bug#19479:mysqldump creates invalid dump. · 59a33015
      unknown authored
      Only check for FN_DEVCHAR in filenames if FN_DEVCHAR is defined.
      This allows to use table names with ":" on non windows platforms.
      On Windows platform get an error if you use table name that contains FN_DEVCHAR
      
      
      include/config-win.h:
        Moved FN_DEVCHAR to config-win.h
      include/my_global.h:
        Moved FN_DEVCHAR to config-win.h
      mysql-test/r/create.result:
        Added testcase for Bug#19479:mysqldump creates invalid dump
      BitKeeper/etc/ignore:
        Added sql/share/iso639-2.txt sql/share/fixerrmsg.pl to the ignore list
      mysql-test/t/create.test:
        Added testcase for Bug#19479:mysqldump creates invalid dump
      mysys/mf_fn_ext.c:
        Added checking of BASKSLASH_MBTAIL as dirname_part depends on it.
        Fixed cast and indentation.
      sql/table.cc:
        Only check for FN_DEVCHAR in filenames if FN_DEVCHAR is defined.
        This allows to use table names with ":" on non windows platforms.
        On Windows platform get an error if you use table name that contains FN_DEVCHAR
      59a33015
  5. 07 Apr, 2006 1 commit
  6. 27 Feb, 2006 1 commit
    • unknown's avatar
      Bug#17716 Slave crash in net_clear on qnx · b97082c5
      unknown authored
       - Set FD_SETSIZE before including "sys/select.h"
      
      
      include/my_global.h:
        Define FD_SETSIZE on QNX before including "sys/select.h" or "sys/time.h". This defines number of bits in fd_set type used for 'select'
      b97082c5
  7. 04 Jan, 2006 1 commit
  8. 03 Dec, 2005 1 commit
    • unknown's avatar
      my_global.h: · bbaf62b4
      unknown authored
        Make __cxa_pure_virtual weak symbol
      
      
      include/my_global.h:
        Make __cxa_pure_virtual weak symbol
      bbaf62b4
  9. 24 Nov, 2005 1 commit
    • unknown's avatar
      Don't use PATH_MAX for FN_REFLEN as this uses too much stack space · 97bfd41f
      unknown authored
      Larger stack size neaded for open table on x86 64 bit
      Fix failing test cases
      Deleted symlink from bk
      
      
      BitKeeper/etc/ignore:
        added libmysqld/ha_blackhole.cc
      BitKeeper/deleted/.del-ha_blackhole.cc~727c69ef7846623a:
        Delete: libmysqld/ha_blackhole.cc
      include/my_global.h:
        Don't use PATH_MAX for FN_REFLEN as this uses too much stack space.
        (With a PATH_MAX of 4096, we use 80K for opening a table as there is several objects of size FN_REFLEN on stack)
      mysql-test/r/federated.result:
        Update results after error message changes
      mysql-test/r/grant.result:
        Update results after error message changes
      mysql-test/r/grant2.result:
        Update results after error message changes
      sql/ha_federated.cc:
        Fix error messages to be more consistent
      sql/mysql_priv.h:
        Stack size to have when opening a table
        (This was needed on x86 64 bit Linux)
      sql/share/errmsg.txt:
        Remove quotes around error string for federated as two quotes in the output looks strange
      sql/sql_base.cc:
        More correct stack size
      sql/sql_parse.cc:
        Set thread_stack before store_globals()
      sql/unireg.h:
        More correct MAX_DBKEY_LENGTH
      97bfd41f
  10. 14 Nov, 2005 2 commits
    • unknown's avatar
      Import patch for bug #13377 from current 5.0 bk tree. · d4008244
      unknown authored
      include/my_global.h:
        Import patch 00.txt
      include/my_sys.h:
        Import patch 00.txt
      mysys/my_create.c:
        Import patch 00.txt
      mysys/my_open.c:
        Import patch 00.txt
      sql/log.cc:
        Import patch 00.txt
      sql/sql_class.h:
        Import patch 00.txt
      sql/sql_repl.cc:
        Import patch 00.txt
      d4008244
    • unknown's avatar
      Fixes bug #13377. my_open() & my_create() functions changed to use · 303cae4c
      unknown authored
      my_sopen() on win32 which allows to use FILE_SHARE_DELETE flag to 
      allow deleting opened files. my_sopen() implementation is added to
      support this functionality.
      
      
      include/my_global.h:
        Fixes bug #13377. Added number of constants for share delete file
        open option.
      include/my_sys.h:
        Fixes bug #13377. Added my_sopen function.
      mysys/my_create.c:
        Fixes bug #13377. my_create() function changed to use my_sopen() and which allows
        to use FILE_SHARE_DELETE flag on win32, which helps in deleting opened files.
      mysys/my_open.c:
        Fixes bug #13377. my_open() function changed to use my_sopen() on win32
        which allows to use FILE_SHARE_DELETE flag to allow deleting opened files.
      sql/log.cc:
        Fixes bug #13377. Additional patch - remove reference counting for
        opened binlog files, introduced in initial patch of #13377.
      sql/sql_class.h:
        Fixes bug #13377. Additional patch - remove reference counting for
        opened binlog files, introduced in initial patch of #13377.
      sql/sql_repl.cc:
        Fixes bug #13377. Additional patch - remove reference counting for
        opened binlog files, introduced in initial patch of #13377.
      303cae4c
  11. 23 Sep, 2005 1 commit
    • unknown's avatar
      Several fixes revelaled by Intel compiler. · ecffc1b8
      unknown authored
      cmd-line-utils/readline/complete.c:
        Added a cast.
      dbug/my_main.c:
        Added an include to avoid implicit declaration of
        my_thread_global_init()
      include/my_global.h:
        undef cannot be used on this predefined name.
        Since it is a custom fix for gcc 2.8.0, let's make it only
        effective in that case.
      include/my_sys.h:
        Added a new type, TYPE_NOT_SET.
      myisam/ft_boolean_search.c:
        Added casts.
      myisam/mi_key.c:
        Added cast.
      myisam/mi_open.c:
        Added cast.
        Changed function types.
      myisam/mi_test1.c:
        Added cast.
      myisam/myisamchk.c:
        Added cast.
      myisam/myisamdef.h:
        Changed function type.
      myisam/myisampack.c:
        Added casts.
      myisam/sp_key.c:
        Added cast.
      mysys/mf_iocache.c:
        Fixed invalid use of 0 to info->type. According to comment it
        should not have been set, but in earlier code by setting it
        to 0 would have been same as setting it to READ_CACHE. This
        probably was not desired, potential bug.
      server-tools/instance-manager/instance_options.cc:
        Fixed a typo.
      server-tools/instance-manager/protocol.cc:
        Changed enum to int.
        Changed char to uchar.
        Added casts.
      sql/mysql_priv.h:
        Bit overflow.
      sql/sql_base.cc:
        Removed unused label. The code below label was unused too, because
        there is a return just before.
      sql/sql_parse.cc:
        Removed unneccessary extra argument.
      ecffc1b8
  12. 15 Sep, 2005 1 commit
  13. 14 Sep, 2005 1 commit
    • unknown's avatar
      Fix QNX warning · a8c1ea97
      unknown authored
      include/my_global.h:
        Avoid warnings on QNX, only define HAVE_RINT if not found by configure
      a8c1ea97
  14. 02 Sep, 2005 1 commit
    • unknown's avatar
      my_global.h: · a46d6b0c
      unknown authored
        Back port of QNX work around for rint()
      
      
      include/my_global.h:
        Back port of QNX work around for rint()
      a46d6b0c
  15. 31 Aug, 2005 1 commit
    • unknown's avatar
      Add test for madvise() being declared in C++ code, because it is not · b34af8cd
      unknown authored
      on Solaris even though it is available, and declare it ourselves in
      that case. (Bug #7156)
      
      
      configure.in:
        Add test for madvise() being declared when C++ compiler is used.
      include/my_global.h:
        Handle madvise() being available but not declared in C++
      isam/extra.c:
        Fix typo in define test
      myisam/mi_extra.c:
        Fix typo in define test
      sql/examples/ha_tina.cc:
        Test that we have madvise() before trying to call it.
      b34af8cd
  16. 30 Aug, 2005 1 commit
    • unknown's avatar
      Fixes bug #5588. vio_was_interrupted() function was added to detect · a8a5e98e
      unknown authored
      read timeout properly on win32.
      
      
      include/my_global.h:
        Added win32 specific socket timeout error code.
      include/violite.h:
        Added vio_was_interrupted function that returns true if operation was
        not completed due to timeout.
      sql/mini_client.cc:
        added a check that replication read was not completed due to timeout.
      sql/net_serv.cc:
        net->last_errno should be equal to ER_NET_READ_INTERRUPTED in case if read
        operation was not completed due to timeout.
      vio/vio.c:
        added initialization code for vio_was_interrupted() function.
      vio/viosocket.c:
        Added vio_was_interrupted function that returns true if operation was
        not completed due to timeout.
      a8a5e98e
  17. 25 Aug, 2005 1 commit
    • unknown's avatar
      libmysqld.vcproj: · 4a226f6a
      unknown authored
        Changed spelling "Commerical" to "Commercial"
      mysqld.vcproj:
        Aligned engines with Unix version
      sql_class.cc:
        VC7 needs my_free() cast of first arg to be (gptr)
      my_global.h:
        Can't assume macro set_timespec_nsec exists if set_timespec does
      
      
      include/my_global.h:
        Can't assume macro set_timespec_nsec exists if set_timespec does
      sql/sql_class.cc:
        VC7 needs my_free() cast of first arg to be (gptr)
      VC++Files/sql/mysqld.vcproj:
        Aligned engines with Unix version
      VC++Files/libmysqld/libmysqld.vcproj:
        Changed spelling "Commerical" to "Commercial"
      4a226f6a
  18. 21 Aug, 2005 1 commit
    • unknown's avatar
      Cleanup during review of new pushed code · 72340a48
      unknown authored
      include/my_global.h:
        Safer macros to avoid possible overflows
      sql/item_cmpfunc.cc:
        Simple optimization
      sql/sp_head.cc:
        Indentation fixes
        Remove not needed "else" levels
        Added error checking for 'new'
        Simpler reseting of thd->spcont in execute_procedure
      sql/sql_base.cc:
        Faster new
      sql/sql_lex.cc:
        Use 'TRUE' instead of 'true'
      sql/sql_parse.cc:
        Faster new
      sql/sql_view.cc:
        No need to set 'tables' as it's not used
      sql/table.cc:
        Simpler DBUG_ASSERT()
      72340a48
  19. 18 Aug, 2005 1 commit
  20. 16 Aug, 2005 1 commit
    • unknown's avatar
      Fix SLEEP() to be interruptable. (Bug #12582) · cbdd54e4
      unknown authored
      include/my_global.h:
        Add set_timespec_nsec() for setting higher-resolution time.
      sql/item_func.cc:
        Use pthread_cond_timedwait() for SLEEP() so that it can be killed
        using the normal thread/query-killing code.
      cbdd54e4
  21. 19 Jul, 2005 1 commit
    • unknown's avatar
      Simple fixes during review of new code · 3a31f7b9
      unknown authored
      include/my_global.h:
        Added floatget() to read unaligned flaot
      mysql-test/r/select.result:
        Added test for found_rows()
      mysql-test/t/select.test:
        Added test for found_rows()
      sql/des_key_file.cc:
        Moved initalization of LOCK_des_key_file to mysqld to make simpler code and avoid theoretical race condition
      sql/field_conv.cc:
        Added optimizzed varsion of do_cut_string (for simple character sets)
      sql/item_func.cc:
        Simplify code (and ensure DBUG_ENTER is excuted before main code)
      sql/item_strfunc.cc:
        Safe calculation of max_length
        This was needed as max_length can now be 1<<32-1 (after konstantins recent patch to fix BLOB_LENGTH)
        Remove init_des_key_file() as this is not initialized in mysqld.cc
      sql/item_timefunc.cc:
        Safe calculation of max_length
        This was needed as max_length can now be 1<<32-1 (after konstantins recent patch to fix BLOB_LENGTH)
      sql/log_event.cc:
        Simplify code
      sql/mysql_priv.h:
        Moved initalization of LOCK_des_key_file to mysqld to make simpler code and avoid theoretical race condition
      sql/mysqld.cc:
        Moved initalization of LOCK_des_key_file to mysqld to make simpler code and avoid theoretical race condition
        Revert wrong patch of calling close_connection() in first close_connections() loop. (Bug #7403)
        Instead we now print a warning for closed connections only if mysqld is sarted with --warnings
        Added comments to make the close_connections() logic clearer
      sql/sql_prepare.cc:
        Use floatget() and doubleget() to protect against unaligned data
      sql/sql_select.cc:
        Fixed some cases unlikely cases where found_rows() would return wrong for queries that would return 0 or 1 rows
      3a31f7b9
  22. 12 Jul, 2005 1 commit
    • unknown's avatar
      Fixed some vio code that was using ___WIN__ instead of __WIN__ · 73fd169d
      unknown authored
      include/my_global.h:
        set SOCKET_EWOULDBLOCK to the proper windows def WSAEWOULDBLOCK
      sql/net_serv.cc:
        fixed typo with using 3 leading underscores instead of 2
      vio/vio.c:
        fixed typo with using 3 leading underscores instead of 2
      vio/viosocket.c:
        fixed typo with using 3 leading underscores instead of 2
      73fd169d
  23. 11 Jul, 2005 1 commit
  24. 06 Jul, 2005 1 commit
    • unknown's avatar
      a fix (bug #11544: Use of missing rint() function on QNX). · 502aa66c
      unknown authored
      include/my_global.h:
        a fix (bug #11544: Use of missing rint() function on QNX).
        We have to explicitly specify std:: namespace to use 
        rint() and isnan() functions in C++ scope on QNX due 
        to an error in the /usr/include/math.h
      502aa66c
  25. 24 Jun, 2005 1 commit
  26. 08 Jun, 2005 1 commit
    • unknown's avatar
      Fix for · 59445ce4
      unknown authored
      BUG#10675 - MySQL fails to build with --openssl on Mac OS X 10.4
      BUG#11150 - HP-UX yaSSL/OpenSSL configure/header problem
      Remove obsolete code.
      
      
      include/my_global.h:
        Obsolete code removed. OpenSSL doesn't have crypt anymore (it was dropped in ~2003).
        This patch fixes compilation failures with both OpenSSL and yaSSL on systems where
        crypt was defined in unistd.h.
        Conclusion is we do not use OpenSSL's crypt unless it wasn't defined in
        unistd.h/crypt.h and it was defined in old OpenSSL.
      59445ce4
  27. 05 Jun, 2005 1 commit
  28. 03 Jun, 2005 1 commit
  29. 26 May, 2005 1 commit
    • unknown's avatar
      Add ifdefs to control when "#pragma implementation" should be used · 22944a95
      unknown authored
      Added some more ifdefs for "#pragma interface"
      
      
      client/sql_string.cc:
        USE_PRAGMA_IMPLEMENTATION
      client/sql_string.h:
        USE_PRAGMA_INTERFACE
      include/my_global.h:
        Use pragma implementation for gcc pre version 3
      mysys/raid.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/field.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_berkeley.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_blackhole.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_heap.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_innodb.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_isam.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_isammrg.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_myisam.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_myisammrg.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_ndbcluster.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/handler.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/hash_filo.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_cmpfunc.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_func.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_geofunc.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_strfunc.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_subselect.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_sum.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_timefunc.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_uniq.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_uniq.h:
        USE_PRAGMA_INTERFACE
      sql/log_event.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/log_event.h:
        USE_PRAGMA_INTERFACE
      sql/opt_range.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/procedure.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/protocol.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/protocol_cursor.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/set_var.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_analyse.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_analyse.h:
        USE_PRAGMA_INTERFACE
      sql/sql_class.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_crypt.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_crypt.h:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_list.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_map.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_map.h:
        USE_PRAGMA_INTERFACE
      sql/sql_olap.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_select.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_string.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_udf.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/tztime.cc:
        USE_PRAGMA_IMPLEMENTATION
      22944a95
  30. 24 May, 2005 1 commit
  31. 23 May, 2005 2 commits
    • unknown's avatar
      Build fixes for icc, compile _without_ "-no-gnu" · 3ca4caef
      unknown authored
      include/my_global.h:
        icc does not define __ICC when emulating gcc. Use __INTEL_COMPILER to check for icc.
      ndb/src/cw/cpcd/Process.cpp:
        Remove rlimit64
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        Remove dirent64
      3ca4caef
    • unknown's avatar
      Build fix · d35e537a
      unknown authored
      include/my_global.h:
        Look for __INTEL_COMPILER to detect icc
      d35e537a
  32. 20 May, 2005 1 commit
    • unknown's avatar
      Macos 10.4 compatibility changes · cd215099
      unknown authored
      include/my_global.h:
        make it compilable on mac os
      ndb/src/kernel/SimBlockList.cpp:
        make it compilable with gcc 4.0
      cd215099
  33. 09 May, 2005 2 commits
  34. 06 May, 2005 1 commit
  35. 04 May, 2005 1 commit
    • unknown's avatar
      BUG#10241 cygwin port: invalid pragma interface directives · 9ab5f614
      unknown authored
       - Introduce ifdefs so we can control when to use #pragma interface on cygwin
      
      
      include/my_global.h:
        Turn on use of #pragma implementation and #pragma interface if compiled with GCC and platform != Cygwin
      include/raid.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/examples/ha_archive.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/examples/ha_example.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/field.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_berkeley.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_blackhole.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_heap.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_innodb.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_isam.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_isammrg.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_myisam.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_myisammrg.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/ha_ndbcluster.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/handler.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_cmpfunc.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_func.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_geofunc.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_strfunc.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_subselect.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_sum.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/item_timefunc.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/opt_range.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/procedure.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/protocol.h:
        replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION
      sql/set_var.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/sql_class.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/sql_list.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/sql_select.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/sql_string.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/sql_udf.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      sql/tztime.h:
        replace __GNUC__ with USE_PRAGMA_INTERFACE
      9ab5f614
  36. 30 Apr, 2005 1 commit
    • unknown's avatar
      yassl changeset 2: · d3d56609
      unknown authored
        remove FIX_GCC_LINKING_PROBLEM and -DDEFINE_CXA_PURE_VIRTUAL
        replace echo in configure.in with AC_MSG_WARN/AC_MSG_ERROR
        don't set -DUSE_MYSYS_NEW for gcc 2.95
        set $USE_MYSYS_NEW even if CXX is g++
        yassl bugfixes
        instantiate all yassl templates explicitly
      
      
      client/Makefile.am:
        mysqlbinlog as a c++ program may need my_new.cc (if CXX=gcc)
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      client/mysqladmin.cc:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      client/mysqlbinlog.cc:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      configure.in:
        echo should be AC_MSG_WARN or AC_MSG_ERROR
        don't set -DUSE_MYSYS_NEW for gcc 2.95 (to restore old behaviour)
        set $USE_MYSYS_NEW even if CXX is g++ (for yassl, as it can be linked with C programs)
        remove -DDEFINE_CXA_PURE_VIRTUAL - -DUSE_MYSYS_NEW is enough
      extra/yassl/mySTL/list.hpp:
        bugfixes
      extra/yassl/src/Makefile.am:
        no need to mess with CXXFLAGS anymore. Instantiate all templates explicitly
      extra/yassl/src/crypto_wrapper.cpp:
        instantiate templates explicitly
      extra/yassl/src/yassl_imp.cpp:
        instantiate templates explicitly
      extra/yassl/src/yassl_int.cpp:
        instantiate templates explicitly
      extra/yassl/taocrypt/include/runtime.hpp:
        use -DUSE_MYSYS_NEW not -DDEFINE_CXA_PURE_VIRTUAL
        assert in __cxa_pure_virtual
        remove dummy (and thus dangerous) __cxa_guard_acquire/__cxa_guard_release
      extra/yassl/taocrypt/src/Makefile.am:
        no need to mess with CXXFLAGS anymore. Instantiate all templates explicitly
      extra/yassl/taocrypt/src/integer.cpp:
        instantiate templates explicitly
      extra/yassl/taocrypt/src/rsa.cpp:
        instantiate templates explicitly
      include/my_global.h:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      mysys/my_new.cc:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      server-tools/instance-manager/command.cc:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      sql/ha_blackhole.cc:
        typo fixed
      sql/ha_innodb.cc:
        warning fixed
      sql/item_func.cc:
        use LL()
      sql/mysqld.cc:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      d3d56609
  37. 29 Apr, 2005 1 commit
    • unknown's avatar
      CAST(string_argument AS UNSIGNED) didn't work for big integers above the signed range. (Bug #7036) · 97b08214
      unknown authored
      Produce warnings of wrong cast of strings to signed/unsigned.
      Don't block not resolved IP's if DNS server is down (Bug #8467)
      Fix compiler problems with MinGW (Bug #8872)
      
      
      configure.in:
        Fix compiler problems with MinGW (Bug #8872)
      include/config-win.h:
        Fix compiler problems with MinGW (Bug #8872)
      include/my_global.h:
        Fix compiler problems with MinGW (Bug #8872)
      mysql-test/r/cast.result:
        Test for cast to signed/unsigned outside of range (Bug #7036)
      mysql-test/t/cast.test:
        Test for cast to signed/unsigned outside of range (Bug #7036)
      mysys/default.c:
        Cleanup (combine identical code). 
        Done mainly by Jani
      sql/field.h:
        Added cast_to_int_type() to ensure that enums are casted as numbers
      sql/hostname.cc:
        Don't block not resolved IP's if DNS server is down (Bug #8467)
      sql/item.h:
        Added cast_to_int_type() to ensure that enums are casted as numbers
      sql/item_func.cc:
        CAST(string_argument AS UNSIGNED) didn't work for big integers above the
        signed range. (Bug #7036)
        Produce warnings of wrong cast of strings to signed/unsigned
      sql/item_func.h:
        CAST(string_argument AS UNSIGNED) didn't work for big integers above the
        signed range. (Bug #7036)
      97b08214