1. 02 May, 2006 4 commits
    • unknown's avatar
      Fix spelling in comments as requested by Osku · e8770dfe
      unknown authored
      This will make charset code easier to understand
      
      
      include/m_ctype.h:
        Fix spelling in comments
      mysql-test/t/cast.test:
        Fix spelling in comments
      mysql-test/t/query_cache.test:
        Fix spelling in comments
      sql/sql_string.cc:
        Fix spelling in comments
      strings/CHARSET_INFO.txt:
        Fix spelling in comments
      e8770dfe
    • unknown's avatar
      WL#2257 REFERENTIAL_CONSTRAINTS view · 79cc1546
      unknown authored
      added I_S.REFARENTIAL_CONSTRAINTS table
      
      
      mysql-test/r/information_schema.result:
        WL#2257 REFERENTIAL_CONSTRAINTS view
         result fix
      mysql-test/r/information_schema_db.result:
        WL#2257 REFERENTIAL_CONSTRAINTS view
         result fix
      mysql-test/r/information_schema_inno.result:
        WL#2257 REFERENTIAL_CONSTRAINTS view
         test case
      mysql-test/t/information_schema_inno.test:
        WL#2257 REFERENTIAL_CONSTRAINTS view
         test case
      sql/ha_innodb.cc:
        WL#2257 REFERENTIAL_CONSTRAINTS view
      79cc1546
    • unknown's avatar
      Merge · fb2c04a1
      unknown authored
      
      configure.in:
        Auto merged
      include/config-win.h:
        Auto merged
      fb2c04a1
    • unknown's avatar
      Fix name of error in view_grant test · 768e5dcc
      unknown authored
      
      mysql-test/t/view_grant.test:
        Fix error name
      768e5dcc
  2. 01 May, 2006 13 commits
  3. 30 Apr, 2006 4 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-clean · c3c5f8d6
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/deleted/.del-mysql_upgrade.dsp:
        Delete: VC++Files/client/mysql_upgrade.dsp
      BitKeeper/deleted/.del-mysql_upgrade_ia64.dsp:
        Delete: VC++Files/client/mysql_upgrade_ia64.dsp
      BitKeeper/deleted/.del-mysql_upgrade.c:
        Delete: client/mysql_upgrade.c
      VC++Files/mysql.dsw:
        Auto merged
      VC++Files/mysql.sln:
        Auto merged
      VC++Files/mysql_ia64.dsw:
        Auto merged
      client/mysql.cc:
        Auto merged
      config/ac-macros/zlib.m4:
        Auto merged
      configure.in:
        Auto merged
      extra/yassl/Makefile.am:
        Auto merged
      extra/yassl/taocrypt/Makefile.am:
        Auto merged
      include/my_global.h:
        Auto merged
      include/mysql.h:
        Auto merged
      libmysql/libmysql.def:
        Auto merged
      libmysqld/libmysqld.def:
        Auto merged
      mysql-test/r/grant2.result:
        Auto merged
      mysql-test/r/sp-security.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/trigger.result:
        Auto merged
      mysql-test/r/udf.result:
        Auto merged
      mysql-test/t/grant2.test:
        Auto merged
      mysql-test/t/rpl_openssl.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      mysql-test/t/sp-security.test:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      client/Makefile.am:
        Resolve conflict
      config/ac-macros/yassl.m4:
        Resolve conflict
      mysql-test/include/have_udf.inc:
        Resolve conflict
      mysql-test/lib/mtr_process.pl:
        Resolve conflict
      mysql-test/mysql-test-run.pl:
        Resolve conflict
      mysql-test/r/have_udf.require:
        Resolve conflict
      mysql-test/r/rpl_openssl.result:
        Resolve conflict
      mysql-test/t/disabled.def:
        Resolve conflict
      mysql-test/t/information_schema.test:
        Resolve conflict
      server-tools/instance-manager/instance_options.cc:
        Resolve conflict
      sql/mysql_priv.h:
        Resolve conflict
      sql/set_var.cc:
        Resolve conflict
      support-files/mysql.spec.sh:
        Resolve conflict
      c3c5f8d6
    • unknown's avatar
      Fix error in having.test to use name instead of number (fixes merge problem) · 383d35eb
      unknown authored
      
      mysql-test/t/having.test:
        Use error name instead of number
      383d35eb
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/tmp_merge · 9f7548ae
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      mysql-test/r/user_var.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Resolve conflict
      mysql-test/ndb/ndbcluster.sh:
        Resolve conflict
      sql/set_var.cc:
        Resolve conflict
      sql/share/errmsg.txt:
        Resolve conflict
      9f7548ae
    • unknown's avatar
      Merge zim.(none):/home/brian/mysql/tmp_merge · 472f4a84
      unknown authored
      into  zim.(none):/home/brian/mysql/merge-5.1
      
      
      sql/ha_archive.cc:
        Merge to remove writes. Also removed one unneeded DBUG_PRINT
      sql/ha_archive.h:
        Merge
      472f4a84
  4. 29 Apr, 2006 3 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 180cecdc
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      
      180cecdc
    • unknown's avatar
      config-win.h: · 59a73f17
      unknown authored
        Fix strange "double" define for popen.
        Avoid warnings about sprintf() etc. being unsafe.
        Corrected typo "#endfif"
      
      
      include/config-win.h:
        Fix strange "double" define for popen.
        Avoid warnings about sprintf() etc. being unsafe.
        Corrected typo "#endfif"
      59a73f17
    • unknown's avatar
      configure.in: · 4fadc751
      unknown authored
        Changed version to 4.1.20
      
      
      configure.in:
        Changed version to 4.1.20
      4fadc751
  5. 28 Apr, 2006 16 commits
    • unknown's avatar
      mysql.spec.sh: · 9cffcab4
      unknown authored
        Backport of changes in 5.0 (bug#18294)
      
      
      support-files/mysql.spec.sh:
        Backport of changes in 5.0 (bug#18294)
      9cffcab4
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · fb7a6143
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      
      fb7a6143
    • unknown's avatar
      BUG#19145: mysqld crashes if you set the default value of an enum field to NULL · dd68976a
      unknown authored
      Now test for NULLness the pointers returned from objects created from the
      default value. Pushing patch on behalf of cmiller.
      
      
      mysql-test/r/null.result:
        Add test case
      mysql-test/t/null.test:
        Add test case
      sql/sql_table.cc:
        No longer blindly dereference pointer of the string representation of the
        values, where "NULL" is NUL. Raise INVALID DEFAULT error messages where
        appropriate.
        
        Note that the -O1 optimization flag made debugging this extremely tricky, with
        misleading results, and that removing it from the Makefile during debugging can
        be invaluable.
      dd68976a
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-5.0 · 53a4e3ee
      unknown authored
      into  devsrv-b.mysql.com:/users/msvensson/mysql-5.0
      
      
      53a4e3ee
    • unknown's avatar
      mysqlslap.c: · 09ac4a5f
      unknown authored
        Avoid embedding a bunch of whitespace in --help message.
      
      
      client/mysqlslap.c:
        Avoid embedding a bunch of whitespace in --help message.
      09ac4a5f
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · e196351d
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
      
      
      e196351d
    • unknown's avatar
      mysql.spec.sh: · 5fd32db8
      unknown authored
        Include and run mysql_upgrade if needed (bug#19353)
      
      
      support-files/mysql.spec.sh:
        Include and run mysql_upgrade if needed (bug#19353)
      5fd32db8
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · a59807d8
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      
      a59807d8
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-5.0 · 74566d84
      unknown authored
      into  devsrv-b.mysql.com:/users/msvensson/mysql-5.0
      
      
      74566d84
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1 · e92e1dac
      unknown authored
      into  devsrv-b.mysql.com:/users/msvensson/mysql-4.1
      
      
      e92e1dac
    • unknown's avatar
      Bug#18818 configure: No longer finds OpenSSL on Mac OS X · 9b69052c
      unknown authored
       - Eval shrext_cmds variable before using it
       - Moved from acinclude.m4 to openssl.m4 and zlib.m4 when merging 4.1 -> 5.0
      
      
      config/ac-macros/openssl.m4:
        Move from acinclude.m4
      config/ac-macros/zlib.m4:
        Move from acinclude.m4
      9b69052c
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · 728ad6dd
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003:
        Changes to acinclude.m4 will go into openssl.m4 and zlib.m4
      728ad6dd
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1 · 62e09b3e
      unknown authored
      into  devsrv-b.mysql.com:/users/msvensson/mysql-4.1
      
      
      62e09b3e
    • unknown's avatar
      Merge lsmy3.wdf.sap.corp:/data/users/gkodinov/mysql-4.1-B18492 · ef7ec424
      unknown authored
      into  lsmy3.wdf.sap.corp:/data/users/gkodinov/mysql-5.0-B18492
      
      
      mysql-test/r/subselect.result:
        merged
      sql/item.cc:
        merged
      sql/item.h:
        merged
      sql/item_subselect.cc:
        merged
      ef7ec424
    • unknown's avatar
      BUG#18492: mysqld reports ER_ILLEGAL_REFERENCE in --ps-protocol · 3a0d0b4c
      unknown authored
      In the code that converts IN predicates to EXISTS predicates it is changing
      the select list elements to constant 1. Example :
      SELECT ... FROM ...  WHERE a IN (SELECT c FROM ...)
      is transformed to :
      SELECT ... FROM ... WHERE EXISTS (SELECT 1 FROM ...  HAVING a = c)
      However there can be no FROM clause in the IN subquery and it may not be
      a simple select : SELECT ... FROM ... WHERE a IN (SELECT f(..) AS
      c UNION SELECT ...) This query is transformed to : SELECT ... FROM ...
      WHERE EXISTS (SELECT 1 FROM (SELECT f(..) AS c UNION SELECT ...)
      x HAVING a = c) In the above query c in the HAVING clause is made to be
      an Item_null_helper (a subclass of Item_ref) pointing to the real
      Item_field (which is not referenced anywhere else in the query anymore).
      This is done because Item_ref_null_helper collects information whether
      there are NULL values in the result.  This is OK for directly executed
      statements, because the Item_field pointed by the Item_null_helper is
      already fixed when the transformation is done.  But when executed as
      a prepared statement all the Item instances are "un-fixed" before the
      recompilation of the prepared statement. So when the Item_null_helper
      gets fixed it discovers that the Item_field it points to is not fixed
      and issues an error.  The remedy is to keep the original select list
      references when there are no tables in the FROM clause. So the above
      becomes : SELECT ... FROM ...  WHERE EXISTS (SELECT c FROM (SELECT f(..)
      AS c UNION SELECT ...) x HAVING a = c) In this way c is referenced
      directly in the select list as well as by reference in the HAVING
      clause. So it gets correctly fixed even with prepared statements.  And
      since the Item_null_helper subclass of Item_ref_null_helper is not used
      anywhere else it's taken out.
      
      
      mysql-test/r/ps_11bugs.result:
        Test case for the bug
      mysql-test/r/subselect.result:
        Explain updated because of the tranformation
      mysql-test/t/ps_11bugs.test:
        Testcase for the bug
      sql/item.cc:
        Taking out Item_null_helper as it's no longer needed
      sql/item.h:
        Taking out Item_null_helper as it's no longer needed
      sql/item_subselect.cc:
        The described change to the IN->EXISTS transformation
      3a0d0b4c
    • unknown's avatar
      Disable unstable test case. · 2e8397d9
      unknown authored
      2e8397d9