1. 19 Feb, 2008 1 commit
  2. 18 Feb, 2008 9 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-build · a94d5d53
      unknown authored
      into  gbichot4.local:/home/mysql_src/mysql-5.1-build-gca
      
      
      client/mysqltest.c:
        Auto merged
      include/my_sys.h:
        Auto merged
      mysys/thr_lock.c:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_plugin.cc:
        Auto merged
      a94d5d53
    • unknown's avatar
      Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name> · e2103aaf
      unknown authored
      value" error even though the value was correct): a C function in my_getopt.c
      was taking bool* in parameter and was called from C++ sql_plugin.cc,
      but on some Mac OS X sizeof(bool) is 1 in C and 4 in C++, giving funny
      mismatches. Fixed, all other occurences of bool in C are removed, future
      ones are blocked by a "C-bool-catcher" in my_global.h (use my_bool).
      
      
      client/mysqldump.c:
        my_bool for C
      client/mysqltest.c:
        my_bool for C
      extra/replace.c:
        my_bool for C
      include/my_getopt.h:
        my_bool for C
      include/my_global.h:
        Prevent people from using bool in C, it causes real bugs.
      include/my_sys.h:
        my_bool for C
      include/my_time.h:
        my_bool for C
      include/thr_lock.h:
        my_bool for C
      libmysql/libmysql.c:
        my_bool for C
      mysys/charset.c:
        my_bool for C
      mysys/my_getopt.c:
        my_bool for C
      mysys/queues.c:
        my_bool for C
      mysys/thr_lock.c:
        my_bool for C
      regex/reginit.c:
        my_bool for C
      sql/set_var.cc:
        C functions use my_bool so we must use my_bool too.
      sql/sql_plugin.cc:
        C functions use my_bool so we must use my_bool too.
        This fixes a real observed bug of Maria, because on some Mac OS X,
        sizeof(bool) is 1 in C and 4 in C++, so the bool* does wrong.
        Removing useless line.
      storage/heap/hp_update.c:
        my_bool for C
      storage/myisam/mi_check.c:
        my_bool for C
      storage/myisam/mi_dynrec.c:
        my_bool for C
      storage/myisam/mi_search.c:
        my_bool for C
      storage/myisam/mi_update.c:
        my_bool for C
      storage/myisam/mi_write.c:
        my_bool for C
      storage/myisam/myisamdef.h:
        my_bool for C
      storage/myisam/myisamlog.c:
        my_bool for C
      storage/myisam/myisampack.c:
        my_bool for C
      tests/mysql_client_test.c:
        my_bool for C
      unittest/mysys/bitmap-t.c:
        my_bool for C
      vio/viosslfactories.c:
        my_bool for C
      e2103aaf
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-build · 9c09c049
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/build/51
      
      9c09c049
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/build/50 · 9cf3730f
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/build/51
      
      
      scripts/mysql_config.sh:
        Auto merged
      support-files/mysql.spec.sh:
        Manual merge
      9cf3730f
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/50-b28555 · 82e9eb76
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/build/50
      
      82e9eb76
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/b21158/50 · 1c9a285e
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/build/50
      
      1c9a285e
    • unknown's avatar
      Bug #28555 Upgrading MySQL Fails to shut down old server and kills socket file · 1b642127
      unknown authored
      Check for an existing MySQL server package from a different vendor or
      major MySQL version.  In such a case, refuse to install the server and
      recommend how to safely remove the old packages before installing the
      new ones.
      
      
      support-files/mysql.spec.sh:
        Add to the %pre server scriptlet checks to ensure that we're not
        upgrading from another vendor's package, or that this is not a
        major version upgrade.  If an automatic upgrade isn't safe, print
        basic instructions on how to do a manual upgrade, and bail out.
      1b642127
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/maria/mysql-maria-gca · 6702a87b
      unknown authored
      into  mysql.com:/home/kent/bk/build/mysql-5.1-build
      
      6702a87b
    • unknown's avatar
      CMakeLists.txt: · 20d2ce58
      unknown authored
        Missing "sql_profile.cc" was added
      
      
      libmysqld/CMakeLists.txt:
        Missing "sql_profile.cc" was added
      20d2ce58
  3. 14 Feb, 2008 3 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-build · 9a4d72a0
      unknown authored
      into  pcrews-mac-local.local:/Users/pcrews/usr/local/bin/data0/34468/mysql-5.1-build-34468
      
      9a4d72a0
    • unknown's avatar
      Bug#34468 - csv_not_null fails · 40c0a1c5
      unknown authored
      Altered test to expect error on UPDATE SET <not_null_col> = NULL instead
      of expecting warning and re-recorded .result file.
      
      
      mysql-test/r/csv_not_null.result:
        Bug#34468 - csv_not_null fails
        Altered test to expect error on UPDATE SET <not_null_col> = NULL instead
        of expecting warning and re-recorded .result file.  New results file passes
      mysql-test/t/csv_not_null.test:
        Bug#34468 - csv_not_null fails
        Altered test to expect error on UPDATE SET <not_null_col> = NULL instead
        of expecting warning and re-recorded .result file.  Also cleaned up comments
      40c0a1c5
    • unknown's avatar
      Bug #21158 mysql_config doesn't include -lmygcc · 0cbe3b6a
      unknown authored
      Add -lmygcc to mysql_config output for libs, libs_r, and embedded_libs.
      
      Required when linking against our static libs, if yassl is used, and gcc
      used to build library is significantly different from that which is using
      the library.
      
      
      scripts/mysql_config.sh:
        Add -lmygcc to --libs, --libs_r, and --embedded-libs output, if libmygcc.a
        is found in the pkglibdir.
        
        This works around a problem when linking against the static client
        libs which were built with a different GCC than the current compiler.
        In this case, without -lmygcc, several builtin functions (e.g.,
        __pure_virtual, __builtin_delete) are left undefined.  Currently it
        is yassl which pulls in these symbols.
        
        This isn't a problem when linking against shared libraries, or when
        using the same compiler version.
        
        Currently it shows up with libs built on build.mysql.com with gcc 2.95.3,
        when using them on more recent systems.
        
        
        Also strip the -mcpu, -mtune, and -march cflags.  The calling package can
        determine what optimization parameters to choose.
      0cbe3b6a
  4. 13 Feb, 2008 9 commits
  5. 12 Feb, 2008 1 commit
    • unknown's avatar
      ha_ndbcluster.m4: · a7babafb
      unknown authored
        If the third number in version is followed by a letter, include it
        in NDB_VERSION_STATUS, but not in numeric NDB_VERSION_BUILD
      
      
      config/ac-macros/ha_ndbcluster.m4:
        If the third number in version is followed by a letter, include it
        in NDB_VERSION_STATUS, but not in numeric NDB_VERSION_BUILD
      a7babafb
  6. 11 Feb, 2008 4 commits
    • unknown's avatar
      Make this build on Windows. · 6cc89659
      unknown authored
      
      extra/resolveip.c:
        Regrettably, Windows does not have inet_aton. We still don't want to use inet_addr on all platforms, because it is inaccurate and deprecated on many.
      6cc89659
    • unknown's avatar
      Disable sporadically failing test cases (Bug#34454). · c36f69b9
      unknown authored
      
      mysql-test/suite/rpl_ndb/t/disabled.def:
        Disable sporadically failing test cases.
      c36f69b9
    • unknown's avatar
      Disabling declaration of debug variable for non-debug builds. · 189961c5
      unknown authored
      (originally from Mats)
      
      
      sql/slave.cc:
        Disabling declaration in non-debug builds.
      189961c5
    • unknown's avatar
      Patch to eliminate some valgrind warnings in debug printout code. · a1f1d260
      unknown authored
      (originally from Mats)
      
      
      sql/rpl_rli.cc:
        Adding variable to mark an instance of Relay_log_info as fake.
      sql/rpl_rli.h:
        Adding variable to mark an instance of Relay_log_info as fake.
      sql/slave.cc:
        Not printing debug information if we are working with a fake
        instance of Relay_log_info. This because the result of calling
        update is nonsense, and trying to print it generates valgrind
        warnings.
      sql/sql_binlog.cc:
        Marking newly created instance of Relay_log_info as a fake instance.
      a1f1d260
  7. 09 Feb, 2008 3 commits
  8. 08 Feb, 2008 10 commits