1. 30 Sep, 2004 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 420ff3fc
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg4302
      
      
      sql/item.cc:
        Auto merged
      420ff3fc
    • unknown's avatar
      Final solution for bug# 4302 "Ambiguos order by when renamed column is · 570923eb
      unknown authored
      identical to another in result"
      According to SQL standard queries like 
      "select t1.a as col from t1, t2 order by a" should return an error if
      both tables contain field a.
      
      
      mysql-test/r/order_by.result:
        Updated test to conform SQL-standard.
      mysql-test/t/order_by.test:
        Updated test to conform SQL-standard.
      sql/item.cc:
        find_item_in_list() has now one more out parameter which is not used
        in item.cc functions.
      sql/mysql_priv.h:
        find_item_in_list(): Added boolean out parameter "unaliased" which
        indicates that we have found field by its original name and not by
        its alias in item (select) list.
      sql/sql_base.cc:
        find_item_in_list(): Added boolean out parameter "unaliased" which
        indicates that we have found field by its original name and not by
        its alias in item (select) list. This means that additional check is
        required to ensure there will be no ambiguity if we would search for this
        field in all tables.
      sql/sql_select.cc:
        find_order_in_list(): If we have found field in select list by its
        original name and not by its alias then we should perform additional
        check to ensure that there will be no ambiguity if we will search for
        this field in all tables. Also small cleanup.
      570923eb
  2. 28 Sep, 2004 16 commits
    • unknown's avatar
      Some of the recently pushed prepared statements · 7da6b608
      unknown authored
      tests were disabled due to failures caused by floating point conversion
      issues on optimized builds).
      
      
      mysql-test/include/ps_conv.inc:
        Disable some of the tests for the test suite to pass on an optimized 
        build (floating point issues...).
      mysql-test/include/ps_query.inc:
        Disable some of the tests for the test suite to pass on an optimized 
        build (floating point issues...).
      mysql-test/r/ps_2myisam.result:
        Fix test results.
      mysql-test/r/ps_3innodb.result:
        Fix test results.
      mysql-test/r/ps_4heap.result:
        Fix test results.
      mysql-test/r/ps_5merge.result:
        Fix test results.
      mysql-test/r/ps_6bdb.result:
        Fix test results.
      mysql-test/r/ps_7ndb.result:
        Fix test results.
      7da6b608
    • unknown's avatar
      Merge mysql.com:/home/bk/mysql-4.1 · 3afbb330
      unknown authored
      into mysql.com:/users/kboortz/daily/work/mysql-4.1-vax
      
      3afbb330
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2d41b8e0
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      2d41b8e0
    • unknown's avatar
      ha_ndbcluster.cc: · a90cb70c
      unknown authored
        typo
      
      
      sql/ha_ndbcluster.cc:
        typo
      a90cb70c
    • unknown's avatar
      set correct lockmode in all reads... · 51d1a6b3
      unknown authored
          move lockmode from scan operation to operation
          added read tuple with lock mode
      
      
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        added read tuple with lock mode
      ndb/include/ndbapi/NdbOperation.hpp:
        move lockmode from scan operation to operation
      ndb/include/ndbapi/NdbScanOperation.hpp:
        move lockmode from scan operation to operation
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        added read tuple with lock mode
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        added read tuple with lock mode
      sql/ha_ndbcluster.cc:
        set correct lockmode in all reads...
        moved lockmode from scan operatoin to operation
      51d1a6b3
    • unknown's avatar
      mysql-test-run.sh: · db2ab496
      unknown authored
        Make timer an option
      
      
      mysql-test/mysql-test-run.sh:
        Make timer an option
      db2ab496
    • unknown's avatar
      Merge mysql.com:/home/bk/mysql-4.1 · dd9c1329
      unknown authored
      into mysql.com:/users/kboortz/daily/work/mysql-4.1-vax
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      dd9c1329
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · fa582213
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      fa582213
    • unknown's avatar
      client_test.test: · c7a18f63
      unknown authored
        Run client_test as a testcase
        new file
      mysql-test-run.sh:
        More clearly report failure if --force, also exit 1
      client_test.c:
        Use MAXPATHLEN in test_frm_bug()
        Renable test cases disabled for running from mysql-test-run
      mysqltest.c:
        Don't check errno from popen, may not be set
      
      
      client/mysqltest.c:
        Don't check errno from popen, may not be set
      tests/client_test.c:
        Use MAXPATHLEN in test_frm_bug()
        Renable test cases disabled for running from mysql-test-run
      mysql-test/mysql-test-run.sh:
        More clearly report failure if --force, also exit 1
      mysql-test/t/client_test.test:
        Run client_test as a testcase
      c7a18f63
    • unknown's avatar
      Give store_for_compare a more meaningful name, cleanup and comment the · 3aa0116b
      unknown authored
      call.
      
      
      sql/item_cmpfunc.cc:
        Rename: Field::store_for_compare -> Field::can_be_compared_as_longlong
      3aa0116b
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 74369365
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      74369365
    • unknown's avatar
      Merge mysql.com:/home/bk/mysql-4.1 · b470ee68
      unknown authored
      into mysql.com:/users/kboortz/daily/work/mysql-4.1-es
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      b470ee68
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · fb4e0dde
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      fb4e0dde
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 02caa99b
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      02caa99b
    • unknown's avatar
      Adjusted so auto_increment value after bulk insert will be exactly +1 after... · 6e028ad0
      unknown authored
      Adjusted so auto_increment value after bulk insert will be exactly +1 after last (if no parallel inserts)
      
      
      6e028ad0
    • unknown's avatar
      mysql-test-run.sh: · 00980028
      unknown authored
        Embarrassing typo
      
      
      mysql-test/mysql-test-run.sh:
        Embarrassing typo
      00980028
  3. 27 Sep, 2004 3 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6797e319
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      6797e319
    • unknown's avatar
      mysql-test-run.sh: · a26cea5e
      unknown authored
        Added timing output for each test case.
        Added --embedded-server option.
      mysqltest.c:
        Added 'start_timer', 'end_timer' commands
      Makefile.am:
        Include mysys/my_getsystime.c to get time function in mysqltest
      Many files:
        new file
      
      
      client/Makefile.am:
        Include mysys/my_getsystime.c to get time function in mysqltest
      client/mysqltest.c:
        Added 'start_timer', 'end_timer' commands
      mysql-test/mysql-test-run.sh:
        Added timing output for each test case.
        Added --embedded-server option.
      a26cea5e
    • unknown's avatar
      removed init on ConfigRetriever · b370bad1
      unknown authored
          added some debug printouts
          some changes in ndbcluster_init to make start of mysqld first work
      
      
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        removed init on ConfigRetriever
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        removed init on ConfigRetriever
        added some debug printouts
      ndb/src/kernel/vm/Configuration.cpp:
        removed init on ConfigRetriever
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        removed init on ConfigRetriever
        added sleep in retry
      sql/ha_ndbcluster.cc:
        some changes in ndbcluster_init to make start of mysqld first work
      b370bad1
  4. 26 Sep, 2004 11 commits
  5. 25 Sep, 2004 8 commits