1. 22 Mar, 2005 2 commits
    • unknown's avatar
      sql_acl.cc, sql_acl.h, sql_parse.cc · d9abeb76
      unknown authored
        New privilege CREATE USER (CREATE_USER_ACL, Create_user_priv) added
      grant2.test:
        new tests (mostly backported from jani's patch)
      system_mysql_db.result, sp.result, grant2.result, grant.result:
        results updated
      
      
      mysql-test/r/grant.result:
        results updated
      mysql-test/r/grant2.result:
        results updated
      mysql-test/r/sp.result:
        results updated
      mysql-test/r/system_mysql_db.result:
        results updated
      mysql-test/t/grant2.test:
        new tests (mostly backported from jani's patch)
      scripts/mysql_create_system_tables.sh:
        Create_user_priv added
      scripts/mysql_fix_privilege_tables.sql:
        Create_user_priv added
      sql/sql_acl.cc:
        Create_user_priv added
      sql/sql_acl.h:
        Create_user_priv added
      sql/sql_parse.cc:
        Create_user_priv added
      sql/sql_show.cc:
        Create_user_priv added
      sql/sql_yacc.yy:
        Create_user_priv added
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      d9abeb76
    • unknown's avatar
      Revert the inclusion of 'signal.h' as the module contains 'kill()'. · dd0cd5fb
      unknown authored
      
      server-tools/instance-manager/instance.cc:
        Revert the inclusion of 'signal.h' as this module contains 'kill()'.
      dd0cd5fb
  2. 21 Mar, 2005 9 commits
    • unknown's avatar
      Fix for AIX compilation failure: sacred knowledge of my_global.h nature (it should be · 683a5e6d
      unknown authored
      included before any other include) was hidden from me.
      
      
      server-tools/instance-manager/commands.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/commands.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/factory.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/guardian.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/guardian.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/instance.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/instance.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/instance_map.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/instance_map.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/instance_options.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/log.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/manager.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/messages.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/messages.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/mysql_connection.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/mysqlmanager.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/options.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/parse.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/parse_output.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/protocol.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/protocol.h:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/thread_registry.cc:
        Fix for AIX compilation failure & cleanup
      server-tools/instance-manager/user_map.h:
        Fix for AIX compilation failure & cleanup
      683a5e6d
    • unknown's avatar
      configure.in: · 8c73bbcd
      unknown authored
        5.0.3 is a beta
      
      
      configure.in:
        5.0.3 is a beta
      8c73bbcd
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-build · 78fde20b
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-build
      
      78fde20b
    • unknown's avatar
      init_db.sql: · d02e1a77
      unknown authored
        Added 'proc' and 'procs_priv' tables, updated others
      
      
      mysql-test/lib/init_db.sql:
        Added 'proc' and 'procs_priv' tables, updated others
      d02e1a77
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1-build · 86021822
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-build
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      86021822
    • unknown's avatar
      Code cleanup: should use 'element_count' here, see include/my_tree.h · 2de206f4
      unknown authored
      (Change done by Ramil and sent via IRC)
      
      2de206f4
    • unknown's avatar
      mtr_report.pl: · 77633821
      unknown authored
        Made --timer work
      mtr_cases.pl:
        Added option --reorder to get less server restarts
      mysql-test-run.pl:
        Added option --reorder to get less server restarts
        Moved do_before_start_master() not to remove binlog files unless restarted
        Made --timer work
        Slave was incorrectly writing log to error log
      
      
      mysql-test/mysql-test-run.pl:
        Added option --reorder to get less server restarts
        Moved do_before_start_master() not to remove binlog files unless restarted
        Made --timer work
        Slave was incorrectly writing log to error log
      mysql-test/lib/mtr_cases.pl:
        Added option --reorder to get less server restarts
      mysql-test/lib/mtr_report.pl:
        Made --timer work
      77633821
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-build · 8d669c55
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-5.0-build
      
      8d669c55
    • unknown's avatar
      Federated Storage Handler - test and result fix. · 471173ce
      unknown authored
      
      mysql-test/r/federated.result:
        made sure result has SLAVE_PORT!
      mysql-test/t/federated.test:
        added --replace_result to a table creation that I forgot to add before
      471173ce
  3. 20 Mar, 2005 2 commits
    • unknown's avatar
      Fix for spurious failures of sp.test on many platforms (aka Bug #9161 · f472e0fd
      unknown authored
      "Warnings on 'drop procedure' platform-specific").
      
      In mysqltest we should not issue "SHOW WARNINGS" until we have not 
      read results from all statements in multi-statement.
      
      Otherwise such "SHOW WARNINGS" will either cause "Packets out of order"
      error and thus will ruin current connection (but we may not notice this as
      it happened in sp.test because we ignore errors from such auxilary
      SHOW WARNINGS and use auto-reconnecting connections) or will
      succeed but consume first packet from next statement in multi-statement
      sequence (this happens if "SHOW WARNINGS" is issued when this packet
      is already received by client. Packet is thrown away by net_clear()
      call which is issued when "SHOW WARNINGS" is sent to server).
      
      In our case sp.test failed because usually we had first situation
      but sometimes second situation occured causing warning to pop-up.
      
      
      client/mysqltest.c:
        We should not issue "SHOW WARNINGS" if we have not processed all 
        results from multi-statement.
      f472e0fd
    • unknown's avatar
      e33182eb
  4. 19 Mar, 2005 5 commits
    • unknown's avatar
      Manually import InnoDB fix into build tree. · d5be75f6
      unknown authored
      
      innobase/include/data0type.ic:
        Fix for sorting of innodb TEXT columns.
      d5be75f6
    • unknown's avatar
      Fix 'kill' test to actually test that the connection has · 488da795
      unknown authored
      been killed.
      
      
      mysql-test/r/kill.result:
        Update results
      mysql-test/t/kill.test:
        Fix 'ping' to be '--ping' and make test that this is a new
        connection actually test that.
      488da795
    • unknown's avatar
      Fix Windows compile errors. · 56083273
      unknown authored
      
      sql/item_sum.cc:
        Remove C_MODE_START/END around function, add cast
      56083273
    • unknown's avatar
      Removed MyISAM RAID from the Linux "Max" RPMs · d300b592
      unknown authored
      (patch from lenz, reapplied by jimw)
      
      
      support-files/mysql.spec.sh:
        removed MyISAM RAID from the Linux "Max" RPMs
      d300b592
    • unknown's avatar
      Eliminate warnings noticed by VC7. This includes fixing my_mmap() on · 22234f31
      unknown authored
      Windows to call CreateFileMapping() with correct arguments, and
      propogating the introduction of query_id_t to everywhere query ids are
      passed around. (Bug #8826)
      
      
      libmysql/libmysql.c:
        Make implicit cast explicit
      myisam/mi_open.c:
        Make cast of value to smaller data size explicit
      myisam/mi_packrec.c:
        Cast file size (my_off_t) to size_t for mmap
      mysys/my_mmap.c:
        Fix Windows version of my_mmap() to use the right parameters
        for call to CreateFileMapping()
      sql/field.cc:
        Use temporary value of correct type
      sql/field.h:
        Use query_id_t for query_id value
      sql/ha_berkeley.cc:
        Fix flag check
      sql/ha_innodb.h:
        Use query_id_t for query_id value
      sql/handler.cc:
        Explain opt_using_transactions calculation, and add cast
      sql/handler.h:
        Fix forward declaration of COND
      sql/item.cc:
        Fix val_bool() tests of val_int() to avoid implicit cast
      sql/item_cmpfunc.cc:
        Fix typo in switch label
      sql/item_func.cc:
        Make implicit cast explicit
      sql/item_strfunc.cc:
        Now that query_id is a query_id_t, need to cast it to a ulong here
      sql/item_subselect.cc:
        Fix test of value
      sql/log.cc:
        Cast my_off_t used for file size to size_t for memory allocation
        Also cast my_off_t when using it to calculate the number of pages for TC log
        Cast total_ha_2pc to uchar when saving it
      sql/mysql_priv.h:
        Move up query_id definition so it can be used more widely
      sql/opt_range.cc:
        Add unused delete operator to prevent compiler warning
      sql/set_var.cc:
        Cast value for max_user_connections
      sql/sql_cache.cc:
        Remove unused label
      sql/sql_class.h:
        Fix query id values to be of type query_id_t
      sql/sql_db.cc:
        Move variable only used inside #ifdef within the #ifdef
      sql/sql_help.cc:
        Remove unused label
      sql/sql_insert.cc:
        Use query_id_t for query id values
      sql/sql_lex.h:
        Add unused delete operator to prevent compiler warning
      sql/sql_select.cc:
        Remove unused variable
        Make cast of value explicit
      sql/sql_select.h:
        Use query_id_t for query id values
      sql/sql_table.cc:
        Make comparison to function pointer explicit
      sql/sql_update.cc:
        Use query_id_t for query id values
      sql/table.h:
        Use query_id_t for query id values
      strings/ctype-simple.c:
        Add cast of long value to (char) in expression
      strings/ctype-ucs2.c:
        Add cast of long value to (char) in expression
      strings/ctype-utf8.c:
        Make cast to smaller size explicit
      22234f31
  5. 18 Mar, 2005 6 commits
  6. 17 Mar, 2005 16 commits