1. 08 Dec, 2006 1 commit
  2. 06 Dec, 2006 2 commits
    • unknown's avatar
      bug #22372 · 405f3366
      unknown authored
      datafile added to be used in gis.test
      
      
      mysql-test/std_data/bad_gis_data.dat:
        New BitKeeper file ``mysql-test/std_data/bad_gis_data.dat''
      405f3366
    • unknown's avatar
      bug #22372 (LOAD DATA crashes the table with the geometry field) · ea7d3db0
      unknown authored
      The problem is that the GEOMETRY NOT NULL can't automatically set
      any value as a default one. We always tried to complete LOAD DATA
      command even if there's not enough data in file. That doesn't work
      for GEOMETRY NOT NULL. Now Field_*::reset() returns an error sign
      and it's checked in mysql_load()
      
      
      mysql-test/r/gis.result:
        test result
      mysql-test/t/gis.test:
        testcase
      sql/field.cc:
        reset() now returns error sign
      sql/field.h:
        Field_*::reset() now returns error sign if the field can't be reset
      sql/sql_load.cc:
        check if field can't be reset and return error if it's so
      ea7d3db0
  3. 01 Dec, 2006 1 commit
  4. 30 Nov, 2006 2 commits
  5. 29 Nov, 2006 7 commits
  6. 28 Nov, 2006 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a61be9aa
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-4.1-runtime
      
      
      libmysql/libmysql.c:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      a61be9aa
    • unknown's avatar
      Makefile.am: · 3d9319e6
      unknown authored
        If using \$(srcdir)/mysql.info in action, use same in rule.
      
      
      Docs/Makefile.am:
        If using \$(srcdir)/mysql.info in action, use same in rule.
      3d9319e6
  7. 27 Nov, 2006 3 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3ebe7e2a
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-4.1-merge
      
      3ebe7e2a
    • unknown's avatar
      Makefile.am: · 0169639a
      unknown authored
        BSD compatibility
      
      
      Docs/Makefile.am:
        BSD compatibility
      0169639a
    • unknown's avatar
      gen_rec.awk: · ba1dde1a
      unknown authored
        Fix undefined behaviour.
      Many files:
        Reenabled build outside ource tree
      
      
      bdb/dist/gen_rec.awk:
        Fix undefined behaviour.
      acinclude.m4:
        Reenabled build outside ource tree
      configure.in:
        Reenabled build outside ource tree
      libmysql_r/Makefile.am:
        Reenabled build outside ource tree
      libmysqld/Makefile.am:
        Reenabled build outside ource tree
      ndb/config/common.mk.am:
        Reenabled build outside ource tree
      ndb/config/type_kernel.mk.am:
        Reenabled build outside ource tree
      ndb/config/type_ndbapi.mk.am:
        Reenabled build outside ource tree
      ndb/config/type_ndbapitest.mk.am:
        Reenabled build outside ource tree
      ndb/config/type_ndbapitools.mk.am:
        Reenabled build outside ource tree
      ndb/config/type_util.mk.am:
        Reenabled build outside ource tree
      ndb/src/kernel/Makefile.am:
        Reenabled build outside ource tree
      ba1dde1a
  8. 24 Nov, 2006 1 commit
    • unknown's avatar
      fixes for mtr_unique.pl · 0cdb8896
      unknown authored
      
      mysql-test/lib/mtr_unique.pl:
        - add info message to mtr_require_unique_id_and_wait as suggested
        - fix for security issue
        - locks for pids of processes that don't exist anymore are reused, if ps is present and working as expected
      0cdb8896
  9. 22 Nov, 2006 3 commits
    • unknown's avatar
      Cleanup: remove const. · 8d82e99c
      unknown authored
      8d82e99c
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-runtime · 9bdd7750
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug21635
      
      
      tests/mysql_client_test.c:
        Manual merge.
      9bdd7750
    • unknown's avatar
      BUG#21635: MYSQL_FIELD struct's member strings seem to misbehave for · 71a6bf42
      unknown authored
      expression cols.
      
      The problem was that MYSQL_FIELD::org_name was set for MIN() and MAX()
      functions (COUNT() is also mentioned in the bug report but was already
      fixed).
      
      After this patch for expressions MYSQL_FIELD::name is set to either
      expression itself or its alias, and other data origin fields of
      MYSQL_FILED (db, org_table, table, org_name) are empty strings.
      
      
      sql/item_sum.cc:
        For expressions only col_name should be non-empty string.
      tests/mysql_client_test.c:
        Add test case for bug#21635: MYSQL_FIELD struct's member strings seem
        to misbehave for expression cols.
      71a6bf42
  10. 21 Nov, 2006 2 commits
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-runtime · 34295668
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug23159
      
      34295668
    • unknown's avatar
      BUG#23159: prepared_stmt_count should be status variable · 512b1094
      unknown authored
      Make Prepared_stmt_count a global status variable, accessible via
      SHOW STATUS LIKE 'Prepared_stmt_count';.  Documentation should be
      updated.
      
      
      mysql-test/r/ps.result:
        Update result for bug#16365: Prepared Statements: DoS with too many
        open statements, according to bug#23159: prepared_stmt_count should be
        status variable.
      mysql-test/t/ps.test:
        Update test case for bug#16365: Prepared Statements: DoS with too many
        open statements, according to bug#23159: prepared_stmt_count should be
        status variable.
      sql/mysqld.cc:
        Add Prepared_stmt_count as global status variable.
      sql/set_var.cc:
        Remove prepared_stmt_count as system variable.
      512b1094
  11. 17 Nov, 2006 4 commits
    • unknown's avatar
      MTR_BUILD_THREAD=auto selects a value for MTR_BUILD_THREAD from a pool (WL#2690) · 4da8a66a
      unknown authored
      
      mysql-test/lib/mtr_unique.pl:
        Library file used by mysql-test-run.pl to determine unique test run identifiers.
      4da8a66a
    • unknown's avatar
      ABI fix · d24da25c
      unknown authored
      
      include/mysql_h.ic:
        this one should actually be removed from the ABI
      d24da25c
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-runtime · 68571082
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug23383
      
      68571082
    • unknown's avatar
      BUG#23383: mysql_affected_rows() returns different values than · eb3a54e6
      unknown authored
      mysql_stmt_affected_rows()
      
      The problem was that affected_rows for prepared statement wasn't updated
      in the client library on the error.  The solution is to always update
      affected_rows, which will be equal to -1 on the error.
      
      
      libmysql/libmysql.c:
        Update status variables even in the case of an error.  Some variables
        have a defined value on the error (like affected_rows is -1), others are
        undefined, so updating them won't harm.
      libmysqld/lib_sql.cc:
        Update status variables even in the case of an error.  Some variables
        have a defined value on the error (like affected_rows is -1), others are
        undefined, so updating them won't harm.
      tests/mysql_client_test.c:
        Add test for bug#23383: mysql_affected_rows() returns different values
        than mysql_stmt_affected_rows().
      eb3a54e6
  12. 16 Nov, 2006 7 commits
    • unknown's avatar
      Merge trift2.:/MySQL/M41/mysql-4.1 · 2cdd947c
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      2cdd947c
    • unknown's avatar
      merging · 5a0cf28a
      unknown authored
      5a0cf28a
    • unknown's avatar
      merging · aa681ccf
      unknown authored
      aa681ccf
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1 · 08ab6848
      unknown authored
      into  mysql.com:/home/hf/work/mysql-4.1-mrg
      
      
      include/mysql.h:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/rename.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_class.h:
        Auto merged
      Makefile.am:
        merging
      client/mysqltest.c:
        merging
      mysql-test/t/mysql_client.test:
        merging
      08ab6848
    • unknown's avatar
      support-files/mysql.spec.sh : Add an "Obsoletes" note relative to SuSE RPMs (bug#22081). · d43d5e03
      unknown authored
      
      support-files/mysql.spec.sh:
        Explicitly note that the "MySQL-shared" RPMs (as built by MySQL AB) replace 
        "mysql-shared" (as distributed by SuSE) to allow easy upgrading (bug#22081).
      d43d5e03
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-runtime · 467211be
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug17047
      
      467211be
    • unknown's avatar
      BUG#17047: CHAR() and IN() can return NULL without signaling NULL result · f77509f1
      unknown authored
      The problem was that some functions (namely IN() starting with 4.1, and
      CHAR() starting with 5.0) were returning NULL in certain conditions,
      while they didn't set their maybe_null flag.  Because of that there could
      be some problems with 'IS NULL' check, and statements that depend on the
      function value domain, like CREATE TABLE t1 SELECT 1 IN (2, NULL);.
      
      The fix is to set maybe_null correctly.
      
      
      mysql-test/r/func_in.result:
        Add result for bug#17047: CHAR() and IN() can return NULL without
        signaling NULL result.
      mysql-test/t/func_in.test:
        Add test case for bug#17047: CHAR() and IN() can return NULL without
        signaling NULL result.
      sql/item_cmpfunc.cc:
        Remove assignment to maybe_null, as it was already set in fix_fields()
        based on all arguments, not only on the first.
      f77509f1
  13. 15 Nov, 2006 3 commits
  14. 14 Nov, 2006 2 commits