An error occurred fetching the project authors.
  1. 07 Sep, 2004 1 commit
    • unknown's avatar
      InnoDB: Add configuration option innodb_autoextend_increment · 13f8420a
      unknown authored
      innobase/include/srv0srv.h:
        Add srv_auto_extend_increment and make SRV_AUTO_EXTEND_INCREMENT
        configureable by it
      innobase/srv/srv0srv.c:
        Add srv_auto_extend_increment
      sql/ha_innodb.cc:
        Add innobase_auto_extend_increment and srv_auto_extend_increment
      sql/ha_innodb.h:
        Add innobase_auto_extend_increment
      sql/mysqld.cc:
        Add "innodb_autoextend_increment" configuration option
      13f8420a
  2. 02 Sep, 2004 1 commit
  3. 01 Sep, 2004 1 commit
  4. 31 Aug, 2004 1 commit
    • unknown's avatar
      Added global my_getopt_error_reporter function pointer which is · c9394a0f
      unknown authored
      used in the handle_options() function (instead of using additional 
      handle_option() parameter). The default value of the 
      my_getopt_error_reporter is default_reporter(). One can set it to
      other functions if case of need.
      
      
      client/mysql.cc:
        Removed extra handle_optins()'s parameter.
      client/mysqladmin.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlbinlog.cc:
        Removed extra handle_optins()'s parameter.
      client/mysqlcheck.c:
        Removed extra handle_optins()'s parameter.
      client/mysqldump.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlimport.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlmanager-pwgen.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlmanagerc.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlshow.c:
        Removed extra handle_optins()'s parameter.
      client/mysqltest.c:
        Removed extra handle_optins()'s parameter.
      extra/my_print_defaults.c:
        Removed extra handle_optins()'s parameter.
      extra/mysql_install.c:
        Removed extra handle_optins()'s parameter.
      extra/mysql_waitpid.c:
        Removed extra handle_optins()'s parameter.
      extra/perror.c:
        Removed extra handle_optins()'s parameter.
      extra/resolve_stack_dump.c:
        Removed extra handle_optins()'s parameter.
      extra/resolveip.c:
        Removed extra handle_optins()'s parameter.
      include/my_getopt.h:
        Removed extra handle_optins()'s parameter.
      isam/isamchk.c:
        Removed extra handle_optins()'s parameter.
      isam/pack_isam.c:
        Removed extra handle_optins()'s parameter.
      myisam/mi_test1.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisam_ftdump.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisamchk.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisampack.c:
        Removed extra handle_optins()'s parameter.
      sql/gen_lex_hash.cc:
        Removed extra handle_optins()'s parameter.
      sql/mysqld.cc:
        Removed extra handle_optins()'s parameter.
      tools/mysqlmanager.c:
        Removed extra handle_optins()'s parameter.
      c9394a0f
  5. 30 Aug, 2004 1 commit
    • unknown's avatar
      bug in my_strnncoll_utf8 (and friends) fixed · d8f416a2
      unknown authored
      cleanups
      better, charset-dependent, ft_max_len_for_sort value
      
      
      myisam/ftdefs.h:
        better ft_max_len_for_sort value
      myisam/mi_check.c:
        better, charset-dependent, ft_max_len_for_sort value
      myisam/myisamchk.c:
        unused value from enum removed
      myisam/sort.c:
        cleanup
      sql/mysql_priv.h:
        cleanup
      sql/mysqld.cc:
        cleanup
      sql/sql_acl.cc:
        cleanup
      sql/tztime.cc:
        cleanup
      strings/ctype-utf8.c:
        bug in my_strnncoll_utf8 (and friends) fixed
      d8f416a2
  6. 28 Aug, 2004 1 commit
  7. 27 Aug, 2004 1 commit
    • unknown's avatar
      Code style fixes. · db15b919
      unknown authored
      Initialize LOG_error_log before get_options to not use an uninitalized mutex in case of an error from handle_options()
      
      
      mysql-test/r/lowercase_table.result:
        Changed foo database -> mysqltest
        More test cases
      mysql-test/t/lowercase_table.test:
        Changed foo database -> mysqltest
        More test cases
      mysys/my_getopt.c:
        Fix new code to use MySQL indentation style
      sql/log.cc:
        Change to use MySQL indentation style and naming conventions
        Remove usage of strlen() and strcat()
      sql/mysqld.cc:
        Initialize LOG_error_log before get_options to not use an uninitalized mutex in case of an error from handle_options()
      sql/sql_base.cc:
        Added comment
      sql/table.cc:
        Added #if MYSQL_VERSION_ID < 40100 to ensure code is merged correctly
      db15b919
  8. 23 Aug, 2004 5 commits
  9. 20 Aug, 2004 1 commit
  10. 19 Aug, 2004 1 commit
    • unknown's avatar
      Bug #4466 Nothing in .err when mysql service ends because of malformed my.ini options · 87bce854
      unknown authored
      mysqld.cc:
        Changed LOGLEVEL enum to loglevel
      mysql_priv.h, log.cc:
        Changed LOGLEVEL to loglevel.  Removed startup_ from some of the DBUG_ENTER macros. Removed the print_msg_to_log function as it was unused.
      my_getopt.c, my_getopt.h:
        Renamed LOGLEVEL to loglevel to match coding standards
      
      
      include/my_getopt.h:
        Renamed LOGLEVEL to loglevel to match coding standards
      mysys/my_getopt.c:
        Renamed LOGLEVEL to loglevel to match coding standards
      sql/log.cc:
        Changed LOGLEVEL to loglevel.  Removed startup_ from some of the DBUG_ENTER macros. Removed the print_msg_to_log function as it was unused.
      sql/mysql_priv.h:
        Changed LOGLEVEL to loglevel.  Removed startup_ from some of the DBUG_ENTER macros. Removed the print_msg_to_log function as it was unused.
      sql/mysqld.cc:
        Changed LOGLEVEL enum to loglevel
      87bce854
  11. 18 Aug, 2004 1 commit
    • unknown's avatar
      BUG# 4466 - Nothing in .err when mysql service ends because of malformed my.ini options · 4736e7d4
      unknown authored
      mysqld.cc:
        Changed option_error_reporter to match new function header that includes LOGLEVEL enum
      mysql_priv.h:
        Removed the MY_ERROR style bitmask.  Changed function headers to use new LOGLEVEL enum
      log.cc:
        Changed print_buffer_to_log to print_buffer_to_file.  Remove the timestamp bool and now all log entries written to stderr are timestamped.  Removed some unused commented code.  changed to use the new LOGLEVEL enum.  
      my_getopt.c:
        Changed functions to use the new LOGLEVEL enum and changed the included error reporter to be default_reporter.  This reporter is used in handle_options if a reporter is not given
      my_getopt.h:
        changed typedefs to use better naming convention.  Moved error bitmask into the LOGLEVEL enum and included it here.
      
      
      include/my_getopt.h:
        changed typedefs to use better naming convention.  Moved error bitmask into the LOGLEVEL enum and included it here.
      mysys/my_getopt.c:
        Changed functions to use the new LOGLEVEL enum and changed the included error reporter to be default_reporter.  This reporter is used in handle_options if a reporter is not given
      sql/log.cc:
        Changed print_buffer_to_log to print_buffer_to_file.  Remove the timestamp bool and now all log entries written to stderr are timestamped.  Removed some unused commented code.  changed to use the new LOGLEVEL enum.
      sql/mysql_priv.h:
        Removed the MY_ERROR style bitmask.  Changed function headers to use new LOGLEVEL enum
      sql/mysqld.cc:
        Changed option_error_reporter to match new function header that includes LOGLEVEL enum
      4736e7d4
  12. 17 Aug, 2004 2 commits
    • unknown's avatar
      srv0start.c, ut0mem.c, ut0dbg.c, ut0dbg.h, srv0start.h: · 0c062ae6
      unknown authored
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      mysqld.cc, ha_innodb.cc:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri) 
      
      
      sql/ha_innodb.cc:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      sql/mysqld.cc:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/include/srv0start.h:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/include/ut0dbg.h:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/ut/ut0dbg.c:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/ut/ut0mem.c:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/srv/srv0start.c:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      0c062ae6
    • unknown's avatar
      002dda7a
  13. 14 Aug, 2004 1 commit
    • unknown's avatar
      mysql_priv.h: · 767d880f
      unknown authored
        Added declarations for print_msg_to_log and vprint_msg_to_log.  sql_print_error are simple functions that wrap calls to print_msg_to_log.  Define the different error types with MY_ERROR_TYPE, MY_WARNING_TYPE, and MY_INFORMATION_TYPE
      gen_lex_hash.cc:
        Added NULL error reporting parameter to handle_options
      log.cc:
        Add print_msg_to_log, print_buffer_to_log, and vprint_msg_to_log.  Print_msg_to_log will write the message to the windows event log if on NT.  We now have error, warning, and information versions of sql_print_xxxx.  T his is a variation of a similar changeset WAX did.
      mysqld.cc:
        Added option_error_reporter callback function and pass that into handle_options
      mysql.cc:
        Added NULL as error reporter arg to the end of handle_options
      Many files:
        Added NULL error reporter parameter as the last paramter to handle_options
      my_getopt.c:
        Added second function pointer to server as an error reporting callback.  Added local function report_option_error that will either write the error to stderr or to the error reporting callback.  changed all calls in handle_options from fprintf(stderr, ... ) to report_option_error
      my_getopt.h:
        Changed declaration of handle_options to use typedefs for the two function pointers.  added second function pointer to server as an error reporting callback
      mysqld.dsp:
        Added custom build step for compiling message file and added message resource file (output of mc)
      
      
      VC++Files/sql/mysqld.dsp:
        Added custom build step for compiling message file and added message resource file (output of mc)
      client/mysqladmin.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlcheck.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqldump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlimport.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlmanager-pwgen.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlmanagerc.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlbinlog.cc:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlshow.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqltest.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/my_print_defaults.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/mysql_install.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/mysql_waitpid.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/perror.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/resolve_stack_dump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/resolveip.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      isam/isamchk.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      isam/pack_isam.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/mi_test1.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisam_ftdump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisamchk.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisampack.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      include/my_getopt.h:
        Changed declaration of handle_options to use typedefs for the two function pointers.  added second function pointer to server as an error reporting callback
      mysys/my_getopt.c:
        Added second function pointer to server as an error reporting callback.  Added local function report_option_error that will either write the error to stderr or to the error reporting callback.  changed all calls in handle_options from fprintf(stderr, ... ) to report_option_error
      tools/mysqlmanager.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysql.cc:
        Added NULL as error reporter arg to the end of handle_options
      sql/mysqld.cc:
        Added option_error_reporter callback function and pass that into handle_options
      sql/log.cc:
        Add print_msg_to_log, print_buffer_to_log, and vprint_msg_to_log.  Print_msg_to_log will write the message to the windows event log if on NT.  We now have error, warning, and information versions of sql_print_xxxx.  T his is a variation of a similar changeset WAX did.
      sql/gen_lex_hash.cc:
        Added NULL error reporting parameter to handle_options
      sql/mysql_priv.h:
        Added declarations for print_msg_to_log and vprint_msg_to_log.  sql_print_error are simple functions that wrap calls to print_msg_to_log.  Define the different error types with MY_ERROR_TYPE, MY_WARNING_TYPE, and MY_INFORMATION_TYPE
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      767d880f
  14. 13 Aug, 2004 2 commits
    • unknown's avatar
      Escaping [] so that darwin[7-8] gets into 'configure' and not darwin7-8 · 62150681
      unknown authored
      Adding a compilation define so that on recent Darwin mysqld does not react to SIGHUP and SIGQUIT:
      this fixes a rpl000001 problem on our Powermac G5 machine (popping after an upgrade from 10.3.4 to
      10.3.5) and is expected to fix 
      BUG#2030 "relay bin log on slave resets multiple times a second"
      (i.e. under some Mac OS X Panther versions, mysqld receives many SIGHUP and SIGQUIT).
      So this fix is more a problem-hider than a real understanding of why mysqld receives so many signals.
      Note that we saw other problems on this OS where mysqld reacts to Ctrl-Z but apparently only once,
      where using SSL seems to make the problem more frequent...
      
      
      configure.in:
        Escaping [] so that darwin[7-8] gets into 'configure' and not darwin7-8
        Adding a compilation define so that on recent Darwin mysqld does not react to SIGHUP and SIGQUIT.
      sql/mysqld.cc:
        optionally ignore SIGHUP and SIGQUIT, for some Mac OS X Panther versions which send too many of those.
      62150681
    • unknown's avatar
      This is the addition of the CSV engine "aka tina". Its an example engine that... · 89987fa1
      unknown authored
      This is the addition of the CSV engine "aka tina". Its an example engine that works as a plain text file. 
      
      
      acconfig.h:
        Adding HAVE CSV rule
      acinclude.m4:
        Build option of csv engine
      configure.in:
        Update for building CSV
      sql/Makefile.am:
        Added files for CSV build
      sql/handler.cc:
        Needed options for CSV to be created.
      sql/handler.h:
        CSV type engine enum.
      sql/mysql_priv.h:
        Addition of the have_csv_db variable.
      sql/mysqld.cc:
        Code to show csv option.
      sql/set_var.cc:
        Adding have show variables for both csv and example.
      89987fa1
  15. 12 Aug, 2004 2 commits
  16. 09 Aug, 2004 2 commits
    • unknown's avatar
      mysqld.cc: · 17f95c28
      unknown authored
        minor option description change.
      
      
      sql/mysqld.cc:
        minor option description change.
      17f95c28
    • unknown's avatar
      mysqld.cc: · caaa692c
      unknown authored
        Put --help first, reorder other options so that they are
        alphabetical. (shouldn't have to use grep to find an option.)
        Move group_concat_max_len to variable part of list.
        Rename character_set_server, collation_server,
        shared_memory_base_name to character-set-server,
        collation-server, shared-memory-base-name.
        Make default-collation message refer to collation-server
        rather than character-set-server.
      
      
      sql/mysqld.cc:
        Put --help first, reorder other options so that they are
        alphabetical. (shouldn't have to use grep to find an option.)
        Move group_concat_max_len to variable part of list.
        Rename character_set_server, collation_server,
        shared_memory_base_name to character-set-server,
        collation-server, shared-memory-base-name.
        Make default-collation message refer to collation-server
        rather than character-set-server.
      caaa692c
  17. 08 Aug, 2004 1 commit
    • unknown's avatar
      mysqld.cc: · 82d9b4a8
      unknown authored
        get_options() did an exit(0) after reporting "Too many arguments"
      
      
      sql/mysqld.cc:
        get_options() did a exit(0) when reporting "Too many arguments"
      82d9b4a8
  18. 06 Aug, 2004 1 commit
    • unknown's avatar
      InnoDB: Add option for disabling innodb_status.<pid> files. · fc4364e3
      unknown authored
      InnoDB: Implement tmpfile() differently on Windows (Bug #3998)
      
      
      innobase/dict/dict0dict.c:
        Check the return value of os_file_create_tmpfile(),
        as it can now return NULL
      innobase/include/os0file.h:
        Note that os_file_create_tmpfile() can now return NULL
      innobase/include/srv0srv.h:
        Add a new server flag (srv_innodb_status) to disable
        the creation of innodb_status.<pid> files
      innobase/lock/lock0lock.c:
        Check the return value of os_file_create_tmpfile(),
        as it can now return NULL
      innobase/os/os0file.c:
        os_file_create_tmpfile(): separate implementation for Win32;
        errors will be reported but will not cause assertion failure
      innobase/srv/srv0srv.c:
        Add a new server flag (srv_innodb_status) to disable
        the creation of innodb_status.<pid> files
      innobase/srv/srv0start.c:
        innobase_start_or_create_for_mysql(): create srv_monitor_file
        with tmpfile() or with a visible name "innodb_status.<pid>",
        depending on the setting of the flag srv_innodb_status.
      sql/ha_innodb.cc:
        innobase_init(): initialize srv_innodb_status
        update_table_comment(), get_foreign_key_create_info(): replace
        tmpfile() with os_file_create_tmpfile()
      sql/ha_innodb.h:
        Add new Boolean flag, innobase_create_status_file.
      sql/mysqld.cc:
        Add new Boolean flag, innodb_status_file
      fc4364e3
  19. 05 Aug, 2004 1 commit
    • unknown's avatar
      mysqld.cc, mysql_test_run.c: · c0cc90c2
      unknown authored
        Changed URL in error message, page has moved
      
      
      netware/mysql_test_run.c:
        Changed URL in error message, page has moved
      sql/mysqld.cc:
        Changed URL in error message, page has moved
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c0cc90c2
  20. 04 Aug, 2004 1 commit
    • unknown's avatar
      Print MYSQL_COMPILATION_COMMENT after ER_READY on server startup · 03daa16a
      unknown authored
      sql/share/czech/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/danish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/dutch/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/english/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/estonian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/french/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/german/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/greek/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/hungarian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/japanese/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/korean/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/norwegian-ny/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/norwegian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/polish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/portuguese/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/romanian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/russian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/slovak/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/spanish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/swedish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/ukrainian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      03daa16a
  21. 28 Jul, 2004 1 commit
  22. 26 Jul, 2004 1 commit
  23. 22 Jul, 2004 1 commit
    • unknown's avatar
      Several fixes to make tests working for embedded library · 205703ff
      unknown authored
      libmysqld/lib_sql.cc:
        max_allowed_packet - don't send client one to global
        thread initialization fixed
        "std" to "def" in catalog name
      sql/mysqld.cc:
        added initialization of global_system_variables.max_allowed_packet
      sql/set_var.cc:
        don't do this in embedded library
      205703ff
  24. 20 Jul, 2004 1 commit
    • unknown's avatar
      Added innodb_locks_unsafe_for_binlog option. This option turns off Innodb · 238b226f
      unknown authored
        next-key locking. Using this option the locks InnoDB sets on index 
        records do not affect the ``gap'' before that index record. Thus, this option
        allows phantom problem.
      
      
      innobase/include/srv0srv.h:
        Added srv_locks_unsafe_for_binlog for innodb_locks_unsafe_for_binlog option.
      innobase/row/row0sel.c:
        If innodb_locks_unsafe_for_binlog option is used, we lock only the record, i.e. 
        next-key locking is not used. Therefore, setting lock to the index record
        do not affect the ``gap'' before that index record. Thus, this option
        allows phantom problem, because concurrent insert operations are allowed inside 
        the select range.
      innobase/srv/srv0srv.c:
        Added srv_locks_unsafe_for_binlog for innodb_locks_unsafe_for_binlog option.
      sql/ha_innodb.cc:
        Added innobase_locks_unsafe_for_binlog and srv_locks_unsafe_for_binlog for 
        innodb_locks_unsafe_for_binlog option.
      sql/ha_innodb.h:
        Added innobase_locks_unsafe_for_binlog for innodb_locks_unsafe_for_binlog option.
      sql/mysqld.cc:
        Added OPT_INNODB_LOCKS_UNSAFE_FOR_BINLOG, innobase_locks_unsafe_for_binlog for
        innodb_locks_unsafe_for_binlog option.
      sql/set_var.cc:
        Added innodb_locks_unsafe_for_binlog and innobase_locks_unsafe_for_binlog for
        innodb_locks_unsafe_for_binlog option.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      238b226f
  25. 12 Jul, 2004 1 commit
  26. 09 Jul, 2004 1 commit
    • unknown's avatar
      Cleanup of db option cacheing · b4220977
      unknown authored
      Some bug fixes to last pushed code
      
      
      mysql-test/mysql-test-run.sh:
        Fix for new valgrind (2.1.1)
      mysql-test/r/bdb.result:
        Updated results
      mysql-test/t/ps_1general.test:
        removed wrong error condition
      sql/ha_berkeley.cc:
        Fix for index_flags() in new code
      sql/item_strfunc.cc:
        Cleanup (fixed indentation, removed short variable names)
      sql/mysql_priv.h:
        Cleanup of db option cacheing
      sql/mysqld.cc:
        Cleanup of db option cacheing
      sql/sql_db.cc:
        Cleanup of db option cacheing
      sql/sql_parse.cc:
        Cleanup of db option cacheing
      sql/sql_table.cc:
        sprintf -> strxmov
      sql/table.cc:
        key_read should be tested on key parts, not the whole key
      b4220977
  27. 08 Jul, 2004 1 commit
  28. 26 Jun, 2004 1 commit
  29. 25 Jun, 2004 1 commit
    • unknown's avatar
      remove ^M's · 5a305ab5
      unknown authored
      compile even without InnoDB
      
      
      mysql-test/t/system_mysql_db_fix.test:
        remove ^M's
      mysql-test/t/system_mysql_db_refs.test:
        remove ^M's
      sql/mysqld.cc:
        compile even without InnoDB !
      5a305ab5
  30. 24 Jun, 2004 3 commits
    • unknown's avatar
      Fix for Bug#4030 "Client side conversion string -> date type doesn't · 9dde4188
      unknown authored
      work (prepared statements)" and after-review fixes:
      - str_to_TIME renamed to str_to_datetime to pair with str_to_time
      - functions str_to_time and str_to_TIME moved to sql-common
      - send_data_str now supports MYSQL_TYPE_TIME, MYSQL_TIME_DATE,
        MYSQL_TIME_DATETIME types of user input buffers.
      - few more comments in the client library
      - a test case added.
      
      
      VC++Files/libmysql/libmysql.dsp:
        new file: my_time.c
      VC++Files/libmysqld/libmysqld.dsp:
        new file: my_time.c
      VC++Files/sql/mysqld.dsp:
        new file: my_time.c
      include/Makefile.am:
        - mysql_time.h added to the list of installed client library headers
      include/mysql.h:
        - declarations for MYSQL_TIME and enum_mysql_timestamp_type moved to 
        mysql_time.h, which is in shared use of client library and mysys.
      libmysql/Makefile.shared:
        - my_time.lo added to the list of libmysql objects
      libmysql/libmysql.c:
        Fix for bug#4030 "Client side conversion string -> date type doesn't work
         (prepared statements)" and cleanup.
        - added case labels for TIME/DATE/DATETIME types to send_data_str
        - comments for read_binary_{date,time,datetime}, fetch_result_*, fetch_results.
      libmysqld/Makefile.am:
        - my_time.c added
      sql-common/Makefile.am:
        - my_time.c added to the list of files included into source distribution.
      sql/Makefile.am:
        my_time.c added to the list of mysqld sources.
      sql/field.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
      sql/item.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
      sql/item_timefunc.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
      sql/mysql_priv.h:
        - added typedefs for TIME and timestamp_type
        - removed declarations for str_to_time and str_to_TIME (now this functions
          reside in mysys)
      sql/mysqld.cc:
        - log_10_int moved to mysys (it's used by str_to_TIME and str_to_time)
        - enum values TIMESTAMP_{TIME,DATE,DATETIME} were renamed to
          MYSQL_TIMESTAMP_{TIME,DATE,DATETIME}
      sql/set_var.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
      sql/set_var.h:
        - fixed timestamp_type usage to be compatible with typedef.
      sql/sql_prepare.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME} were renamed to
          MYSQL_TIMESTAMP_{TIME,DATE,DATETIME}
        - embedded library implementation of set_param_{time,date,datetime} is
        much simplier now, as MYSQL_TIME is the same as TIME.
      sql/sql_yacc.yy:
        - s/\<TIMESTAMP_/MYSQL_TIMESTAMP/gc
      sql/structs.h:
        - declarations for TIME and timestamp_type replaced with typedefs
        - str_to_datetime arguments moved to mysys headers
      sql/time.cc:
        - str_to_time and str_to_TIME moved to mysys
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...} as these names are now
          exported to client.
        - str_to_TIME renamed to str_to_datetime to pair with str_to_time
        - str_to_TIME_with_warn renamed accordingly
      sql/tztime.cc:
        - TIMESTAMP_{TIME,DATE,DATETIME,...} renamed to 
          MYSQL_TIMESTAMP_{TIME,DATETIME,DATE,...}
      tests/client_test.c:
        - a test case for Bug#4030 "Client side conversion string -> date type 
        doesn't work (prepared statements)"
      9dde4188
    • unknown's avatar
      Enabling the --innodb-safe-binlog option in code. If you wish to disable it, · 7d999002
      unknown authored
      you just need to change this line of mysqld.cc:
      #if MYSQL_VERSION_ID >= 40103
      to, say,
      #if MYSQL_VERSION_ID > 40103
      I am noticing a failure of bdb.test; I believe this is not related to the
      code I added yesterday and today, but I am checking. In any case I push this
      changeset as it cannot by itself bring more mess that I *may* (or not)
      already have brought with previous pushes.
      
      
      sql/handler.cc:
        if innodb_active_trans is true then innobase_tid too.
      sql/mysqld.cc:
        only a warning if --innodb-safe-binlog without InnoDB (it's true this situation will not hurt).
        Enabling the --innodb-safe-binlog option.
      7d999002
    • unknown's avatar
      Final part of WL#1717 "innodb/binlog consistency". This is to resolve · 3198ea57
      unknown authored
      a limitation of yesterday's implementation:
      if there was an unfinished transaction (COMMIT not typed), and some MyISAM tables were
      then updated, and then mysqld crashes, then at restart the server would use the too old
      binlog offset known by InnoDB to cut the binlog, thus cutting the successful MyISAM
      updates. We fix this by reporting the binlog offset into InnoDB even if InnoDB was not
      affected at all by the update.
      But the feature is still disabled until we decide if it can go into 4.1.3.
      
      
      sql/handler.cc:
        How we report the binlog offset into InnoDB:
        - if the update affected InnoDB, it will happen naturally
        - otherwise (for example MyISAM update not in an InnoDB transaction), we explicitely report it.
      sql/handler.h:
        removing warning (noticed this)
      sql/log.cc:
        clearer messages when truncating binlog.
      sql/mysql_priv.h:
        need to see opt_innodb_safe_binlog in handler.cc
      sql/mysqld.cc:
        No innodb-safe-binlog if no InnoDB.
        Updating message as now we work with MyISAM.
      3198ea57