1. 06 May, 2004 11 commits
    • unknown's avatar
      Portability fixes · f3544f3c
      unknown authored
      Change strtoll -> my_strtoll10()
      Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems (Bug #3472)
      
      
      configure.in:
        Fixed problem on IRIX64 (One can't have AC_MSG_RESULT on same row as AC_DEFINE
      extra/my_print_defaults.c:
        Fixed wrong definition for 'verbose'
      include/my_global.h:
        Portability fix (IRIX64)
      libmysql/client_settings.h:
        Remove compiler warnings
      libmysql/libmysql.c:
        Remove compiler warnings
      mysql-test/r/func_str.result:
        Updated results
      mysql-test/r/key_cache.result:
        Updated results to not depend on key_blocks_unused
      mysql-test/t/func_str.test:
        More test of long overflow
      mysql-test/t/key_cache.test:
        Updated results to not depend on key_blocks_unused
      sql/item.cc:
        Portability fix (don't use strtoll())
      sql/item.h:
        Portability fix (don't use strtoll())
      sql/item_sum.h:
        Portability fix (don't use strtoll())
      sql/item_timefunc.cc:
        Fixed compiler warning
      strings/ctype-simple.c:
        Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems
      strings/ctype-ucs2.c:
        Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems
      f3544f3c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · ffdf46a5
      unknown authored
      into mysql.com:/home/pem/work/mysql-4.1
      
      
      ffdf46a5
    • unknown's avatar
      Fixed (portability) bug in handler.h, and tried to silence cast warnings on some platforms. · 52656969
      unknown authored
      
      sql/handler.h:
        Fixed (portability) bug. No qualified method names in the class definition.
      sql/item_cmpfunc.h:
        Attempt to silence cast warnings on some platforms.
      sql/item_subselect.h:
        Attempt to silence cast warnings on some platforms.
      sql/set_var.cc:
        Silence warning (missing cast).
      sql/spatial.h:
        Attempt to silence cast warnings on some platforms.
      sql/sql_cache.cc:
        Silence warning (wrong cast).
      sql/sql_lex.h:
        Attempt to silence cast warnings on some platforms.
      52656969
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 96ae3b4d
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      96ae3b4d
    • unknown's avatar
      - Windows compile fixes: added some missing files to the Windows Project · bd43223e
      unknown authored
         files, fixed linking of myisam_ftdump
      
      
      VC++Files/client/mysqlclient.dsp:
         - added strings/ctype.uca.c
      VC++Files/libmysql/libmysql.dsp:
         - added strings/ctype.uca.c
      VC++Files/myisam_ftdump/myisam_ftdump.dsp:
         - added zlib to the link line
      VC++Files/sql/mysqld.dsp:
         - added discover.cpp
      VC++Files/strings/strings.dsp:
         - added strings/ctype.uca.c
      bd43223e
    • unknown's avatar
      Merge with 4.0 to get security patch for check_grant_colum · 445148f0
      unknown authored
      
      innobase/include/os0file.h:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      mysql-test/r/rpl_server_id2.result:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/slave.cc:
        Merge with 4.0
      445148f0
    • unknown's avatar
      Few cleanups to client_test.c · f088cf99
      unknown authored
      
      tests/client_test.c:
        Few cleanups
      f088cf99
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-3.23 into mysql.com:/home/my/mysql-4.0 · 2d776e36
      unknown authored
      
      sql/sql_acl.cc:
        Auto merged
      2d776e36
    • unknown's avatar
      Remove not used variable · 33359d0b
      unknown authored
      33359d0b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · cc7a8d9b
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      cc7a8d9b
    • unknown's avatar
      Fixed wrong key usage which caused wrong result for some "WHERE... · d91477ce
      unknown authored
      Fixed wrong key usage which caused wrong result for some "WHERE primary_key=constant" queries where MySQL could use 'only index' (Bug #3666)
      The bug was introduced in a patch in the 4.1.2 source tree.
      
      
      mysql-test/r/key.result:
        New result
      mysql-test/t/key.test:
        Added test case for bug in key read
      sql/sql_select.cc:
        Fixed wrong key usage which caused wrong result for some "WHERE primary_key=constant" queries where MySQL could use 'only index' (Bug #3666)
      d91477ce
  2. 05 May, 2004 27 commits
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · cd57fc8b
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-code-cleanup
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      cd57fc8b
    • unknown's avatar
      fixed test results · 1f32e9a1
      unknown authored
      1f32e9a1
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 66842d6e
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ndb-4.1
      
      
      66842d6e
    • unknown's avatar
      Replication: · 974ce66b
      unknown authored
      as the I/O thread filters on the server id, we must test replicate_same_server_id in it (on top of in the SQL thread).
      
      
      mysql-test/r/rpl_server_id2.result:
        result update
      sql/slave.cc:
        As the I/O thread filters on the server id, we must test replicate_same_server_id in it (on top of in the SQL thread).
      974ce66b
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · bfa22229
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      bfa22229
    • unknown's avatar
      very minor changes: a STOP SLAVE in a replication test to get rid of a non... · 601bdde5
      unknown authored
      very minor changes: a STOP SLAVE in a replication test to get rid of a non critical message in slave.err,
      and a comment update
      
      
      mysql-test/r/rpl_server_id2.result:
        result update
      mysql-test/t/rpl_server_id2.test:
        We stop the slave before cleaning up otherwise we'll get
        'drop table t1' executed twice, so an error in the slave.err
        (not critical).
      sql/slave.cc:
        update comment about 4.1 now that 4.1 is fixed (in a few minutes, exactly)
      601bdde5
    • unknown's avatar
      merge · b52317df
      unknown authored
      
      mysql-test/r/subselect.result:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      b52317df
    • unknown's avatar
      After merge fixes · 19d3f588
      unknown authored
      19d3f588
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · e5d43578
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      e5d43578
    • unknown's avatar
      after merge fixes · 000f76cf
      unknown authored
      
      client/mysqldump.c:
        Fixed problem with multiple tables (--skip-quote didn't work properly for second table)
      myisam/myisamchk.c:
        after merge fix
      000f76cf
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 2c95f97c
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ndb-4.1
      
      
      mysql-test/r/subselect.result:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      2c95f97c
    • unknown's avatar
      caching of queries with isammerge tables forbiden using general way · f6428e8b
      unknown authored
      SQL_SELECT_LIMIT as default will be applied only for SELECT statement if there was not explicit LIMIT clause
      correct table list passed to class constructor of select_update
      
      
      mysql-test/r/subselect.result:
        do not show limit if it is not explicit
      mysql-test/r/union.result:
        test of LIMIT + ORDER
      mysql-test/t/union.test:
        test of LIMIT + ORDER
      sql/ha_isammrg.h:
        caching of queries with isammerge tables forbiden
      sql/sql_cache.cc:
        removed check on isammerge
      sql/sql_lex.cc:
        tag of explicit limit in statement
      sql/sql_lex.h:
        tag of explicit limit in statement
      sql/sql_parse.cc:
        blanks in empty line removed
        no limit by default (SQL_SELECT_LIMIT as default will be applied only for SELECT statement if there was not explicit LIMIT clause)
      sql/sql_union.cc:
        reverted incorrect patch
      sql/sql_update.cc:
        reverted incorrect patch
        correct table list passed to class constructor
      sql/sql_yacc.yy:
        explicit LIMIT marked
      f6428e8b
    • unknown's avatar
      Make Item_param::val_int and Item_param::val_str follow the used convention... · e1fc5423
      unknown authored
      Make Item_param::val_int and Item_param::val_str follow the used convention and return 0 if null_value==1.
      
      
      sql/item.h:
        Added comments about Item::valxx() behavior if Item's value is NULL.
      e1fc5423
    • unknown's avatar
      Merge with 4.0.19 · cd21f7ce
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      VC++Files/client/mysqlclient.dsp:
        Auto merged
      VC++Files/mysql.dsw:
        Auto merged
      extra/perror.c:
        Auto merged
      extra/replace.c:
        Auto merged
      innobase/configure.in:
        Auto merged
      innobase/include/lock0lock.h:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      innobase/include/sync0sync.h:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      ltmain.sh:
        Auto merged
      BitKeeper/deleted/.del-libmysqld.def~8edf7b8780ce943c:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/pars/lexyy.c:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/srv/srv0start.c:
        Auto merged
      innobase/sync/sync0arr.c:
        Auto merged
      innobase/sync/sync0sync.c:
        Auto merged
      innobase/trx/trx0trx.c:
        Auto merged
      mysql-test/r/alias.result:
        Auto merged
      mysql-test/t/system_mysql_db_fix-master.opt:
        Auto merged
      mysql-test/r/func_time.result:
        Automatic merge
      mysql-test/r/innodb.result:
        Automatic merge
      mysql-test/t/alias.test:
        Automatic merge
      mysql-test/t/create.test:
        Automatic merge
      mysql-test/t/func_time.test:
        Automatic merge
      sql/ha_innodb.cc:
        Automatic merge
      sql/mysql_priv.h:
        Automatic merge
      mysql-test/r/rpl_multi_update.result:
        Automatic merge
      mysql-test/t/rpl_error_ignored_table.test:
        Automatic merge
      mysql-test/t/rpl_multi_update.test:
        Automatic merge
      sql/slave.h:
        Automatic merge
      sql/sql_base.cc:
        Automatic merge
      sql/sql_db.cc:
        Automatic merge
      sql/sql_insert.cc:
        Automatic merge
      sql/structs.h:
        Automatic merge
      sql/table.cc:
        Automatic merge
      strings/longlong2str-x86.s:
        Automatic merge
      strings/strings-x86.s:
        Automatic merge
      support-files/my-medium.cnf.sh:
        Automatic merge
      cd21f7ce
    • unknown's avatar
      Merge miguel@bk-internal.mysql.com:/home/bk/mysql-4.1 · b30d0883
      unknown authored
      into hegel.local:/home/miguel/bk/mysql-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      b30d0883
    • unknown's avatar
      Fixes for prior commit · cf8463ac
      unknown authored
      
      mysys/my_getsystime.c:
        Applied Sergei's fixes
      sql/sql_prepare.cc:
        Fix prior commit
      cf8463ac
    • unknown's avatar
      InnoDB portability fix: new function os_file_set_eof() · 48260e9d
      unknown authored
      
      innobase/include/os0file.h:
        Add os_file_set_eof()
      innobase/os/os0file.c:
        Add os_file_set_eof()
      innobase/srv/srv0srv.c:
        Replace chsize() or ftruncate() with os_file_set_eof()
      sql/ha_innodb.cc:
        Replace my_chsize() with os_file_set_eof()
      48260e9d
    • unknown's avatar
      Portability fix · 7d918f21
      unknown authored
      7d918f21
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 575541b9
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      mysql-test/r/subselect.result:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      tests/client_test.c:
        Auto merged
      575541b9
    • unknown's avatar
      Delete Items created during Prepared Stat (memory leak bug) (Bug #3451) · e75a26ba
      unknown authored
      
      sql/sql_parse.cc:
        Delete Items created during Prepared Stat (memory leak bug)
      sql/sql_prepare.cc:
        Delete Items created during Prepared Stat (memory leak bug)
      e75a26ba
    • unknown's avatar
      Fixed crashing bug with alter table when table was in use (Bug #3643) · 68d07cbc
      unknown authored
      We didn't use 'only index' for tables of type 'const'. (Bug #3497)
      
      
      mysql-test/r/func_str.result:
        New testfin
      mysql-test/r/key.result:
        New test
      mysql-test/r/key_primary.result:
        Update after "We didn't use 'only index' for tables of type 'const'" fix.
      mysql-test/r/null_key.result:
        Update after "We didn't use 'only index' for tables of type 'const'" fix.
      mysql-test/r/subselect.result:
        Update after "We didn't use 'only index' for tables of type 'const'" fix.
      mysql-test/t/func_str.test:
        Updated bug texts
        Added test for conversion of long string value to integer (Bug #3472)
      mysql-test/t/key.test:
        Test of key read with primary key (Bug #3497)
      sql/item.cc:
        Added assert
      sql/sql_base.cc:
        Fixed crashing bug with alter table when table was in use (Bug #3643)
      sql/sql_load.cc:
        Indentation fixes
      sql/sql_select.cc:
        We didn't use 'only index' for tables of type 'const'. (Bug #3497)
      68d07cbc
    • unknown's avatar
      InnoDB: Truncate "<datadir>/innodb.status.<pid>" to its actual size · b33f8fa7
      unknown authored
      (Bug #3596)
      
      
      innobase/srv/srv0srv.c:
        Truncate "<datadir>/innodb.status.<pid>" to its actual size (Bug #3596)
      sql/ha_innodb.cc:
        Truncate "<datadir>/innodb.status.<pid>" to its actual size (Bug #3596)
      b33f8fa7
    • unknown's avatar
      InnoDB: os0file.c: Lock files exclusively (Bug #3608) · f44fb5fd
      unknown authored
      
      innobase/os/os0file.c:
        Lock files unless #defined __WIN__ or UNIV_HOTBACKUP (Bug #3608)
      f44fb5fd
    • unknown's avatar
      avoid using ndb tables in query cache · ea646dce
      unknown authored
      
      sql/ha_ndbcluster.h:
        fixed layout
        prohibit using query cache with ndb tables
      sql/handler.h:
        new caching type
      sql/sql_cache.cc:
        support of new caching type (caching prohibited)
      ea646dce
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.0 · aee9a548
      unknown authored
      into hundin.mysql.fi:/home/marko/l/mysql-4.0
      
      
      aee9a548
    • unknown's avatar
      Windows fixes for VC++ compiler compability · bddee0c1
      unknown authored
      
      myisam/myisam_ftdump.c:
        VC++ compiler compability fix
      mysys/my_getsystime.c:
        Applied Sergei's code for Windows (still subject to changes by him)
      sql/handler.cc:
        VC++ compiler compability fix
      sql/item_geofunc.cc:
        Removed non-used variable
      sql/item_strfunc.cc:
        VC++ compiler compability fix
      sql/opt_range.cc:
        VC++ compiler compability fix
      sql/sql_insert.cc:
        VC++ compiler compability fix
      sql/sql_lex.cc:
        VC++ compiler compability fix
      sql/sql_parse.cc:
        VC++ compiler compability fix
      sql/sql_prepare.cc:
        VC++ compiler compability fix
      sql/sql_union.cc:
        Removed non-used variable and VC++ compiler compability fix
      bddee0c1
  3. 04 May, 2004 2 commits