1. 25 Nov, 2003 8 commits
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 into mysql.com:/space/my/mysql-4.1 · cf6e6c3e
      unknown authored
      
      Docs/Makefile.am:
        Auto merged
      cf6e6c3e
    • unknown's avatar
      - Removed COPYING.LIB from txt_files target in Docs/Makefile.am · 1b2179ad
      unknown authored
      
      Docs/Makefile.am:
         - Removed COPYING.LIB from txt_files target
      1b2179ad
    • unknown's avatar
      merged · 978d7ff5
      unknown authored
      
      Docs/Makefile.am:
        Auto merged
      mysql-test/t/rpl_change_master.test:
        Auto merged
      mysys/my_getopt.c:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      scripts/make_win_src_distribution.sh:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      mysql-test/r/rpl_change_master.result:
        merged - ul
      978d7ff5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 54466625
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      54466625
    • unknown's avatar
      - Removed COPYING.LIB from all source and binary distributions · 878430e8
      unknown authored
         after it was removed from manual.texi (where it was automatically
         generated from).
      
      
      Docs/Makefile.am:
         - don't create COPYING.LIB anymore (was removed from manual.texi)
      Makefile.am:
         - Removed COPYING.LIB from the source distribution
      scripts/make_binary_distribution.sh:
         - Removed COPYING.LIB from the binary distribution
      scripts/make_win_src_distribution.sh:
         - Removed COPYING.LIB from the windows source distribution
      support-files/mysql.spec.sh:
         - Removed COPYING.LIB from the Server RPM
      878430e8
    • unknown's avatar
      a script that fixes anti-GRANT'ness of privilege tables. · 33615095
      unknown authored
      It can appear as a result of manual modifications with INSERT/UPDATE/DELETE
      
      This script converts privilege table to the state that could be created
      with GRANT commands only (with the exception of the short password)
      
      This is necessary for 5.0
      
      33615095
    • unknown's avatar
      mysql-test-run fixes: · c1fdfbe7
      unknown authored
      libexec support in install_test_db
      --start-from in mysql-test-run
      
      
      mysql-test/install_test_db.sh:
        libexec support in install_test_db
      mysql-test/mysql-test-run.sh:
        --start-from in mysql-test-run
      c1fdfbe7
    • unknown's avatar
      dict0boot.c: · a09051d5
      unknown authored
        Marko's patch: check the position of some system table columns already at C compile time
      
      
      innobase/dict/dict0boot.c:
        Marko's patch: check the position of some system table columns already at C compile time
      a09051d5
  2. 24 Nov, 2003 7 commits
  3. 23 Nov, 2003 10 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 7cc69268
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union-4.1
      
      7cc69268
    • unknown's avatar
      after review fixes · c73803e9
      unknown authored
      
      mysql-test/r/union.result:
        new tests, more correct results for old one
      mysql-test/t/union.test:
        new tests, more correct results for old one
      sql/field.cc:
        new way to make field types csting
      sql/field.h:
        new way to make field types csting
      sql/item.cc:
        new way to make field types csting
      sql/sql_derived.cc:
        fixed typo
      sql/sql_lex.h:
        comment added
      c73803e9
    • unknown's avatar
      Fix test for binary builds · 6da14dae
      unknown authored
      
      mysql-test/r/rpl_change_master.result:
        Updated results
      6da14dae
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · c746b929
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      c746b929
    • unknown's avatar
      Replication: · ed39d48c
      unknown authored
      Now the I/O thread (in flush_master_info()) flushes the relay log to disk
      after reading every event. Slower but provides additionnal safety in case
      of brutal crash.
      I had to make the flush optional (i.e. add a if(some_bool_argument) in the function)
      because sometimes flush_master_info() is called when there is no usable
      relay log (the relay log's IO_CACHE is not initialized so can't be flushed).
      
      
      mysql-test/r/rpl_loaddata_rule_m.result:
        avoid a harmless error in the .err file; we don't need a slave in this test
        (even though it's called 'rpl' because it's testing binlog-ignore-db).
      mysql-test/t/rpl_loaddata_rule_m.test:
        result update
      sql/repl_failsafe.cc:
        update call to flush_master_info() according to new prototype.
      sql/slave.cc:
        - Now the I/O thread (in flush_master_info()) flushes the relay log to disk
        after reading every event. Slower but provides additionnal safety in case
        of brutal crash.
        I had to make the flush optional (i.e. add a if(some_bool_argument) in the function)
        because sometimes flush_master_info() is called when there is no usable
        relay log (the relay log's IO_CACHE is not initialized so can't be flushed).
        - Update version in message.
        - Remove warning about bug as it's not true anymore (since this changeset).
      sql/slave.h:
        new prototype
      sql/sql_repl.cc:
        update call to flush_master_info() according to new prototype.
      ed39d48c
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · ae5d1fde
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union-4.1
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      ae5d1fde
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 061c83da
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      sql/item_func.cc:
        Auto merged
      061c83da
    • unknown's avatar
      merge with 4.0 · 982a4f0a
      unknown authored
      
      mysql-test/r/fulltext.result:
        Auto merged
      mysql-test/t/fulltext.test:
        Auto merged
      mysql-test/t/fulltext_left_join.test:
        Auto merged
      982a4f0a
    • unknown's avatar
      Fixed compiler warnings from Intel compiler in Win64 · 73aff380
      unknown authored
      Added option --max-record-length=# to myisamchk
      Don't try repair twice if doing myisamchk --repair --force
      Shared memory handler didn't clean up things on errors or shutdown
      
      
      VC++Files/libmysqltest/mytest.c:
        Fixed compiler warnings from Intel compiler
      include/myisam.h:
        Added option --max-record-length=# to myisamchk
      include/mysql_com.h:
        Fixed compiler warnings from Intel compiler
      innobase/btr/btr0btr.c:
        Fixed compiler warnings from Intel compiler
      innobase/btr/btr0cur.c:
        Fixed compiler warnings from Intel compiler
      innobase/include/btr0btr.ic:
        Fixed compiler warnings from Intel compiler
      innobase/include/buf0buf.ic:
        Fixed compiler warnings from Intel compiler
      innobase/include/row0sel.ic:
        Fixed compiler warnings from Intel compiler
      innobase/include/row0upd.ic:
        Fixed compiler warnings from Intel compiler
      innobase/include/trx0rseg.ic:
        Fixed compiler warnings from Intel compiler
      innobase/pars/pars0opt.c:
        Fixed compiler warnings from Intel compiler
      innobase/que/que0que.c:
        Fixed compiler warnings from Intel compiler
      myisam/mi_check.c:
        Added option --max-record-length=# to myisamchk
        Better error messages
      myisam/myisamchk.c:
        Added option --max-record-length=# to myisamchk
        Don't try repair twice if doing myisamchk --repair --force
      mysql-test/r/create.result:
        Updated test results
      mysql-test/t/create.test:
        Better initialization
      sql/ha_innodb.cc:
        Fixed compiler warnings from Intel compiler
      sql/item_func.cc:
        Fixed compiler warnings from Intel compiler
      sql/mysqld.cc:
        Fixed compiler warnings from Intel compiler
        Cleaned up handle_connections_shared_memory
        Shared memory handler didn't clean up things on errors or shutdown
      strings/bmove512.c:
        Fixed compiler warnings from Intel compiler
      73aff380
    • unknown's avatar
      Fixed UNION fields type/length detecting · 0fdce449
      unknown authored
      
      mysql-test/r/union.result:
        new results with max union field length detecting
        type conversion tests
      mysql-test/t/union.test:
        type conversion tests
      sql/field.h:
        field converion support
      sql/item.cc:
        fixed printing field of internal temporary table of SELECT (reference from HAVING clause)
        layout fix
        new item for storing field type
      sql/item.h:
        new item for storing field type
      sql/item_subselect.cc:
        new subquery item length/dec detecting
      sql/mysql_priv.h:
        we do not need pre-inited tables and fields
      sql/sql_base.cc:
        we do not need double fix_fielding
      sql/sql_class.h:
        we do not need double fix_fielding
      sql/sql_derived.cc:
        preparing moved before temporary table creation
      sql/sql_lex.h:
        we do not need pre-inited tables and fields
        new lists to store fields types and fields of temporary table
      sql/sql_parse.cc:
        we do not need pre-inited tables and fields
      sql/sql_prepare.cc:
        we do not need pre-inited tables and fields
      sql/sql_select.cc:
        we do not need pre-inited tables and fields
        support mysql_select call from derived tables after it preparing (in derived table routing)
        support of crreating temporary table fields from Item_type_holder
      sql/sql_select.h:
        we do not need pre-inited tables and fields
      sql/sql_union.cc:
        we do not need pre-inited tables and fields
        check of columns number in union moved to prepare()
        prepering of SELECTS moved before temporary table creation, fixed union columns type/length detecting
      sql/sql_update.cc:
        we do not need pre-inited tables and fields
      0fdce449
  4. 22 Nov, 2003 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5beab3cf
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg1500-2
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      5beab3cf
    • unknown's avatar
      Fix for bug #1500 "Server crash with mysql_prepare" · e3386d8f
      unknown authored
      We treat Item_param whose value is not set as non-const.
      This allows us to avoid use of Item_param's value (not yet existing) in 
      those fix_fields and fix_length_and_dec that do calculations if their 
      Items arguments are const. So we can call fix_fields for such items from
      mysql_prepare safely.
      
      
      sql/item.cc:
        Now Item_param is non-constant (const_item()==FALSE) until its value is set.
      sql/item.h:
        Added Item::const_during_execution() method which indicates constants that will be known 
        during execution phase (but they may be not known during preparing phase for example parameters 
        of prep. statements.)
        Made Item_param non-constant until its is value set, so its value won't be requested during 
        prepare statement step.
      sql/item_func.cc:
        Fulltext search AGAINST clause now allows prepared statement parameter as its argument.
        Removed duplicate used_tables_cache update in Item_func_match::fix_fields()
        (it is set during Item_func::fix_fields).
      tests/client_test.c:
        Added test for bug #1500 "Server crash with mysql_prepare"
      e3386d8f
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 59e0dc2e
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      
      sql/slave.cc:
        Auto merged
      59e0dc2e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 02c4489f
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      sql/ha_innodb.cc:
        Auto merged
      02c4489f
    • unknown's avatar
      Don't flush cur_log (relay log) on flush_relay_log_info becasue this crashes... · 2ca30725
      unknown authored
      Don't flush cur_log (relay log) on flush_relay_log_info becasue this crashes the server if cur_log is 'hot' and the io_thread has changed log file.
      Updated project files for windows
      Made rpl_change_master.test portable
      Ensure that mutex are not freed if not initilized
      
      
      VC++Files/client/mysql.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/comp_err/comp_err.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/innobase/innobase.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/libmysqld/examples/test_libmysqld.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/libmysqld/libmysqld.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/myisamchk/myisamchk.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/myisamlog/myisamlog.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/myisampack/myisampack.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/mysqlmanager/MySqlManager.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/mysqlshutdown/mysqlshutdown.dsp:
        Updated project files for windows according to suggestions from Intel
      VC++Files/mysys/mysys.dsp:
        Updated project files for windows according to suggestions from Intel
      libmysql/libmysql.c:
        Removed not used include files (which caused problems on Win64)
      mysql-test/r/rpl_change_master.result:
        Made test portable
      mysql-test/t/rpl_change_master.test:
        Made test portable
      sql-common/client.c:
        Removed not used include files (which caused problems on Win64)
      sql/ha_innodb.cc:
        Ensure that mutex is not freed if not initilized
      sql/hostname.cc:
        Ensure that mutex is not freed if not initilized
      sql/slave.cc:
        Don't flush cur_log (relay log) on flush_relay_log_info becasue this crashes the server if cur_log is 'hot' and the io_thread has changed log file.
      2ca30725
  5. 21 Nov, 2003 9 commits
    • unknown's avatar
      Change word order of a few PROCESSLIST messages to correspond · 36ca5c0d
      unknown authored
      to order used in START SLAVE syntax.
      
      
      sql/log.cc:
        Change word order.
      sql/slave.cc:
        Change word order.
      36ca5c0d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 77210169
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      77210169
    • unknown's avatar
      added 'explicit' keyword to Bitmap constructor · 9998df71
      unknown authored
      
      sql/ha_isammrg.cc:
        no Bitmap::operator=(ulonglong) present
      9998df71
    • unknown's avatar
      os0file.c: · 2d2893af
      unknown authored
        Fix the OS error 2 reported by Miguel and Mark in Windows crash recovery: a * had been forgotten from the path in directory scanning
      ha_innodb.cc:
        Set default directory in fil0fil.c right if we are running the Embedded Server Library, where the default dir of the process is not necessarily the MySQL datadir
      
      
      sql/ha_innodb.cc:
        Set default directory in fil0fil.c right if we are running the Embedded Server Library, where the default dir of the process is not necessarily the MySQL datadir
      innobase/os/os0file.c:
        Fix the OS error 2 reported by Miguel and Mark in Windows crash recovery: a * had been forgotten from the path in directory scanning
      2d2893af
    • unknown's avatar
      Fixed memory leak with RAID tables · 20eba3e0
      unknown authored
      Fixed tests for RAID tables
      Detect uninitialized mutexes on lock and destroy
      
      
      mysql-test/r/raid.result:
        Updated results
      mysql-test/r/rpl_change_master.result:
        Update results missing from last patch
      mysql-test/t/raid.test:
        Clean up test
      mysys/mf_iocache.c:
        Comments
        Small safety fix
      mysys/thr_mutex.c:
        Detect uninitialized mutexes on lock and destroy
      sql/sql_db.cc:
        Fixed memory leak with RAID tables
      20eba3e0
    • unknown's avatar
      - removed dependency on MySQL-client from the MySQL-devel RPM subpackage · 707eb997
      unknown authored
         as it is not really required. (BUG 1610) Thanks to Scott Harrison for
         the suggestion.
      
      
      support-files/mysql.spec.sh:
         - removed dependency on MySQL-client from the MySQL-devel subpackage
           as it is not really required. (BUG 1610)
      707eb997
    • unknown's avatar
      Added missing file keycache.h · dcd6c9dc
      unknown authored
      
      BUILD/compile-pentium-debug-max:
        s
      dcd6c9dc
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 24d3b08f
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.1727
      
      
      mysql-test/r/derived.result:
        Auto merged
      mysql-test/t/derived.test:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      24d3b08f
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · de035068
      unknown authored
      into ice.snake.net:/Users/paul/mysql-4.1
      
      
      mysql-test/r/rpl_loaddata.result:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      de035068
  6. 20 Nov, 2003 1 commit
    • unknown's avatar
      Update VC++ files · c3cce96e
      unknown authored
      Portability fixes
      After merge fixes
      
      
      VC++Files/mysql.dsw:
        Added dependencys
      VC++Files/mysys/mysys.dsp:
        Add missing files
      client/mysqlcheck.c:
        Added comment
      client/mysqltest.c:
        Remove not used variables
      include/keycache.h:
        Removed not used element
      include/m_ctype.h:
        Portability fix
      include/my_base.h:
        Removed not used define
      myisam/mi_keycache.c:
        Added mutex for extra safety
      mysql-test/r/count_distinct3.result:
        Faster test
      mysql-test/r/rpl_change_master.result:
        updated results
      mysql-test/t/count_distinct3.test:
        Faster test
      mysql-test/t/rpl_change_master.test:
        Make test repeatable
      mysys/default.c:
        Remove compiler warning
      mysys/mf_keycache.c:
        Removed not used 'action' element
      mysys/my_getopt.c:
        Remove not used variable
      sql/ha_myisam.cc:
        Remove compiler warning
      sql/item.cc:
        Fixed wrong patch from last changeset
      sql/item_timefunc.cc:
        Remove compiler warnings
      sql/set_var.cc:
        Remove compiler warnings
      sql/sql_prepare.cc:
        Remove not used variables
      sql/sql_repl.cc:
        After merge fix
      sql/sql_select.h:
        Added comments
      sql/sql_table.cc:
        Remove not used define
      strings/ctype-tis620.c:
        Remove not used variables
      c3cce96e