1. 08 Jun, 2005 22 commits
    • unknown's avatar
      Disable dynamic SQL in stored routines. · 3fbdaf36
      unknown authored
      This is to close Bug#10975, Bug#7115, Bug#10605 
      This feature will be implemented in a future release.
      
      
      mysql-test/r/sp-error.result:
        Test results fixed (test coverage for disabled Dynamic SQL in SP).
      mysql-test/t/sp-error.test:
        Test coverage to disable Dynamic SQL in stored routines.
      sql/sql_yacc.yy:
        Disable dynamic SQL in stored routines.
      3fbdaf36
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0537106b
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.9764
      
      
      0537106b
    • unknown's avatar
      Fix for bug #10896 (0.00 > -0.00) · 1c5c678c
      unknown authored
      
      mysql-test/r/type_newdecimal.result:
        test result fixed
      mysql-test/t/type_newdecimal.test:
        test case added
      sql/my_decimal.h:
        we neede to check for zero here not to get -0.00
      1c5c678c
    • unknown's avatar
      Trim trailing spaces. · 8aba6f29
      unknown authored
      8aba6f29
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 60a5939f
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.9764
      
      
      60a5939f
    • unknown's avatar
      Fix for bug #9764 (DISTINCT IFNULL truncates data) · 2fded7d5
      unknown authored
      
      mysql-test/r/create.result:
        test result fixed
      mysql-test/r/distinct.result:
        test result fixed
      mysql-test/t/distinct.test:
        test case added
      sql/item_cmpfunc.cc:
        max_length should be calculated differently for DECIMAL_RESULT and others
      2fded7d5
    • unknown's avatar
      Cleanup sql_prepare.cc · 70c0f310
      unknown authored
      
      sql/sql_prepare.cc:
        Cleanup mysql_test_* family of calls: now we don't send error message
        from mysql_stmt_prepare, so no need to support -1 return code 
        (meaning error is not sent to client) in these functions.
        Move unit->cleanup() to mysql_stmt_prepare() as it's done in most
        of the mysql_test_ functions, and is a no-op for those which don't
        call unit->prepare(). This should make fixing of Bug#10729 (cursors)
        easier.
      70c0f310
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · dbfce2a5
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/test/ndbapi/testNdbApi.cpp:
        Auto merged
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      ndb/tools/restore/Restore.cpp:
        Auto merged
      ndb/tools/restore/consumer_restore.cpp:
        Auto merged
      dbfce2a5
    • unknown's avatar
      bug#11166 - ndb · a7917b1e
      unknown authored
        Fix potential inconsistency when running ndb_restore due to faulty parsing
          of backup log wrt inserts
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Make sure that entire stopGCP is in log
      ndb/tools/restore/Restore.cpp:
        
          Notice: this will not group and commit the deltas listed below
          into a ChangeSet, because there are no ChangeSet comments.
          Click [Checkin] again to check in only the commented deltas,
          or type Control-l to go back and provide ChangeSet comments.
      ndb/tools/restore/Restore.hpp:
        Keep track of last gci to next iteration
      ndb/tools/restore/consumer_restore.cpp:
        Handle insert in log
        Only allow certain errors
      a7917b1e
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · e595b7ee
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.8459
      
      
      e595b7ee
    • unknown's avatar
      Fix for bug #8429 (FORMAT returns incorrect result) · 4408350b
      unknown authored
      
      mysql-test/r/func_math.result:
        test result ixed
      mysql-test/t/func_math.test:
        test case added
      sql/item_strfunc.cc:
        Item_func_format::val_str now handles 'decimal' and 'double' values in
        different way
      4408350b
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-5.0.7-clone · 5c6143b6
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      5c6143b6
    • unknown's avatar
      - make sure to include mysql-test/t/*.sql files in the binary distributions and when · caa903ef
      unknown authored
        "make install" is called (mysql_delimiter.sql was missing)
      
      
      mysql-test/Makefile.am:
        - make sure to include mysql-test/t/*.sql files in the binary distributions
          (mysql_delimiter.sql was missing)
      scripts/make_binary_distribution.sh:
        - make sure to include mysql-test/t/*.sql files when doing a "make install"
          (mysql_delimiter.sql was missing)
      caa903ef
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · b5755ae6
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.9894
      
      
      b5755ae6
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 46b323bc
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      46b323bc
    • unknown's avatar
      Fix for bug #8425 (Insufficient precision in the '/' operation) · 3eb21ef3
      unknown authored
        As the bug was already fixed, just testcase added here
      
      
      mysql-test/r/type_newdecimal.result:
        test result fixed
      mysql-test/t/type_newdecimal.test:
        test case added
      3eb21ef3
    • unknown's avatar
      BUG#10893 Cluster hangs on initial startup · db20f45b
      unknown authored
      IPCConfig wasn't constructing the connect string properly.
      
      
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        fix construction of connect string from configuration.
        
        the port number was not being added correctly. This would cause the handle to default
        to localhost:1186
      db20f45b
    • unknown's avatar
      Fix for bug #9894 (Negative numbers are allowed to 'unsigned' column) · 54ea6018
      unknown authored
      
      mysql-test/r/type_decimal.result:
        test result fixed
      mysql-test/r/type_newdecimal.result:
        test result fixed
      mysql-test/t/type_newdecimal.test:
        test case added
      sql/field.cc:
        We need to refuse negative integers when 'unsigned'
      54ea6018
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/mysql-5.0-release · d8839004
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      d8839004
    • unknown's avatar
      Fix failing ps_6bdb and ps_7ndb tests. · 41afcdb6
      unknown authored
      The changes are similar to those pushed with a fix for Bug#9899,
      so my guess is that ps_6dbd and ps_7ndb tests were simply not run then.
      
      
      mysql-test/r/ps_6bdb.result:
        Fix failing test.
      mysql-test/r/ps_7ndb.result:
        Fix failing test.
      41afcdb6
    • unknown's avatar
      Fix ps_7ndb.result wrt working LIMIT clause (due to porting · e523df43
      unknown authored
      missed ityesterday :()
      
      
      mysql-test/r/ps_7ndb.result:
        Fix ps_7ndb.result wrt working LIMIT clause.
      e523df43
    • unknown's avatar
  2. 07 Jun, 2005 18 commits
    • unknown's avatar
      A followup patch for Bug#7306 (limit in prepared statements): · 936688fe
      unknown authored
      don't evaluate subqueries during statement prepare, even if they
      are not correlated.
      With post-review fixes.
      
      
      sql/mysql_priv.h:
        Add UNCACHEABLE_PREPARE to mark subqueries as non-constant in 
        mysql_stmt_prepare
      sql/sql_lex.cc:
        Add a missing assert: noone can call unit::set_limit from 
        mysql_stmt_prepare.
      sql/sql_lex.h:
        Comment fixed.
      sql/sql_parse.cc:
        Mark new SELECT_LEXes as uncacheable if they created during 
        statement prepare.
      sql/sql_prepare.cc:
        Switch off the uncacheable flag when prepare is done.
      936688fe
    • unknown's avatar
      Enabling back part of sp.test which no longer fails in --ps-protocol mode · 0bc3c622
      unknown authored
      (Bug which caused its failure before was fixed in the beginning of March
       by the ChangeSet that introduced improved SP-locking).
      
      
      0bc3c622
    • unknown's avatar
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · 12ef4ff5
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-5.0
      
      
      12ef4ff5
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-4.1-0 · ef8115d6
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      myisam/mi_key.c:
        Auto merged
      myisam/mi_rnext_same.c:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      ef8115d6
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · 07ad3fc4
      unknown authored
      into frost.snake.net:/Volumes/frost2/MySQL/bk/mysql-5.0
      
      
      07ad3fc4
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3817ff00
      unknown authored
      into frost.snake.net:/Volumes/frost2/MySQL/bk/mysql-5.0
      
      
      sql/mysqld.cc:
        Auto merged
      3817ff00
    • unknown's avatar
      Typo in help message. · d9a0ab48
      unknown authored
      d9a0ab48
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 37e3dc83
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      37e3dc83
    • unknown's avatar
      sql_yacc.yy: · 9f938e89
      unknown authored
        Added missing ';'.
      
      
      sql/sql_yacc.yy:
        Added missing ';'.
      9f938e89
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · fff8ff08
      unknown authored
      into mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      
      fff8ff08
    • unknown's avatar
      several fixes to the previous patch · 4e482bd3
      unknown authored
      
      server-tools/instance-manager/instance_options.cc:
        fix order of if branches
      server-tools/instance-manager/instance_options.h:
        portability fix
      server-tools/instance-manager/parse_output.cc:
        remove stupid comment
      server-tools/instance-manager/parse_output.h:
        portability fix
      4e482bd3
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · beb288f4
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-4.1
      
      
      beb288f4
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-4.1-0 · 3145787d
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      myisam/mi_key.c:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      sql/item_buff.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      3145787d
    • unknown's avatar
      Many files: · d499ead6
      unknown authored
        Fixed bug #9899: erronious NOT_NULL flag for some attributes
        in the EXPLAIN table.
      
      
      sql/sql_class.cc:
        Fixed bug #9899: erronious NOT_NULL flag for some attributes
        in the EXPLAIN table.
      mysql-test/r/ps_1general.result:
        Fixed bug #9899: erronious NOT_NULL flag for some attributes
        in the EXPLAIN table.
      mysql-test/r/ps_2myisam.result:
        Fixed bug #9899: erronious NOT_NULL flag for some attributes
        in the EXPLAIN table.
      mysql-test/r/ps_3innodb.result:
        Fixed bug #9899: erronious NOT_NULL flag for some attributes
        in the EXPLAIN table.
      mysql-test/r/ps_4heap.result:
        Fixed bug #9899: erronious NOT_NULL flag for some attributes
        in the EXPLAIN table.
      mysql-test/r/ps_5merge.result:
        Fixed bug #9899: erronious NOT_NULL flag for some attributes
        in the EXPLAIN table.
      d499ead6
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · d4e921d6
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      d4e921d6
    • unknown's avatar
      bug#11133 - ndb · 62321bd2
      unknown authored
        incorrect handling of writeTuple with multi op transaction
      
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        1) Pass operation instead of insertIsDone to LQH
        2) transform operation correctly when in parallell que
           (multi op within same trans)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Let ACC decide what operation was performed when WRITE
      ndb/test/ndbapi/testNdbApi.cpp:
        Add testcase for bug 11133
      ndb/test/run-test/daily-basic-tests.txt:
        Add testcase for bug 11133
      62321bd2
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · e5a97df6
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-5.0
      
      
      e5a97df6