1. 13 Feb, 2006 1 commit
  2. 10 Feb, 2006 1 commit
    • unknown's avatar
      Bug#14013 mysql_stmt_store_result() bombs if a cursor is open · 101e618f
      unknown authored
       - Add code to 'mysql_stmt_store_result' to allow it to be called on 
         a prepared statement with open server side cursor.
       - Add tests to mysql_client_test that uses 'mysql_stmt_store_result'
      
      
      client/mysqltest.c:
        Enable cursor protocol(remove the ifdef BUG14013_FIXED)
        When running in cursor mode, the warnings from execute needs 
        to be extracted after mysql_stmt_execute, put them in a dynamic string 
        for later use.
        Untabify some tabs.
      libmysql/libmysql.c:
        Allow 'mysql_stmt_store_result' to be called on a statement with an open server side cursor.
        Detect that a server side cursor is open and send a "fetch" to ask for all rows to be sent to the client.
        Read all binary rows as normal store.
        Check that server said last row was sent after all binary rows has been sent.
      tests/mysql_client_test.c:
        Update 'fetch_n' function to take parameter indicating if 'mysql_stmt_store_result' should be used on the statement.
        Call fetch_n with parameter set to use 'mysql_stmt_store_result'
      101e618f
  3. 01 Feb, 2006 1 commit
    • unknown's avatar
      Use common function 'append_field' to output the value of one field to the result. · db16cfc5
      unknown authored
      Fix for extra zero in exponent of double values on windows.
      
      
      client/mysqltest.c:
        Write new function 'append_field' which takes care of appending one field to the dynamic string.
        Use function 'append_field' from both ps and normal execution
        Add hack to 'append_field' that removes the extra '0' in exponent for double values on Windows.
      mysql-test/r/type_float.result:
        One zero too much was removed( I think )
      mysql-test/t/insert.test:
        Remove the "replace_result" for extra zero in  exponent
      mysql-test/t/type_float.test:
        Remove the "replace_result" for extra zero in  exponent
      mysql-test/t/variables.test:
        Remove the "replace_result" for extra zero in  exponent
      db16cfc5
  4. 16 Jan, 2006 2 commits
    • unknown's avatar
      extra/comp_err.c : Fix a merge error. · db5fe0fc
      unknown authored
      
      extra/comp_err.c:
        Fix a merge error (closing '}' was lost), correct formatting (tab -> blanks).
      db5fe0fc
    • unknown's avatar
      Manual merge of the fix for bug#16106. · 111cacfc
      unknown authored
      Currently failing tests (for me) in non-debug build:
      blackhole fulltext fulltext_cache fulltext_left_join fulltext_multi
      
      
      scripts/mysqld_multi.sh:
        Auto merged
      extra/comp_err.c:
        Manual merge: From 4.1 to 5.0, the license line was moved to a different place.
      111cacfc
  5. 13 Jan, 2006 18 commits
  6. 12 Jan, 2006 17 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 3bf3bb20
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg12198-2
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      3bf3bb20
    • unknown's avatar
      Fix for bug #12198 "Temporary table aliasing does not work inside stored · c12a3dfe
      unknown authored
      functions".
      
      We should ignore alias when we check if table was already marked as temporary
      when we calculate set of tables to be prelocked. Otherwise we will erroneously
      treat tables which are used in same routine and have same name but different
      alias as non-temporary.
      
      
      mysql-test/r/sp.result:
        Added test for bug #12198 "Temporary table aliasing does not work inside stored
        functions" and other tests which cover handling of temporary tables in prelocked
        mode.
      mysql-test/t/sp.test:
        Added test for bug #12198 "Temporary table aliasing does not work inside stored
        functions" and other tests which cover handling of temporary tables in prelocked
        mode.
      sql/sp_head.cc:
        sp_head::merge_table_list():
          We should ignore alias when we check if table was already marked as temporary
          when we calculate set of tables to be prelocked. Otherwise we will erroneously
          treat tables which are used in same routine and have same name but different
          alias as non-temporary.
      c12a3dfe
    • unknown's avatar
      Fixed a bug in merge. · 0f4962c3
      unknown authored
      0f4962c3
    • unknown's avatar
      Fix for Netware build. · 5c28e9c8
      unknown authored
      5c28e9c8
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 · a48380cd
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
      
      
      client/mysqlimport.c:
        Auto merged
      include/config-netware.h:
        Auto merged
      innobase/os/os0thread.c:
        Auto merged
      netware/mysqld_safe.c:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysqld.cc:
        Merged from 4.1.
      sql/sql_base.cc:
        Merged from 4.1.
      sql/sql_handler.cc:
        Merged from 4.1.
      sql/sql_select.cc:
        Merged from 4.1.
      a48380cd
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 26252fa2
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      26252fa2
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my50-wl2930_fixup · 9e49c77c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      9e49c77c
    • unknown's avatar
      7b77b4c7
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.0 · 1665d237
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
      
      
      include/config-netware.h:
        Auto merged
      innobase/os/os0thread.c:
        Auto merged
      netware/mysqld_safe.c:
        Merge from 4.0 to 4.1
      sql/mysqld.cc:
        Merge from 4.0 to 4.1
      1665d237
    • unknown's avatar
      NetWare specific change to increase thread stack size. · 2946f9a6
      unknown authored
      Changes to Netware specific mysqld_safe.c
      
      
      include/config-netware.h:
        NetWare specific change to increase thread stack size.
      innobase/os/os0thread.c:
        NetWare specific change to increase thread stack size.
      netware/mysqld_safe.c:
        NetWare specific change to make multiple mysqld_safe instances
        work when called through a NCF file.
      sql/mysqld.cc:
        NetWare specific change to increase thread stack size.
      2946f9a6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0fa2fdb9
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      
      0fa2fdb9
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 35d46cee
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      35d46cee
    • unknown's avatar
      sql_show.cc: · 46fdcba4
      unknown authored
        after-merge fix for
        bug#15581 COALESCE function truncates mutli-byte TINYTEXT values
      
      
      sql/sql_show.cc:
        after-merge fix for bug#15581 COALESCE function truncates mutli-byte TINYTEXT values
        ,
      46fdcba4
    • unknown's avatar
      ctype_utf8.result: · cd1f75e9
      unknown authored
        After merge fix:
        fixing order of results.
      
      
      mysql-test/r/ctype_utf8.result:
        After merge fix:
        fixing order of results.
      cd1f75e9
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 29505f38
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug16166-r2
      
      
      29505f38
    • unknown's avatar
      Fix typo bug in previous cset · 9878a35a
      unknown authored
      9878a35a
    • unknown's avatar
      BUG#16166, "Can't use index_merge with FORCE INDEX": adjust the heurstics check to take into · 8d9ffc6a
      unknown authored
      account that "FORCE INDEX" disables full table scans, and not range/index_merge scans.
      (with post-review fixes)
      
      
      mysql-test/r/index_merge.result:
        Testcase for BUG#16166
      mysql-test/t/index_merge.test:
        Testcase for BUG#16166
      sql/sql_select.cc:
        BUG#16166: "Can't use index_merge with FORCE INDEX": adjust the heuristics check:
        if (force-index-is-used && there-is-possible-ref-access && 
        +    THERE IS NO POSSIBLE RANGE/INDEX_MERGE ACCESS)
        {
          ...
      8d9ffc6a