1. 14 Apr, 2005 1 commit
    • unknown's avatar
      BUG#9455 mysqladmin status crash the server · 7b8f4c6d
      unknown authored
       - Send error to client when mysql_change_db fails.
      
      
      sql/sql_db.cc:
        Added a note to comment for mysql_change_db that it will not send any error to the client.
      sql/sql_parse.cc:
        Call net_send_error(thd) if mysql_change_db fails.
        Remove comments claiming that mysql_change_db sends error the the client.
      7b8f4c6d
  2. 12 Apr, 2005 16 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 5630f073
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      5630f073
    • unknown's avatar
      mysql-test/r/flush_block_commit.result · 70d8ae01
      unknown authored
          correct result after bugfix
      sql/sql_class.cc
          initialize net.query_cache_query
      
      
      mysql-test/r/flush_block_commit.result:
        correct result after bugfix
      sql/sql_class.cc:
        initialize net.query_cache_query
      sql/sql_yacc.yy:
        oops
      70d8ae01
    • unknown's avatar
      Bit type: code clean-up. · 923b76f8
      unknown authored
      
      sql/field.h:
        Field_bit_as_char::size_of() added - we use it in the ::new_key_field().
      sql/sql_table.cc:
        We have to set pack_flag for bit fields in the mysql_prepare_table()
        as we use it in the create_length_to_internal_length().
      923b76f8
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 87e742c1
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      87e742c1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · b59dc1e8
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/handler.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      b59dc1e8
    • unknown's avatar
      FLUSH TABLES WITH READ LOCK should block writes to binlog too · 859b3e16
      unknown authored
      
      mysql-test/r/flush_block_commit.result:
        FLUSH TABLES WITH READ LOCK should block writes to binlog too
        it does not yet
      mysql-test/t/flush_block_commit.test:
        FLUSH TABLES WITH READ LOCK should block writes to binlog too
        it does not yet
      859b3e16
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · ce02a55c
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      ce02a55c
    • unknown's avatar
      Bit type: code cleanup. · 3767fb01
      unknown authored
      
      sql/field.cc:
        We have to use memcmp() here to get determinate results.
      sql/sql_table.cc:
        Should set pack_flag here instead of doing |=
      3767fb01
    • unknown's avatar
      Fixed BUG#7185: Stored procedure crash if identifier is AVG · db40f4a5
      unknown authored
      
      mysql-test/r/sp.result:
        Added test case for BUG#7185.
      mysql-test/t/sp.test:
        Added test case for BUG#7185.
      sql/sql_yacc.yy:
        Allow non-reserved words as stored procedure names.
      db40f4a5
    • unknown's avatar
      Fixed BUG#6663: Stored Procedures code report non-selected DB · 99b986d0
      unknown authored
                      when CREATE but not when ALTER
      
      
      sql/sql_parse.cc:
        Return more consistent error message for alter/drop procedure/function
        when no current database and no qualified name.
      99b986d0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 378c506d
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      mysql-test/r/heap.result:
        Auto merged
      mysql-test/t/heap.test:
        Auto merged
      378c506d
    • unknown's avatar
      Merge grichter@bk-internal.mysql.com:/home/bk/mysql-5.0 · 79c62d31
      unknown authored
      into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-5.0
      
      
      79c62d31
    • unknown's avatar
      BUG#8924 'Explain' shows different strategy · 5b5a1239
      unknown authored
       - If number of records in table is 4, the calculated cost for using "index" and "range" become so close so that any rounding errors becomes visible.
       - Added one more record to the tables for heap test and expoect "range" to be selected
       - Decrease number of records in t1 for range and expect "index" to be choosen.
      
      
      mysql-test/r/heap.result:
        Add one more record to table t1 and expect explain to use "range"
      mysql-test/r/heap_btree.result:
        Add one more record to table t1 and expect explain to use "range"
      mysql-test/r/heap_hash.result:
        Add one more record to table t1 and expect explain to use "range"
      mysql-test/r/range.result:
        Update results
      mysql-test/t/heap.test:
        Add one more record to table t1 and expect explain to use "range"
      mysql-test/t/heap_btree.test:
        Add one more record to table t1 and expect explain to use "range"
      mysql-test/t/heap_hash.test:
        Add one more record to table t1 in order for optimizer to select use of "range" deterministic
      mysql-test/t/range.test:
        Remove one record from table t1 to avoid that cost for "index" and "range" are so close that rounding error become visible.
      5b5a1239
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 281fe07f
      unknown authored
      into mysql.com:/usr/home/ram/work/5.0.bit_class
      
      
      sql/field.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      281fe07f
    • unknown's avatar
      Bit type support for non-MyISAM tables. · dcb61639
      unknown authored
      dcb61639
    • unknown's avatar
      Fix for verification tests: loss of decimal places should not · 62be4f5e
      unknown authored
      return an error
      
      
      62be4f5e
  3. 11 Apr, 2005 22 commits
  4. 10 Apr, 2005 1 commit
    • unknown's avatar
      Fix for bug #9796 "Query Cache caches queries with CURRENT_USER() · 3e0a6263
      unknown authored
      function".
      
      We should not cache queries using CURRENT_USER() function as we do it
      for some other functions, e.g. USER() function.
      
      
      mysql-test/r/query_cache.result:
        Let us test that queries with CURRENT_USER() function are not cached.
      mysql-test/t/query_cache.test:
        Let us test that queries with CURRENT_USER() function are not cached.
      sql/item_create.cc:
        create_func_current_user():
          We should not cache queries which use CURRENT_USER() function.
      3e0a6263