1. 25 Nov, 2003 6 commits
    • unknown's avatar
      merged · a1c0636d
      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
      a1c0636d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · ab57ede7
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      ab57ede7
    • unknown's avatar
      - Removed COPYING.LIB from all source and binary distributions · ea280fd3
      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
      ea280fd3
    • unknown's avatar
      a script that fixes anti-GRANT'ness of privilege tables. · b9eb7a02
      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
      
      
      b9eb7a02
    • unknown's avatar
      mysql-test-run fixes: · 271502ff
      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
      271502ff
    • unknown's avatar
      dict0boot.c: · 7d6479cc
      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
      7d6479cc
  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 · c6311f86
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union-4.1
      
      
      c6311f86
    • unknown's avatar
      after review fixes · 381a8db6
      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
      381a8db6
    • unknown's avatar
      Fix test for binary builds · c61d96d5
      unknown authored
      
      mysql-test/r/rpl_change_master.result:
        Updated results
      c61d96d5
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 382fd752
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      382fd752
    • unknown's avatar
      Replication: · bd6a7001
      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.
      bd6a7001
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 10508712
      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
      10508712
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 88d103aa
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      sql/item_func.cc:
        Auto merged
      88d103aa
    • unknown's avatar
      merge with 4.0 · 51591cad
      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
      51591cad
    • unknown's avatar
      Fixed compiler warnings from Intel compiler in Win64 · ce44db9f
      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
      ce44db9f
    • unknown's avatar
      Fixed UNION fields type/length detecting · 3e21b667
      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
      3e21b667
  4. 22 Nov, 2003 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c1dd9540
      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
      c1dd9540
    • unknown's avatar
      Fix for bug #1500 "Server crash with mysql_prepare" · 00ddd4e5
      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"
      00ddd4e5
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · d0d8ba78
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      
      sql/slave.cc:
        Auto merged
      d0d8ba78
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · b1a563c3
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      sql/ha_innodb.cc:
        Auto merged
      b1a563c3
    • unknown's avatar
      Don't flush cur_log (relay log) on flush_relay_log_info becasue this crashes... · bab6d9f7
      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.
      bab6d9f7
  5. 21 Nov, 2003 9 commits
    • unknown's avatar
      Change word order of a few PROCESSLIST messages to correspond · 840af67a
      unknown authored
      to order used in START SLAVE syntax.
      
      
      sql/log.cc:
        Change word order.
      sql/slave.cc:
        Change word order.
      840af67a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 920c30b4
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      920c30b4
    • unknown's avatar
      added 'explicit' keyword to Bitmap constructor · ac49ce88
      unknown authored
      
      sql/ha_isammrg.cc:
        no Bitmap::operator=(ulonglong) present
      ac49ce88
    • unknown's avatar
      os0file.c: · d842a6d3
      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
      d842a6d3
    • unknown's avatar
      Fixed memory leak with RAID tables · 52521cc8
      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
      52521cc8
    • unknown's avatar
      - removed dependency on MySQL-client from the MySQL-devel RPM subpackage · 9c5fb81f
      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)
      9c5fb81f
    • unknown's avatar
      Added missing file keycache.h · eaae7147
      unknown authored
      
      BUILD/compile-pentium-debug-max:
        s
      eaae7147
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 95c6226a
      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
      95c6226a
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8848cea2
      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
      8848cea2
  6. 20 Nov, 2003 3 commits
    • unknown's avatar
      Update VC++ files · 3ca0fa15
      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
      3ca0fa15
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · a71285a7
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      a71285a7
    • unknown's avatar
      Merge with 4.0 to revert patch for BIGINT assignment to double · ed63732b
      unknown authored
      
      mysql-test/r/bigint.result:
        Auto merged
      mysql-test/t/bigint.test:
        Auto merged
      ed63732b