1. 28 Nov, 2004 4 commits
    • unknown's avatar
      Fix for division by zero problem: · 46e12a2b
      unknown authored
       * Don't try building ROR-intersect if the queried table has zero rows
       * Don't ever produce an estimate of zero returned rows.
      
      
      46e12a2b
    • unknown's avatar
      fix for decimal.c · d2c7736c
      unknown authored
      
      strings/decimal.c:
        fix
      d2c7736c
    • unknown's avatar
      protection: TRASH in delete · 30db8445
      unknown authored
      fixed a bug that it discovered
      
      
      include/my_sys.h:
        move TRASH to my_sys.h from sql_list.h
      sql/field.h:
        use TRASH macro
      sql/item.h:
        TRASH in delete
      sql/item_func.h:
        never delete item's manually!
      sql/opt_range.cc:
        TRASH in delete
      sql/sql_lex.h:
        TRASH in delete
      sql/sql_list.h:
        move TRASH to my_sys.h from sql_list.h
      sql/sql_parse.cc:
        don't use properties of deleted objects (even when it's safe)
      sql/sql_select.cc:
        TRASH in delete
      sql/sql_show.cc:
        TRASH in delete
      sql/sql_string.h:
        TRASH in delete
      30db8445
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 7a1ffc06
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      7a1ffc06
  2. 27 Nov, 2004 7 commits
    • unknown's avatar
      create/drop/rename user cleanup · 257763a9
      unknown authored
      
      dbug/user.r:
        help cralified
      include/mysqld_error.h:
        new error message added
      mysql-test/r/grant.result:
        results updated
      mysql-test/r/grant2.result:
        results updated
      mysql-test/t/grant.test:
        results updated
      mysql-test/t/grant2.test:
        results updated
      sql/share/czech/errmsg.txt:
        error message updated
      sql/share/danish/errmsg.txt:
        error message updated
      sql/share/dutch/errmsg.txt:
        error message updated
      sql/share/english/errmsg.txt:
        error message updated
      sql/share/estonian/errmsg.txt:
        error message updated
      sql/share/french/errmsg.txt:
        error message updated
      sql/sql_acl.cc:
        changed error reporting for create/drop/rename user to be consistent with drop table
      sql/share/german/errmsg.txt:
        error message updated
      sql/share/greek/errmsg.txt:
        error message updated
      sql/share/hungarian/errmsg.txt:
        error message updated
      sql/share/italian/errmsg.txt:
        error message updated
      sql/share/japanese/errmsg.txt:
        error message updated
      sql/share/korean/errmsg.txt:
        error message updated
      sql/share/norwegian-ny/errmsg.txt:
        error message updated
      sql/share/norwegian/errmsg.txt:
        error message updated
      sql/share/polish/errmsg.txt:
        error message updated
      sql/share/portuguese/errmsg.txt:
        error message updated
      sql/share/romanian/errmsg.txt:
        error message updated
      sql/share/russian/errmsg.txt:
        error message updated
      sql/share/serbian/errmsg.txt:
        error message updated
      sql/share/slovak/errmsg.txt:
        error message updated
      sql/share/spanish/errmsg.txt:
        error message updated
      sql/share/swedish/errmsg.txt:
        error message updated
      sql/share/ukrainian/errmsg.txt:
        error message updated
      257763a9
    • unknown's avatar
      d777a9aa
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · cf1de7d9
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      cf1de7d9
    • unknown's avatar
      fix decimal2longlong too · df1f7cab
      unknown authored
      
      mysql-test/r/rpl_start_stop_slave.result:
        results updated
      df1f7cab
    • unknown's avatar
      mysql_priv.h: · 4a9e7d38
      unknown authored
        Reverts incomplete change of insert_fields()
      
      
      sql/mysql_priv.h:
        Reverts incomplete change of insert_fields()
      4a9e7d38
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 87347253
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/sql_parse.cc:
        Auto merged
      87347253
    • unknown's avatar
      better overflow checks in decimal2ulonglong · 368cde22
      unknown authored
      better truncation check in decimal2ulonglong
      
      
      368cde22
  3. 26 Nov, 2004 20 commits
  4. 25 Nov, 2004 9 commits
    • unknown's avatar
      ha_innodb.cc: · 5557ae74
      unknown authored
        Add conversion of the InnoDB error DB_LOCK_TABLE_FULL to the corresponding MySQL error
      
      
      sql/ha_innodb.cc:
        Add conversion of the InnoDB error DB_LOCK_TABLE_FULL to the corresponding MySQL error
      5557ae74
    • unknown's avatar
      Many files: · a560f0fa
      unknown authored
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      
      
      innobase/buf/buf0buf.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/buf/buf0lru.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/buf0lru.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/db0err.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/row0sel.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/ut0mem.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/mem/mem0pool.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/row/row0mysql.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/row/row0sel.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/srv/srv0start.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/ut/ut0mem.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      a560f0fa
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 036a61c2
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-wl2050-new
      
      
      036a61c2
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · bf39ae6a
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      bf39ae6a
    • unknown's avatar
      moved default setting to config.ini to MgmtSrvr · 00534590
      unknown authored
      only try to connect to other ndb_mgmd if connect_string explicitly given or config_file not given
      
      
      ndb/src/mgmsrv/main.cpp:
        moved default setting to config.ini to MgmtSrvr
      00534590
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · a58afeeb
      unknown authored
      into mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      
      a58afeeb
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · fbededc8
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-wl2050-new
      
      
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      fbededc8
    • unknown's avatar
      Fix for the unixware: non-posix sigwait · e67586b3
      unknown authored
      
      server-tools/instance-manager/manager.cc:
        Use my_sigwait instead of sigwait
      e67586b3
    • unknown's avatar
      WL#2050 - CREATE USER and DROP USER and RENAME USER · 75e2c2fd
      unknown authored
      Added new commands CREATE USER and RENAME USER.
      Changed behaviour of DROP USER.
      Changed an error messages for the new commands.
      
      
      Docs/mysqld_error.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      include/mysqld_error.h:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Changed an error code for more general use.
      mysql-test/r/grant.result:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Changed test results.
      mysql-test/r/grant2.result:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        New test results.
      mysql-test/r/ps_1general.result:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Changed test results.
      mysql-test/t/grant.test:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Updated old tests for new behaviour of DROP USER.
        It does now implicitly remove all privileges and
        does not fail when privileges are still in place.
        Fixed a typo, which left an user in the database,
        whereby other tests could be confused.
        Added a DROP USER for another test user.
      mysql-test/t/grant2.test:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Added new tests for the new features.
      sql/share/czech/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/danish/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/dutch/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/english/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/estonian/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/french/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/german/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/greek/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/hungarian/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/italian/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/japanese/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/korean/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/norwegian-ny/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/norwegian/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/polish/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/portuguese/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/romanian/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/russian/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/serbian/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/slovak/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/spanish/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/swedish/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/share/ukrainian/errmsg.txt:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Modified an error message for more general use.
      sql/sql_acl.cc:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Added a destructor for the GRANT_TABLE object to get
        rid of a hash_column in cases where a nonsense row was
        read from the privilege tables. Added code to delete
        such an object when it is not entered into the 
        column_priv_hash due to a nonsense row.
        Added function comments to two unmodified functions.
        Replaced mysql_drop_user() by the implementation of all
        of the functions as specified in the Low Level Design.
      sql/sql_acl.h:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Added prototypes for new functions.
      sql/sql_lex.h:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Added new command codes for CREATE USER and
        RENAME USER.
      sql/sql_parse.cc:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Added case clauses for the new commands CREATE USER
        and RENAME USER.
      sql/sql_yacc.yy:
        WL#2050 - CREATE USER and DROP USER and RENAME USER
        Added syntax for the new commands CREATE USER and 
        RENAME USER, reworked DROP USER, introduced a new
        'user_list' and 'rename_list', renamed the old 
        'user_list' to 'grant_list'. The difference is that
        'grant_list' contains 'grant_user' (with optional
        IDENTIFIED BY), while 'user_list' contains 'user'.
        Concentrated privilege initializazions into a new
        section 'clear_privileges'.
      75e2c2fd