An error occurred fetching the project authors.
  1. 14 Dec, 2005 1 commit
  2. 08 Dec, 2005 1 commit
    • unknown's avatar
      mysqld.cc: · eea6e15d
      unknown authored
        Bug#14960, reverted code to make symdir work on Windows
      symlink.test:
        Disabled test case on Windows
      
      
      mysql-test/t/symlink.test:
        Disabled test case on Windows
      sql/mysqld.cc:
        Bug#14960, reverted code to make symdir work on Windows
      eea6e15d
  3. 24 Nov, 2005 1 commit
  4. 22 Nov, 2005 1 commit
    • unknown's avatar
      Recursion support made for SP (BUG#10100). · 164ce4c5
      unknown authored
      client/mysqltest.c:
        An expected error messages hiding from the log if disable_result_log is in force.
      mysql-test/r/sp-dynamic.result:
        The test expanded for case of allowed/disalowed recursion.
      mysql-test/r/sp-error.result:
        Error messages changed.
        Test of bug11394() made with allowed recursion.
      mysql-test/r/sp.result:
        Tests for recursion.
      mysql-test/r/trigger.result:
        Check that triggers are not affected by this patch.
      mysql-test/r/variables.result:
        Test of max_sp_recursion_depth variable.
      mysql-test/t/sp-dynamic.test:
        The test expanded for case of allowed/disalowed recursion.
      mysql-test/t/sp-error.test:
        Error messages changed.
        Test of bug11394() made with allowed recursion.
      mysql-test/t/sp.test:
        Tests for recursion.
      mysql-test/t/trigger.test:
        Check that triggers are not affected by this patch.
      mysql-test/t/variables.test:
        Test of max_sp_recursion_depth variable.
      sql/item_func.cc:
        sp_find_function() and sp_find_procedure() joined to sp_find_routine()
          function as it was mentioned in TODO.
      sql/mysqld.cc:
        max_sp_recursion_depth variable added.
      sql/set_var.cc:
        max_sp_recursion_depth variable added.
      sql/share/errmsg.txt:
        An error message changed.
        An error message added.
      sql/sp.cc:
        sp_find_function() and sp_find_procedure() joined to sp_find_routine()
          function as it was mentioned in TODO.
        Temory LEX is allocated on a stack, not on a heap.
        Recursion support added for stored procedures.
      sql/sp.h:
        sp_find_function() and sp_find_procedure() joined to sp_find_routine()
          function as it was mentioned in TODO.
      sql/sp_head.cc:
        Initialization of new sp_head fields to get correct list of instances
          contained one instance only.
        Stack requirement for SP instruction is increased.
        Stack free space is checked before mem root initialisation to avoid
          memory leak.
        Pointer to the free instance management added before and after
          SP execution.
      sql/sp_head.h:
        New sp_head variables added to support inst of instances of SP
          for recursion and pointer on ths first free to use instance.
      sql/sql_base.cc:
        open_table() consume a lot of stack space so we check free stack space before it.
      sql/sql_class.h:
        max_sp_recursion_depth variable added.
      sql/sql_parse.cc:
        sp_find_function() and sp_find_procedure() joined to sp_find_routine()
          function as it was mentioned in TODO.
      164ce4c5
  5. 20 Nov, 2005 1 commit
    • unknown's avatar
      Inefficient usage of String::append() fixed. · fe63e095
      unknown authored
      Bad examples of usage of a string with its length fixed.
      The incorrect length in the trigger file configuration descriptor
        fixed (BUG#14090).
      A hook for unknown keys added to the parser to support old .TRG files.
      
      
      sql/field.cc:
        Inefficient usage of String::append() fixed.
        Bad examples of usage of a string with its length fixed.
      sql/ha_berkeley.cc:
        A bad example of usage of a string with its length fixed.
      sql/ha_federated.cc:
        Inefficient usage of String::append() fixed.
      sql/ha_myisammrg.cc:
        Bad examples of usage of a string with its length fixed.
      sql/handler.cc:
        Inefficient usage of String::append() fixed.
      sql/item.cc:
        Bad examples of usage of a string with its length fixed.
      sql/item.h:
        A bad example of usage of a string with its length fixed.
      sql/item_cmpfunc.cc:
        Bad examples of usage of a string with its length fixed.
      sql/item_func.cc:
        Bad examples of usage of a string with its length fixed.
      sql/item_strfunc.cc:
        Bad examples of usage of a string with its length fixed.
      sql/item_subselect.cc:
        Bad examples of usage of a string with its length fixed.
      sql/item_sum.cc:
        Bad examples of usage of a string with its length fixed.
        Inefficient usage of String::append() fixed.
      sql/item_timefunc.cc:
        Inefficient using of String::append() fixed.
        Bad examples of usage of a string with its length fixed.
      sql/item_uniq.h:
        Bad examples of usage of a string with its length fixed.
      sql/key.cc:
        Bad examples of usage of a string with its length fixed.
      sql/log.cc:
        Bad examples of usage of a string with its length fixed.
      sql/log_event.cc:
        Bad examples of usage of a string with its length fixed.
      sql/mysqld.cc:
        The dummy parser hook allocated.
      sql/opt_range.cc:
        Inefficient usage of String::append() fixed.
      sql/parse_file.cc:
        Bad examples of usage of a string with its length fixed.
        A hook for unknown keys added to the parser.
      sql/parse_file.h:
        A hook for unknown keys added to the parser.
      sql/protocol.cc:
        A bad example of usage of a string with its length fixed.
      sql/repl_failsafe.cc:
        Bad examples of usage of a string with its length fixed.
      sql/share/errmsg.txt:
        A warning for old format config file.
      sql/slave.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sp.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sp_head.cc:
        Bad examples of usage of a string with its length fixed.
      sql/spatial.cc:
        A bad example of usage of a string with its length fixed.
      sql/sql_acl.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_analyse.cc:
        Bad examples of usage of a string with its length fixed.
        Inefficient usage of String::append() fixed.
      sql/sql_lex.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_load.cc:
        A bad example of usage of a string with its length fixed.
      sql/sql_parse.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_prepare.cc:
        A bad example of usage of a string with its length fixed.
      sql/sql_select.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_show.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_string.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_string.h:
        The macro definition moved to sql_string.h to
          be accessible in all parts of server.
      sql/sql_table.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_trigger.cc:
        Bad examples of usage of a string with its length fixed.
        The incorrect length in the trigger file configuration descriptor
          fixed (BUG#14090).
        The hook for processing incorrect sql_mode record added.
      sql/sql_view.cc:
        A dummy  hook used for parsing views.
      sql/structs.h:
        The macro definition moved to sql_string.h to be
          accessible in all parts of server.
      sql/table.cc:
        A bad example of usage of a string with its length fixed.
      sql/tztime.cc:
        A bad example of usage of a string with its length fixed.
      fe63e095
  6. 17 Nov, 2005 1 commit
    • unknown's avatar
      set_var.cc, mysqld.cc, ha_innodb.h: · 30df60fa
      unknown authored
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool.
      ha_innodb.cc:
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool
      
      
      sql/ha_innodb.cc:
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool
      sql/ha_innodb.h:
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool.
      sql/mysqld.cc:
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool.
      sql/set_var.cc:
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool.
      30df60fa
  7. 10 Nov, 2005 1 commit
    • unknown's avatar
      WL#2971 "change log-bin-trust-routine-creators=0 to apply only to functions". · 5d9c8e95
      unknown authored
      Indeed now that stored procedures CALL is not binlogged, but instead the invoked substatements are,
      the restrictions applied by log-bin-trust-routine-creators=0 are superfluous for procedures.
      They still need to apply to functions where function calls are written to the binlog (for example as "DO myfunc(3)").
      We rename the variable to log-bin-trust-function-creators but allow the old name until some future version (and issue a warning if old name is used).
      
      
      mysql-test/mysql-test-run.pl:
        update to new option name
      mysql-test/mysql-test-run.sh:
        update to new option name
      mysql-test/mysql_test_run_new.c:
        update to new option name
      mysql-test/r/rpl_sp.result:
        result update
      mysql-test/t/rpl_sp-slave.opt:
        we need to skip this error to not hit BUG#14769
      mysql-test/t/rpl_sp.test:
        Test update:
        1) as log-bin-trust-routine-creators now affects only functions, the testing of this option, which was
        mainly done on procedures, is moved to functions
        2) cleanup is simplified; and instead of many SHOW BINLOG EVENTS we do a big one in the end, which is more
        maintainable.
        3) we test a few more function and procedures cases to see how they replicate.
        4) removing out-of-date comments
      sql/item_func.cc:
        This warning is wrong since binlogging of functions was changed in August. If a function fails
        in the middle, it will be binlogged with its error code (i.e. properly).
      sql/mysql_priv.h:
        variable name changed
      sql/mysqld.cc:
        option name changes. A precision about --read-only.
      sql/set_var.cc:
        a new class sys_var_trust_routine_creators to be able to issue a "this is a deprecated variable" warning if used.
      sql/set_var.h:
        new class to be able to issue a "this is a deprecated variable" warning if used.
      sql/share/errmsg.txt:
        routine -> function
      sql/sp.cc:
        log-bin-trust-routine-creators now applies only to functions.
      sql/sql_parse.cc:
        1) sending ER_FAILED_ROUTINE_BREAK_BINLOG is wrong since August as we don't binlog CALL anymore but instead binlog the substatements;
        the clear_error() goes away too as it was necessary only when we created a binlog event from the "CALL" statement.
        2) log-bin-trust-routine-creators now applies only to functions.
      sql/sql_trigger.cc:
        comments.
      5d9c8e95
  8. 03 Nov, 2005 2 commits
    • unknown's avatar
      Fixes during review of new code · d8f1fdc4
      unknown authored
      Destroy LOCK_uuid_generator
      
      
      sql/ha_berkeley.h:
        Fix portability problem (warnings from gcc on 32 bit linux)
      sql/ha_ndbcluster.cc:
        Fixed portability problem
      sql/mysqld.cc:
        Destroy LOCK_uuid_generator
      d8f1fdc4
    • unknown's avatar
      Don't allow startup when default storage engine is specified to be a · 4934c9be
      unknown authored
      storage engine that is disabled. This was fixed once in 4.1, but regressed
      in 5.0 because of changes to storage engine initialization. (Bug #9815)
      
      
      sql/mysqld.cc:
        Move check of whether default storage engine is available to after
        storage engine initialization.
      4934c9be
  9. 01 Nov, 2005 1 commit
  10. 26 Oct, 2005 1 commit
  11. 24 Oct, 2005 1 commit
  12. 23 Oct, 2005 1 commit
  13. 21 Oct, 2005 1 commit
    • unknown's avatar
      BUG#9622, stage 2, work together with fix for BUG#12232: · 71fdef4d
      unknown authored
      added "nulls_ignored" index statistics collection method for MyISAM tables.
      (notification trigger: this is about BUG#9622).
      
      
      include/my_base.h:
        BUG#9622: Added MI_STATS_METHOD_IGNORE_NULLS statistics collection method:
        Added SEARCH_RETURN_B_POS flag for ha_key_cmp()
      include/my_handler.h:
        BUG#9622: Added MI_STATS_METHOD_IGNORE_NULLS statistics collection method: added ha_find_null()
      include/myisam.h:
        BUG#9622: Added MI_STATS_METHOD_IGNORE_NULLS statistics collection method.
      myisam/mi_check.c:
        BUG#9622: Added MI_STATS_METHOD_IGNORE_NULLS statistics collection method, added 
         mi_collect_stats_*(), updated update_key_parts() to deal with all 3 methods.
      myisam/myisamchk.c:
        BUG#9622: Added nulls_ignored index statistics collection method for MyISAM
      myisam/myisamdef.h:
        BUG#9622: Added MI_STATS_METHOD_IGNORE_NULLS statistics collection method.
      myisam/sort.c:
        BUG#9622: Added MI_STATS_METHOD_IGNORE_NULLS statistics collection method.
      mysql-test/r/myisam.result:
        Testcase for BUG9622
      mysql-test/t/myisam.test:
        Testcase for BUG9622
      mysys/my_handler.c:
        BUG#9622: ha_key_cmp() now supports new SEARCH_RETURN_B_POS flag, added ha_find_null()
      sql/ha_myisam.cc:
        BUG#9622: Added MI_STATS_METHOD_IGNORE_NULLS statistics collection method.
      sql/mysqld.cc:
        BUG#9622: Added MI_STATS_METHOD_IGNORE_NULLS statistics collection method.
      71fdef4d
  14. 17 Oct, 2005 1 commit
    • unknown's avatar
      Additional fix for BUG#7049, after review. · c8a2ff6f
      unknown authored
      Make sure "select" aborts when finding a SP condition handler beyond the current scope.
      
      
      mysql-test/r/sp.result:
        Updated test results after fixing error handling in select.
      sql/mysqld.cc:
        Make sure "select" aborts when finding a SP condition handler beyond the current scope.
      sql/protocol.cc:
        Make sure "select" aborts when finding a SP condition handler beyond the current scope.
      sql/sp_rcontext.h:
        Added method for checking if the handler was found in the current context.
      sql/sql_error.cc:
        Make sure "select" aborts when finding a SP condition handler beyond the current scope.
      c8a2ff6f
  15. 14 Oct, 2005 1 commit
    • unknown's avatar
      fix for Valgrind errors: query_id needs to be inited early (already fixed in... · 5dfd72a0
      unknown authored
      fix for Valgrind errors: query_id needs to be inited early (already fixed in 5.0 by Konstantin) and so does client_capabilities (not fixed in 5.0);
      because they are used by net_printf() and push_warning(), which can be called if check_connection() fails.
      
      
      sql/mysqld.cc:
        not needed anymore
      sql/repl_failsafe.cc:
        not needed anymore
      sql/slave.cc:
        not needed anymore
      sql/sql_class.cc:
        query_id needs to be inited early (already fixed in 5.0 by Konstantin) and so does client_capabilities (not fixed in 5.0);
        because they are used by net_printf() and push_warning(), which may be called if check_connection() fails.
      5dfd72a0
  16. 12 Oct, 2005 2 commits
    • unknown's avatar
      Always test ssl and compress · 2bb0501d
      unknown authored
       - Updated after review
      
      
      client/mysqltest.c:
        Updated after review.
        Fix "connect" command to take SSL and/or COMPRESS as options instead of enable/disable_ssl and enable/disable_compress
        Commented do_connect, added test cases etc.
        Fix safe_get_param to make it possible to call it once for every argument without having any checks inbetween.
        Make a copy for query->first_argument  since safe_get_param will modify query string. Now connect works inside a while loop as well.
      mysql-test/mysql-test-run.pl:
        Updated after review
      mysql-test/r/connect.result:
        Enable test that was previolsy disabled because of "no error handling" in connect
      mysql-test/r/mysqltest.result:
        Added tests for "connect"
      mysql-test/t/compress.test:
        Updated after review, use the option argument to connect
      mysql-test/t/connect.test:
        Enable test that was previolsy disabled because of "no error handling" in connect
        Now it's possible to use "--error" before connect, so let's use it.
      mysql-test/t/information_schema.test:
        Connection user4 was already used
      mysql-test/t/myisam.test:
        Disconnect con1 so the name can be reused
      mysql-test/t/mysqltest.test:
        Added tests for "connect"
      mysql-test/t/openssl_1.test:
        Updated after review, use the option argument to connect
      mysql-test/t/sp-security.test:
        Disconnect user1 connection so the name can be reused
      mysql-test/t/ssl.test:
        Updated after review, use the option argument to connect
      mysql-test/t/ssl_compress.test:
        Updated after review, use the option argument to connect
      sql/mysqld.cc:
        Updated after review, Compression variable is always available
      sql/sql_show.cc:
        Updated after review, Compression variable is always available
      sql/structs.h:
        Updated after review, Compression variable is always available
      2bb0501d
    • unknown's avatar
      after merge fix · f96b66ef
      unknown authored
      config/ac-macros/yassl.m4:
        added HAVE_YASSL variable
      sql/mysqld.cc:
        added HAVE_YASSL define
      f96b66ef
  17. 11 Oct, 2005 3 commits
    • unknown's avatar
      Fix wait_timeout (and kill) handling on Mac OS X by cleaning up how · e61dea1b
      unknown authored
      signal handlers are set up, the blocking flags for sockets are set,
      and which thread-related functions are used. (Bug #8731)
      
      
      configure.in:
        Fix flags for Darwin 6 and later. Simplify Darwin 7-9 blocks to simply
        be a catch-all for *darwin* so that future Darwin releases get the
        latest flags.
      include/config-win.h:
        Define my_sigset() instead of sigset().
      include/my_pthread.h:
        Define my_sigset() instead of trying to monkey with sigset(), and favor
        an implementation based on sigaction().
      mysys/my_pthread.c:
        Remove pthread_signal(), which is identical to the new my_sigset() macro.
      mysys/thr_alarm.c:
        Use my_sigset() instead of sigset().
      sql/mysqld.cc:
        Use my_sigset() instead of signal() and sigset(), remove unnecessary
        definition of sigset on __amiga__. Remove unused THREAD_SPECIFIC_SIGPIPE
        code.
        
        A future improvement would be to re-assess the use of sigaction() here
        and convert its usage to use my_sigset().
      vio/vio.c:
        Always call fcntl() to initialize flags of socket in initialization to
        avoid problems on systems that don't report the flags on a socket
        correctly right after it has been returned from accept(), such as
        FreeBSD, Mac OS X, and possibly other BSD-derived systems.
      vio/viosocket.c:
        If fcntl() fails in vio_blocking(), restore the flags stored in the
        vio struct.
      mysql-test/r/wait_timeout.result:
        New BitKeeper file ``mysql-test/r/wait_timeout.result''
      mysql-test/t/wait_timeout-master.opt:
        New BitKeeper file ``mysql-test/t/wait_timeout-master.opt''
      mysql-test/t/wait_timeout.test:
        New BitKeeper file ``mysql-test/t/wait_timeout.test''
      e61dea1b
    • unknown's avatar
      Fix for bug#9270 multiple SSL race conditions (for 5.0 tree) · a31b47cd
      unknown authored
        The fix is needed to perform locking on shared data structures
        This is modification of patch proposed by Leandro Santi
        (see http://webs.sinectis.com.ar/lesanti/misc/mysql-4.0.23a-openssl_locking.patch)
      
      
      sql/mysqld.cc:
        Fix for bug#9270 multiple SSL race conditions (for 5.0 tree)
          The fix is needed to perform locking on shared data structures
      a31b47cd
    • unknown's avatar
      Fix minimum value of query_prealloc_size to be the same as its default. (Bug #13334) · 4c3f3bd8
      unknown authored
      mysql-test/r/variables.result:
        Add new results
      mysql-test/t/variables.test:
        Add new regression test
      sql/mysqld.cc:
        Fix minimum value of query_prealloc_size to be the same as its default.
      4c3f3bd8
  18. 09 Oct, 2005 1 commit
    • unknown's avatar
      Remove protocol_cursor.cpp (no longer used) from sources · 20a6f152
      unknown authored
      Fix a compile failure
      
      
      BitKeeper/deleted/.del-protocol_cursor.cc~2a1ab8e023a166a4:
        Delete: sql/protocol_cursor.cc
      VC++Files/libmysqld/libmysqld.dsp:
        Remove protocol_cursor.cpp (no longer used) from sources
      VC++Files/sql/mysqld.dsp:
        Remove protocol_cursor.cpp (no longer used) from sources
      sql/mysqld.cc:
        Fix a compile failure
      20a6f152
  19. 08 Oct, 2005 1 commit
  20. 04 Oct, 2005 2 commits
    • unknown's avatar
      Fixed several boolean type options used in my_long_options[]. · b2fa7d16
      unknown authored
      Some options were declared as 'bool', but since those are being
      handled in my_getopt.c, bool can be machine dependent. To make
      sure it works in all circumstances, the type should be my_bool
      for C (not C++) programs.
      
      
      sql/mysql_priv.h:
        Fixed some bools to my_bools.
      sql/mysqld.cc:
        Changed several bools to my_bools.
      sql/slave.cc:
        Changed bool to my_bool.
      sql/slave.h:
        Changed bool to my_bool.
      b2fa7d16
    • unknown's avatar
      Improved testing of ssl and compression · 20fdedb7
      unknown authored
       - Added show status variable "compression" for checking that compression is turned on.
       - Updated show status variable "have_openssl" to be set to DISABLED if server supports ssl but it's not turned on to accept incoming ssl connections.  
       - Setup server to accept ssl connections from clients ig that is supported by server
       - New tests 
         - ssl - Run with ssl turned on
         - ssl_compress - Run with ssl and compression turned on
         - compress - Run with compression turned in 
       - Updated test 
         - openssl_1, rpl_openssl1 - Changed to run if server supports ssl
      
      
      BitKeeper/deleted/.del-have_openssl_1.inc~55590efedeec9ee0:
        Delete: mysql-test/include/have_openssl_1.inc
      BitKeeper/deleted/.del-have_openssl_1.require~e8cdeb0adba99ac5:
        Delete: mysql-test/r/have_openssl_1.require
      client/mysqltest.c:
        Add commands to enable/disable ssl for the follwing connect's
        Add commands to enable/disable compression for the  following connect's
      mysql-test/mysql-test-run.pl:
        Test if ssl is supported by the server
        If ssl is supported by the server, start server with ability to accept ssl connections from clients
        Cleanup check of supported features check_ssl_support, check_ndbcluster_support
        Flags and helptext for mysl-test-run.pl updated 
          --ssl, turn on ssl encryption between server and client
          --skip-ssl, don'r turn on ssl or setup ssl even if it's supported
          --with-openssl, deprecated, synonym with --ssl
      mysql-test/r/openssl_1.result:
        Update test results
      mysql-test/t/openssl_1.test:
        Run this if server reports it has support for ssl
        Enable ssl before connecting
        Check that ssl encryption has been turned on
      mysql-test/t/rpl_openssl.test:
        Run this if server reports it supports ssl
      sql-common/client.c:
        Add DBUG_PRINT's
      sql/mysqld.cc:
        If server can't accept ssl connection set have_openssl to SHOW_OPTION_DISABLED
        Add status variable to show if connection with server is using compressed protocol
      sql/sql_show.cc:
        Add status variable to show if connection with server is using compressed protocol
      sql/structs.h:
        Add status variable to show if connection with server is using compressed protocol
      mysql-test/r/compress.result:
        New BitKeeper file ``mysql-test/r/compress.result''
      mysql-test/r/ssl.result:
        New BitKeeper file ``mysql-test/r/ssl.result''
      mysql-test/r/ssl_compress.result:
        New BitKeeper file ``mysql-test/r/ssl_compress.result''
      mysql-test/t/compress.test:
        New BitKeeper file ``mysql-test/t/compress.test''
      mysql-test/t/ssl.test:
        New BitKeeper file ``mysql-test/t/ssl.test''
      mysql-test/t/ssl_compress.test:
        New BitKeeper file ``mysql-test/t/ssl_compress.test''
      20fdedb7
  21. 29 Sep, 2005 1 commit
    • unknown's avatar
      Many files: · 72340d67
      unknown authored
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      my_regex.h:
        Rename: regex/regex.h -> regex/my_regex.h
      
      
      client/mysqltest.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      os2/MySQL-Source.icc:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/Makefile.am:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/debug.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/debug.ih:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/engine.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/engine.ih:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/main.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/main.ih:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/regcomp.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/regerror.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/regerror.ih:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/my_regex.h:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/regexec.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/regfree.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/reginit.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      sql/item_cmpfunc.cc:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      sql/item_cmpfunc.h:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      sql/mysqld.cc:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      72340d67
  22. 23 Sep, 2005 4 commits
  23. 22 Sep, 2005 1 commit
    • unknown's avatar
      Fix for bug #13407 "Remote connecting crashes server" and couple of similar · 17feba98
      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).
      17feba98
  24. 21 Sep, 2005 1 commit
  25. 20 Sep, 2005 2 commits
    • unknown's avatar
      BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index · a2a8216b
      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
      a2a8216b
    • unknown's avatar
      WL#2787 (Add view definer/owner to the view definition (.frm) to check... · 3fe752f5
      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
      3fe752f5
  26. 19 Sep, 2005 1 commit
    • unknown's avatar
      ndb - imlp. show engine ndb status; · b390a1a4
      unknown authored
        that dump free list allocation per connection
      
      
      sql/ha_ndbcluster.cc:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      sql/ha_ndbcluster.h:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      sql/mysqld.cc:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      sql/sql_lex.h:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      sql/sql_parse.cc:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      sql/sql_yacc.yy:
        imlp. show engine ndb status;
          that dump free list allocation per connection
      b390a1a4
  27. 15 Sep, 2005 1 commit
    • unknown's avatar
      WL#2787 (part 2, ver 3 (merged)) changed securety context switching · 84f029a4
      unknown authored
      libmysqld/lib_sql.cc:
        changed securety context switching
      mysql-test/r/rpl_sp.result:
        now it show real information from changed security context of SP (checked)
      sql/ha_innodb.cc:
        changed securety context switching
      sql/item.cc:
        changed securety context switching
      sql/item_func.cc:
        changed securety context switching
      sql/item_strfunc.cc:
        changed securety context switching
      sql/log.cc:
        changed securety context switching
      sql/mysql_priv.h:
        changed securety context switching
      sql/mysqld.cc:
        changed securety context switching
      sql/repl_failsafe.cc:
        changed securety context switching
      sql/set_var.cc:
        changed securety context switching
      sql/slave.cc:
        changed securety context switching
      sql/sp.cc:
        changed securety context switching
      sql/sp_head.cc:
        changed securety context switching
        in case of inability to switch context  we return error now
      sql/sp_head.h:
        changed securety context switching
      sql/sql_acl.cc:
        changed securety context switching
      sql/sql_acl.h:
        changed securety context switching
      sql/sql_base.cc:
        changed securety context switching
      sql/sql_class.cc:
        changed securety context switching
      sql/sql_class.h:
        changed securety context switching
      sql/sql_db.cc:
        changed securety context switching
      sql/sql_insert.cc:
        changed securety context switching
      sql/sql_parse.cc:
        changed securety context switching
      sql/sql_show.cc:
        changed securety context switching
      sql/sql_trigger.cc:
        changed securety context switching
      sql/sql_view.cc:
        changed securety context switching
      sql/sql_yacc.yy:
        changed securety context switching
      84f029a4
  28. 14 Sep, 2005 2 commits
    • unknown's avatar
      Bug#12920 - key_read_requests counter appears to re-set · 5fe65297
      unknown authored
      After merge fix.
      
      
      include/keycache.h:
        Bug#12920 - key_read_requests counter appears to re-set
        After merge fix.
        Status variables moved into KEY_CACHE in 4.1.
        Enlarging them there.
      include/my_sys.h:
        Bug#12920 - key_read_requests counter appears to re-set
        After merge fix.
        Status variables moved into KEY_CACHE in 4.1.
        Removed unused global variables.
      myisam/mi_test2.c:
        Bug#12920 - key_read_requests counter appears to re-set
        After merge fix.
        Status variables moved into KEY_CACHE in 4.1.
        Changed to print default key cache status.
      mysys/mf_keycache.c:
        Bug#12920 - key_read_requests counter appears to re-set
        After merge fix.
        Status variables moved into KEY_CACHE in 4.1.
        Changed their debug printout.
      sql/mysqld.cc:
        Bug#12920 - key_read_requests counter appears to re-set
        After merge fix.
        Changed to print full value.
      sql/sql_show.cc:
        Bug#12920 - key_read_requests counter appears to re-set
        After merge fix.
        Added a branch for long long values.
      sql/sql_test.cc:
        Bug#12920 - key_read_requests counter appears to re-set
        After merge fix.
        changed to print full values.
      sql/structs.h:
        Bug#12920 - key_read_requests counter appears to re-set
        After merge fix.
        Added a branch for long long keycache values.
      5fe65297
    • unknown's avatar
      Bug#12920 - key_read_requests counter appears to re-set · 07b61cbb
      unknown authored
      Enlarged the counter variables to ulonglong.
      
      
      07b61cbb
  29. 06 Sep, 2005 2 commits