1. 22 Sep, 2005 15 commits
    • unknown's avatar
      Fix for bug #13407 "Remote connecting crashes server" and couple of similar · 351d8e39
      unknown authored
      problems which were introduced during work on WL#2787 "Add view definer/owner
      to the view definition (.frm) to check privileges on used tables and stored
      routines when using a VIEW."
      
      In some cases it is better to use value from Security_context::host_or_ip
      instead of value from Security_context::host since the latter can be NULL
      in certain situations (When we can't resolve hostname or we have not done
      this yet).
      
      
      mysql-test/r/skip_name_resolve.result:
        Added test for bug #13407 "Remote connecting crashes server".
      mysql-test/t/skip_name_resolve.test:
        Added test for bug #13407 "Remote connecting crashes server".
      sql/item_strfunc.cc:
        Item_func_user::val_str():
          It is better to use value from Security_context::host_or_ip instead of
          value from Security_context::host in the result of USER() function since
          the latter can be NULL in certain situations (When we can't resolve hostname
          or we have not done this yet. Reverted back to old code).
      sql/mysqld.cc:
        handle_connections_shared_memory():
         THD::host member has moved to the Security_context class.
         New THD::security_ctx member points to active security context.
      sql/sql_show.cc:
        mysqld_list_processes():
          It is better to use value from Security_context::host_or_ip instead of
          value from Security_context::host in the processlist since the latter
          can be NULL in certain situations (When we can't resolve hostname or we
          have not done this yet. Reverted back to old code).
      351d8e39
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug13164/my50-bug13164 · b2f7c99d
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      b2f7c99d
    • unknown's avatar
      Bug #13164 yassl: "SSL connection error" on several platforms · bf7ce85e
      unknown authored
       - it's a requirement fo yaSSL that either /dev/urandom or /dev/random is available on the target system.
       - Added a fix that tries to open /dev/random if /dev/urandom is not available.
      
      
      extra/yassl/taocrypt/src/random.cpp:
        Try to open /dev/ranom if /dev/urandom is not available.
      bf7ce85e
    • unknown's avatar
      InnoDB: correct two misleading comments · 77d5b1a7
      unknown authored
      
      innobase/include/data0type.ic:
        Correct the comment of dtype_get_min_size()
      sql/ha_innodb.h:
        Correct the comment of innobase_set_cursor_view()
      77d5b1a7
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 17fa08d4
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b11553
      
      17fa08d4
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0 · f9b3443f
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      f9b3443f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · 0db66e24
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      mysql-test/r/ndb_alter_table.result:
        Auto merged
      mysql-test/t/ndb_alter_table.test:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      0db66e24
    • unknown's avatar
      Add testcase for bug#13316 · 3dfdb256
      unknown authored
        ndb big alter table
      
      
      mysql-test/r/ndb_alter_table.result:
        Add testcase for bug#13316
      mysql-test/t/ndb_alter_table.test:
        Add testcase for bug#13316
      3dfdb256
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · b5194a69
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b11553
      
      
      sql/sql_yacc.yy:
        Auto merged
      b5194a69
    • unknown's avatar
      bug#13316 · 285fee67
      unknown authored
        ndb alter table with big dicttabinfo
        send alter_tab_req fragmented as signal can get larger than MAX_MESSAGE_SIZE
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        DictTabInfo used during alter table can easily becom larger than MAX_MESSAGE_SIZE
          send fragmented instead
      285fee67
    • unknown's avatar
      GCC4 build fix · 3daa1adb
      unknown authored
      
      ndb/src/ndbapi/NdbUtil.hpp:
        gcc4 build fix
      3daa1adb
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · db623b06
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      db623b06
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0 · 54e28c98
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      54e28c98
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · bdeec8f2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/ndbapi/Ndbinit.cpp:
        Auto merged
      bdeec8f2
    • unknown's avatar
      ndb - fix gcc4 compile problem · 55928842
      unknown authored
      
      ndb/src/ndbapi/Ndbinit.cpp:
        fix gcc4 compile problem
      55928842
  2. 21 Sep, 2005 20 commits
    • unknown's avatar
      Manual merge · ffda62c2
      unknown authored
      
      mysql-test/r/update.result:
        Auto merged
      mysql-test/t/update.test:
        Auto merged
      ffda62c2
    • unknown's avatar
      Fix bug #13180 thd->allow_sum_funcs wasn't reset before query processing. · 9fb8042d
      unknown authored
      thd->allow_sum_func was left 'true' after previous statement thus allowing
      sum funcs to be present in conditions.
      
      thd->allow_sum_func should be set to 0 for each query and each prepared
      statement reinitialization. This is done in lex_start() and 
      reset_stmt_for_execute().
      
      
      sql/sql_lex.cc:
        Fix bug#13180 thd->allow_sum_func wasn't reset obefore query processing.
        thd->allow_sum_func is set to 0 in lex_start().
      sql/sql_prepare.cc:
        Fix bug#13180 thd->allow_sum_func wasn't reset obefore query processing.
        thd->allow_sum_func is set to 0 in  reset_stmt_for_execute().
      mysql-test/t/update.test:
        Test case for bug#13180 thd->allow_sum_funcs wasn't reset before query
        processing.
      mysql-test/r/update.result:
        Test case for bug#13180 thd->allow_sum_funcs wasn't reset before query
        processing.
      9fb8042d
    • unknown's avatar
      Merge stamagawa@bk-internal.mysql.com:/home/bk/mysql-5.0 · c68107d2
      unknown authored
      into  mysql.com:/home/shuichi/apps/mysql/bk/mysql-5.0b
      
      
      configure.in:
        Auto merged
      c68107d2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 0e554abd
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0-merged
      
      
      sql/ha_myisam.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      0e554abd
    • unknown's avatar
      aftermerge fix · 1f603a9e
      unknown authored
      1f603a9e
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0 · a9fe230e
      unknown authored
      into  mysql.com:/users/lthalmann/bk/mysql-5.0-rollback-comment
      
      a9fe230e
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0 · 895da5bf
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      895da5bf
    • unknown's avatar
      ndb merge fix · e2845b48
      unknown authored
      e2845b48
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · 8ce8ef20
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        merge
      8ce8ef20
    • unknown's avatar
      bug#12950 · d9adfe17
      unknown authored
          ndb backup with charsets and simultanious updates
          make sure that backup _dont_ read xfrm data
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Backup can do dirty read
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Fix so that backup dont read xfrm data
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        Fix so that backup dont read xfrm data
      d9adfe17
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0 · b8ac4e9e
      unknown authored
      into  mysql.com:/users/lthalmann/bk/mysql-5.0-rollback-comment
      
      b8ac4e9e
    • unknown's avatar
      sql/item_func.cc · 314e6f63
      unknown authored
        remove extra ";" after function
      
      
      sql/item_func.cc:
        remove extra ";" after function
      314e6f63
    • unknown's avatar
    • unknown's avatar
      merged · 02ee24a8
      unknown authored
      
      VC++Files/mysys/mysys.dsp:
        Auto merged
      VC++Files/mysys/mysys_ia64.dsp:
        Auto merged
      client/mysql.cc:
        Auto merged
      include/my_sys.h:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/rpl_multi_delete2.result:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/t/rpl_multi_delete2-slave.opt:
        Auto merged
      mysql-test/t/rpl_multi_delete2.test:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      02ee24a8
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 12960e51
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      12960e51
    • unknown's avatar
      ndb post merge fixes (show engine ndb status) · d17080fd
      unknown authored
      
      sql/ha_ndbcluster.cc:
        ndb post merge fixes
      d17080fd
    • unknown's avatar
      merged · e6e4003d
      unknown authored
      e6e4003d
    • unknown's avatar
      Don't add all args to mysqltest to MYSQL_TEST env var · f7918883
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Not all args to mysqltest should be added to the MYSQL_TEST environment variable. The MYSQL_TEST var is used when testing mysqltest and --record and result_file should not be set.
      f7918883
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 36e6e409
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-owner5-5.0
      
      36e6e409
    • unknown's avatar
      postmerge fixes · 20647176
      unknown authored
      
      libmysqld/lib_sql.cc:
        struct st_security_context nad to class Security_context
      sql/item_func.cc:
        fixed method call, name and contence to be compatible with new code
      sql/item_func.h:
        fixed method to be compatible wit new code
      sql/sql_parse.cc:
        fixed typo
        removed compiler warnings
      20647176
  3. 20 Sep, 2005 5 commits
    • unknown's avatar
      Fixed a typo in handler.cc if CSV was built. I also added CSV to the default... · 246334fc
      unknown authored
      Fixed a  typo in handler.cc if CSV was built. I also added CSV to the default MAX builds so that more people test it. 
      
      
      BUILD/SETUP.sh:
        Adding CVS engine to default max builds.
      sql/handler.cc:
        Fixed typo
      246334fc
    • unknown's avatar
      Merge mysql.com:/home/psergey/bk-trees/mysql-4.1 · 12a960fa
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-csc6030-r3
      
      
      sql/mysqld.cc:
        Auto merged
      12a960fa
    • unknown's avatar
      BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index · 2e18bba6
      unknown authored
      statistics (like 4.0 did) (patch #3, with review #1 & #2 feedback addressed)
      
      
      include/myisam.h:
        BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index statistics
      myisam/mi_check.c:
        BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index statistics
      myisam/myisamchk.c:
        BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index statistics
      mysql-test/r/myisam.result:
        BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index statistics
      mysql-test/t/myisam.test:
        BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index statistics
      sql/ha_myisam.cc:
        BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index statistics
      sql/handler.h:
        BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index statistics
      sql/mysqld.cc:
        BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index statistics
      sql/set_var.cc:
        BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index statistics
      sql/sql_class.h:
        BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index statistics
      2e18bba6
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 702996f1
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-owner5-5.0
      
      
      sql/ha_innodb.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/item_func.cc:
        merge
      702996f1
    • unknown's avatar
      WL#2787 (Add view definer/owner to the view definition (.frm) to check... · a95d74bb
      unknown authored
      WL#2787 (Add view definer/owner to the view definition (.frm) to check privileges on used tables and stored routines when using a VIEW.)
      Part 2 postreview fixes.
      
      
      sql/ha_innodb.cc:
        Renamed structure st_security_context to class Security_context
      sql/item_func.cc:
        Renamed structure st_security_context to class Security_context
      sql/item_strfunc.cc:
        fixed USER() function
      sql/log.cc:
        variable used to optimize access to security context
      sql/mysql_priv.h:
        Renamed structure st_security_context to class Security_context
      sql/mysqld.cc:
        main security context used direcly
      sql/sp_head.cc:
        Renamed structure st_security_context to class Security_context
        removed unneed variable
      sql/sp_head.h:
        Comment inmroved
        Renamed structure st_security_context to class Security_context
      sql/sql_acl.cc:
        Renamed structure st_security_context to class Security_context
        fixed function comment and return value
        variable used to optimize access to security context
        Renamed method of Security_ontext
      sql/sql_acl.h:
        fixed return value type
      sql/sql_class.cc:
        Renamed structure st_security_context to class Security_context
      sql/sql_class.h:
        Renamed structure st_security_context to class Security_context
        Method renamed
      sql/sql_db.cc:
        Renamed structure st_security_context to class Security_context
        fixed layout
      sql/sql_parse.cc:
        registration of wanted access for underlying tables
      sql/sql_show.cc:
        Renamed structure st_security_context to class Security_context
        fixed layout
      sql/sql_yacc.yy:
        Renamed structure st_security_context to class Security_context
      a95d74bb