1. 24 Mar, 2005 1 commit
    • unknown's avatar
      Fixes and test cases for Bug#8880 "Commands out of sync error with cursors" · 3b236b1d
      unknown authored
       and Bug#9159 "Server crash during mysql_stmt_close".
      The patch adds support for single-row result sets in cursors.
      
      
      libmysql/libmysql.c:
        If we wanted a cursor, and the server wasn't able to create one,
        buffer all rows on client. Currently this is possible only for
        single row result sets and some SHOW commands.
      sql/sql_prepare.cc:
        Properly free resources if there was a request to open a cursor which
        wasn't fullfilled.
        Give error on attempt to open a cursor for a statement not returning
        a result set.
      sql/sql_select.h:
        Initialize Item_arena of Cursor object. A case when a cursor object
        is created but not used is possible with single-row result sets.
      tests/mysql_client_test.c:
        Test cases for Bug#8880 and Bug#9159
      3b236b1d
  2. 19 Mar, 2005 2 commits
  3. 18 Mar, 2005 29 commits
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-5.0 · 914929cf
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-5.0
      
      
      914929cf
    • unknown's avatar
      data0type.h: · cfec2e4a
      unknown authored
        The missing DATA_BINARY_TYPE in BLOBs created with < 4.0.14 does not cause any harm, because there were no indexes on such BLOBs
      
      
      innobase/include/data0type.h:
        The missing DATA_BINARY_TYPE in BLOBs created with < 4.0.14 does not cause any harm, because there were no indexes on such BLOBs
      cfec2e4a
    • unknown's avatar
      data0type.ic: · 809291fb
      unknown authored
        Change the sorting order of TEXT columns in InnoDB: pad with spaces at the end in comparisons; we MUST UPDATE the MySQL MANUAL to warn about the need to rebuild tables (also MyISAM) in certain cases in an upgrade to 5.0.3; TODO: study what complications the missing DATA_BINARY_TYPE flag in InnoDB < 4.0.14 causes: we would compare then also BLOBs with space padding, not just TEXT
      
      
      innobase/include/data0type.ic:
        Change the sorting order of TEXT columns in InnoDB: pad with spaces at the end in comparisons; we MUST UPDATE the MySQL MANUAL to warn about the need to rebuild tables (also MyISAM) in certain cases in an upgrade to 5.0.3; TODO: study what complications the missing DATA_BINARY_TYPE flag in InnoDB < 4.0.14 causes: we would compare then also BLOBs with space padding, not just TEXT
      809291fb
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · b6193540
      unknown authored
      into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
      
      
      sql/sql_parse.cc:
        Auto merged
      b6193540
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-5.0 · 208eed01
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-5.0
      
      
      208eed01
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8e921914
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      Build-tools/Do-compile:
        Auto merged
      8e921914
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-5.0-build · 09f511eb
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      Build-tools/Do-compile:
        Auto merged
      09f511eb
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 479544c7
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      479544c7
    • unknown's avatar
      - removed MyISAM RAID from the Linux "Max" RPMs · b8cd76af
      unknown authored
      b8cd76af
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9ba7f59c
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      Build-tools/Do-compile:
        Auto merged
      9ba7f59c
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-build · 5c2240e7
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      5c2240e7
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 8580b2d9
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      8580b2d9
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0f52fb51
      unknown authored
      into mysql.com:/M50/mysql-5.0
      
      
      Build-tools/Do-compile:
        Auto merged
      0f52fb51
    • unknown's avatar
      Fixed BUG#6600: Stored procedure crash after repeated calls with check table · 6c621bbd
      unknown authored
      
      mysql-test/r/sp.result:
        New test case for BUG#6600.
      mysql-test/t/sp.test:
        New test case for BUG#6600.
      sql/sp_head.cc:
        Added yet another multiple result set statement to the list.
      sql/sql_parse.cc:
        Have to invalidate SP caches in CHECK TABLE, or it will produce very
        strange results when called in SPs.
      6c621bbd
    • unknown's avatar
      mysql-test-run.sh: · 1cc46f67
      unknown authored
        Disabled old feature to disable test cases
      
      
      mysql-test/mysql-test-run.sh:
        Disabled old feature to disable test cases
      1cc46f67
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-build · 02d24bfb
      unknown authored
      into mysql.com:/M50/build-5.0.3
      
      
      Build-tools/Do-compile:
        Auto merged
      02d24bfb
    • unknown's avatar
      Did some SP test style changes and added explanatory comments, · 7e79e705
      unknown authored
      and removed a have_innodb.inc inclusion which was left by mistake
      in an earlier change.
      
      
      mysql-test/r/sp_trans.result:
        Changed procedure name and delimiter setting to follow the style of the other SP test files.
      mysql-test/t/sp-error.test:
        Added comment with hint for bug test case style.
      mysql-test/t/sp-threads.test:
        Added comments, with hint for bug test case style.
      mysql-test/t/sp.test:
        Removed have_innodb.inc inclusion.
        Added comments about different SP test files, table usage and
        hint for bug test case style.
      mysql-test/t/sp_trans.test:
        Changed procedure name and delimiter setting to follow the style of the other SP test files.
      7e79e705
    • unknown's avatar
      Merge · 353bcc77
      unknown authored
      
      Build-tools/Do-compile:
        SCCS merged
      353bcc77
    • unknown's avatar
      8d298911
    • unknown's avatar
      Added more tests to grant2. Fixed some previous tests. · c9457005
      unknown authored
      Added new logic to ACL system:
      
      1) If GRANT OPTION (not mysql db):
         Ok to update existing user, but not password.
         Not allowed to make a new user.
      
      2) If UPDATE_ACL to mysql DB:
         Ok to update current user, but not make a new one.
      
      3) If INSERT_ACL to mysql DB:
         Ok to add a new user, but not modify existing.
      
      4) If GRANT OPTION to mysql DB:
         All modifications OK.
      
      
      mysql-test/r/grant2.result:
        Added more ACL tests and fixed results in some old tests.
      mysql-test/t/grant2.test:
        Added more ACL tests and fixed results in some old tests.
      sql/sql_acl.h:
        Made check_acl_user() visible to sql_parse.cc
      sql/sql_parse.cc:
        Added new logic to ACL system:
        
        1) If GRANT OPTION (not mysql db):
           Ok to update existing user, but not password.
           Not allowed to make a new user.
        
        2) If UPDATE_ACL to mysql DB:
           Ok to update current user, but not make a new one.
        
        3) If INSERT_ACL to mysql DB:
           Ok to add a new user, but not modify existing.
        
        4) If GRANT OPTION to mysql DB:
           All modifications OK.
      c9457005
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9d717722
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-5.0
      
      
      9d717722
    • unknown's avatar
      Manual merge · 0f58efbd
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      mysql-test/r/olap.result:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      BitKeeper/deleted/.del-isamchk.1.in~9d44303f6d951962:
        Auto merged
      BitKeeper/deleted/.del-isamlog.1.in~416d91adbf665b19:
        Auto merged
      0f58efbd
    • unknown's avatar
      olap.test: · ee2633a7
      unknown authored
        Added a test case for bug #8617.
      sql_select.cc:
        Fixed bug #8617.
        Queries with ROLLUP and LIMIT n returned more than n rows
        if SQL_CALC_FOUND_ROWS was used.
      
      
      sql/sql_select.cc:
        Fixed bug #8617.
        Queries with ROLLUP and LIMIT n returned more than n rows
        if SQL_CALC_FOUND_ROWS was used.
      mysql-test/t/olap.test:
        Added a test case for bug #8617.
      ee2633a7
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 7e9984b1
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      7e9984b1
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-build · 832c52d9
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      832c52d9
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-build · daf0cd14
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-build
      
      
      daf0cd14
    • unknown's avatar
      Fix merge of sql/sql_select.cc using Igor's patch (Bug #9254) · 63d70574
      unknown authored
      
      sql/sql_select.cc:
        Post-merge correction
      63d70574
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-5.0 · bffe61d8
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-5.0
      
      
      bffe61d8
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-5.0-build · bf0d45ae
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      bf0d45ae
  4. 17 Mar, 2005 8 commits