1. 20 Feb, 2004 10 commits
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · f0a68c5c
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      f0a68c5c
    • unknown's avatar
      - when removing the readline subdir for the commercial distribution, · bd5930cc
      unknown authored
         configure.in needs to be updated and configure needs to be recreated
         for the build to succed
      
      
      bd5930cc
    • unknown's avatar
      after review changes · 9977ce0c
      unknown authored
      
      sql/sql_class.h:
        changed methods names
      sql/sql_prepare.cc:
        changed methods names
        removed incorrect comments
        added error handler
      9977ce0c
    • unknown's avatar
      after review fix · 7dd164f7
      unknown authored
      
      sql/item.h:
        typo fixed
      sql/item_func.h:
        clear refernce on deleted variable
      sql/item_subselect.cc:
        layout fixed
      sql/sql_base.cc:
        temporary memory pool allocation moved from open_and_lock_tables
      sql/sql_prepare.cc:
        temporary memory pool allocation moved
        changing in routine suggeted by Monty
      tests/client_test.c:
        uncomment accidently commented test
      7dd164f7
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 36d2d206
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-prepared-4.1
      
      
      36d2d206
    • unknown's avatar
      rem0cmp.c, data0type.c, data0type.ic, data0type.h, ha_innodb.cc: · 46a07dbc
      unknown authored
        Remove the now redundant flag DATA_NONLATIN1; better comments
      
      
      sql/ha_innodb.cc:
        Remove the now redundant flag DATA_NONLATIN1; better comments
      innobase/include/data0type.h:
        Remove the now redundant flag DATA_NONLATIN1; better comments
      innobase/include/data0type.ic:
        Remove the now redundant flag DATA_NONLATIN1; better comments
      innobase/data/data0type.c:
        Remove the now redundant flag DATA_NONLATIN1; better comments
      innobase/rem/rem0cmp.c:
        Remove the now redundant flag DATA_NONLATIN1; better comments
      46a07dbc
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6226e45b
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.2237
      
      
      6226e45b
    • unknown's avatar
      Fix for #1429 (Segfault in mysql_stmt_close) · 3711e24a
      unknown authored
      Problem was that we checked for existing connection in stmt_close
      and did not free(stmt) if it's closed (that didn't work well with
      embedded)
      I just added new flag to the stmt_close and now we check it instead
      of connection
      
      
      libmysql/client_settings.h:
        declaration changed
      libmysql/libmysql.c:
        stmt_close and it's calls modified
      sql-common/client.c:
        stmt_close call modified
      3711e24a
    • unknown's avatar
      data0type.ic, data0type.h: · 2b5020e1
      unknown authored
        Fix a typo in a comment
      
      
      innobase/include/data0type.h:
        Fix a typo in a comment
      innobase/include/data0type.ic:
        Fix a typo in a comment
      2b5020e1
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · e5245d94
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-prepared-4.1
      
      
      e5245d94
  2. 19 Feb, 2004 8 commits
    • unknown's avatar
      Safety fixes (strnmov -> strmake) · 51a6b4f4
      unknown authored
      
      
      sql/mysqld.cc:
        Safety fix
      sql/set_var.cc:
        Safety fix
      sql/sql_db.cc:
        indentation cleanup
      51a6b4f4
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · bc0c36a4
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-prepared-4.1
      
      
      sql/mysql_priv.h:
        Auto merged
      bc0c36a4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 403255b8
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1
      
      
      403255b8
    • unknown's avatar
      Many files: · be897943
      unknown authored
        Multiple charset support for InnoDB; note that if you create tables and the default charset-collation is not latin1_swedish_ci, then you cannot use those tables if you downgrade to 4.0 again
      
      
      sql/ha_innodb.cc:
        Multiple charset support for InnoDB; note that if you create tables and the default charset-collation is not latin1_swedish_ci, then you cannot use those tables if you downgrade to 4.0 again
      innobase/data/data0type.c:
        Multiple charset support for InnoDB; note that if you create tables and the default charset-collation is not latin1_swedish_ci, then you cannot use those tables if you downgrade to 4.0 again
      innobase/dict/dict0crea.c:
        Multiple charset support for InnoDB; note that if you create tables and the default charset-collation is not latin1_swedish_ci, then you cannot use those tables if you downgrade to 4.0 again
      innobase/dict/dict0load.c:
        Multiple charset support for InnoDB; note that if you create tables and the default charset-collation is not latin1_swedish_ci, then you cannot use those tables if you downgrade to 4.0 again
      innobase/include/data0type.h:
        Multiple charset support for InnoDB; note that if you create tables and the default charset-collation is not latin1_swedish_ci, then you cannot use those tables if you downgrade to 4.0 again
      innobase/include/data0type.ic:
        Multiple charset support for InnoDB; note that if you create tables and the default charset-collation is not latin1_swedish_ci, then you cannot use those tables if you downgrade to 4.0 again
      innobase/rem/rem0cmp.c:
        Multiple charset support for InnoDB; note that if you create tables and the default charset-collation is not latin1_swedish_ci, then you cannot use those tables if you downgrade to 4.0 again
      be897943
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · fe92b279
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1
      
      
      include/my_global.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      fe92b279
    • unknown's avatar
      Max open files handling moved to my_set_max_open_files() · ddbb7880
      unknown authored
      This ensures that my_file_info takes this the max number of files into account and one can now use --open-files-limit on windows to increase number of used files up to 2048
      
      
      client/client_priv.h:
        Added --open-files-limit to mysqlbinlog
      client/mysqlbinlog.cc:
        Added --open-files-limit to mysqlbinlog
      include/config-win.h:
        Define that you can have up to 2048 files open on windows
      include/my_global.h:
        Allow override of OS_FILE_LIMIT
      include/my_sys.h:
        Cleanup
        Added prototypes for my_set_max_open_files() and my_free_open_files()
      libmysql/Makefile.shared:
        Added my_file.c
      myisam/myisamlog.c:
        Use my_set_max_open_files()
      mysys/Makefile.am:
        Use my_file.c (for mysqlbinlog)
      mysys/my_alloc.c:
        Remove compiler warning
      mysys/my_div.c:
        MY_NFILE -> my_file_limit
      mysys/my_dup.c:
        MY_NFILE -> my_file_limit
      mysys/my_fopen.c:
        MY_NFILE -> my_file_limit
      mysys/my_open.c:
        MY_NFILE -> my_file_limit
      mysys/my_static.c:
        Allow changing of open files limit
      mysys/my_static.h:
        Allow changing of open files limit
      sql/mysqld.cc:
        Max open files handling moved to my_set_max_open_files()
      ddbb7880
    • unknown's avatar
      trx0sys.c: · c6ea718b
      unknown authored
        Remove the downgrade 4.1.2 -> 4.0.18 patch accidentally merged from 4.0 to 4.1; the patch must NOT be merged to 4.1; this fixes Bug #2883
      
      
      innobase/trx/trx0sys.c:
        Remove the downgrade 4.1.2 -> 4.0.18 patch accidentally merged from 4.0 to 4.1; the patch must NOT be merged to 4.1; this fixes Bug #2883
      c6ea718b
    • unknown's avatar
      Fix for #2237 and #2490 (analyze and check for RTree keys) · 38042001
      unknown authored
      Now checking of the RTree keys works without errors.
      Worklog entry about appropriate checkup's routine for the RTree added
      
      
      myisam/mi_check.c:
        HA_SPATIAL checks added
      mysql-test/r/gis-rtree.result:
        Appropriate test resutl
      mysql-test/t/gis-rtree.test:
        test case
      38042001
  3. 18 Feb, 2004 3 commits
  4. 17 Feb, 2004 11 commits
    • unknown's avatar
      - fixed C++-style comment in strings/strtod.c which caused a compile · 4443e766
      unknown authored
         error with the IBM xlc_r compiler
      
      
      strings/strtod.c:
         - No C++ comments in .c files, please...
      4443e766
    • unknown's avatar
      libtool tweaks · 0bbab8de
      unknown authored
      
      ltconfig:
        libtool upgrade isn't necessary
      ltmain.sh:
        be consistent
      0bbab8de
    • unknown's avatar
      missing semicolon · fa441ed0
      unknown authored
      fa441ed0
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 017efd21
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      BitKeeper/etc/ignore:
        auto-union
      include/my_global.h:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/r/type_blob.result:
        Auto merged
      mysql-test/t/type_blob.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/russian/errmsg.txt:
        Auto merged
      sql/share/ukrainian/errmsg.txt:
        Auto merged
      017efd21
    • unknown's avatar
      if a key length exceeds the supported maximum and it is safe to auto-decrease it, do it. · a0040b0b
      unknown authored
      
      include/my_global.h:
        do macro correctly
      mysql-test/r/ctype_utf8.result:
        updated
      mysql-test/r/myisam.result:
        updated
      mysql-test/r/type_blob.result:
        updated
      mysql-test/t/ctype_utf8.test:
        updated
      mysql-test/t/type_blob.test:
        new tests
      sql/share/english/errmsg.txt:
        specify that max key length is in BYTES
      sql/share/russian/errmsg.txt:
        specify that max key length is in BYTES
      sql/share/ukrainian/errmsg.txt:
        specify that max key length is in BYTES
      sql/sql_table.cc:
        if a key length exceeds the supported maximum and it is safe to auto-decrease it, do it.
        cleanup
      a0040b0b
    • unknown's avatar
      Fix test results · 18d1234a
      unknown authored
      18d1234a
    • unknown's avatar
      merge · 952f99d4
      unknown authored
      
      mysql-test/r/derived.result:
        Auto merged
      mysql-test/t/derived.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      952f99d4
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 62cc89aa
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
      
      
      62cc89aa
    • unknown's avatar
      changed to moderm syntax (after merge fix) · 269f9f1f
      unknown authored
      269f9f1f
    • unknown's avatar
      Merge vkishkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6fb3c59c
      unknown authored
      into mysql.com:/home/wax/mysql/mysql-4.1
      
      
      6fb3c59c
    • unknown's avatar
      correct cleaning of TZ · edf449e5
      unknown authored
      add a check of the version Visual C
      
      
      mysys/my_init.c:
        add a check of version Visual C
      edf449e5
  5. 16 Feb, 2004 8 commits
    • unknown's avatar
      merge · 7b6b03f3
      unknown authored
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      7b6b03f3
    • unknown's avatar
      Changed wellformedlen to well_formed_len · 709356d4
      unknown authored
      Fixed that blobs >16M can be inserted/updated
      Fixed bug when doing CREATE TEMPORARY TABLE ... LIKE
      
      
      include/m_ctype.h:
        Changed wellformedlen to well_formed_len
      include/mysql.h:
        Fixed comment
      libmysql/libmysql.c:
        Fixed indentation
      libmysqld/lib_sql.cc:
        Fixed indentation
      mysql-test/r/ctype_utf8.result:
        updated warning numbers
      mysql-test/r/innodb.result:
        Moved test to right place
      mysql-test/r/myisam-blob.result:
        More test for blobs
      mysql-test/r/rpl000002.result:
        Move test to better place
      mysql-test/r/rpl_log.result:
        Move test to better place
      mysql-test/r/union.result:
        Move test to better place
      mysql-test/t/innodb.test:
        Moved test to right place
      mysql-test/t/myisam-blob.test:
        More test of blobs
      mysql-test/t/rpl000002.test:
        Move test to better place
      mysql-test/t/rpl_log.test:
        Move test to better place
      mysql-test/t/union.test:
        Move test to better place
      sql/field.cc:
        Changed wellformedlen to well_formed_len.
        Fixed that blobs >16M can be inserted/updated (new bug)
      sql/field.h:
        Code optimization
      sql/sql_lex.cc:
        Changed short variable names
      sql/sql_show.cc:
        Optimized quote handling
      sql/sql_table.cc:
        Fixed bug when doing CREATE TEMPORARY TABLE ... LIKE
      sql/sql_union.cc:
        Added comment
      strings/ctype-big5.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-bin.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-euc_kr.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-gb2312.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-gbk.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-latin1.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-mb.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-simple.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-sjis.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-tis620.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-ucs2.c:
        Changed wellformedlen to well_formed_len
        Indentation changes
      strings/ctype-ujis.c:
        Changed wellformedlen to well_formed_len
      strings/ctype-utf8.c:
        Changed wellformedlen to well_formed_len
      709356d4
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 271b11b3
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
      
      
      271b11b3
    • unknown's avatar
      ulternative bugfix for BUG#2508 and fix for BUG#2809 - every table has its own TABLE structure · 54d93c41
      unknown authored
      
      mysql-test/r/union.result:
        fix for union test becuase now not all fields in UNION allow NULLS
        fix of test
        test suite for BUG#2809
      mysql-test/t/union.test:
        test suite for BUG#2809
      sql/mysql_priv.h:
        removed unused parameter of setup_tables()
      sql/sql_base.cc:
        removed unused parameter of setup_tables()
        cleanup of unused code
      sql/sql_class.h:
        removed unused field
      sql/sql_help.cc:
        removed unused parameter of setup_tables()
      sql/sql_insert.cc:
        removed unused parameter of setup_tables()
      sql/sql_lex.cc:
        excluded duplicate tables finding for UNION
      sql/sql_load.cc:
        removed unused parameter of setup_tables()
      sql/sql_olap.cc:
        removed unused parameter of setup_tables()
      sql/sql_prepare.cc:
        removed unused parameter of setup_tables()
      sql/sql_select.cc:
        removed unused parameter of setup_tables()
        revert old BUG#2508 patch
      sql/sql_union.cc:
        revert old BUG#2508 patch
        removed unused code
      sql/sql_update.cc:
        removed unused parameter of setup_tables()
      sql/table.h:
        shared used only for multi-update for now
      54d93c41
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 66a26620
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      66a26620
    • unknown's avatar
      ft_boolean_syntax made changeable · 5a9ffa30
      unknown authored
      
      BitKeeper/deleted/.del-gstream.cc~e7a4fae849aff6c8:
        Delete: libmysqld/gstream.cc
      BitKeeper/deleted/.del-item_subselect.cc~80564bbdb47e8160:
        Delete: libmysqld/item_subselect.cc
      BitKeeper/deleted/.del-spatial.cc~604df7172b141762:
        Delete: libmysqld/spatial.cc
      BitKeeper/deleted/.del-sql_derived.cc~548b125128871c7a:
        Delete: libmysqld/sql_derived.cc
      BitKeeper/etc/ignore:
        Added libmysqld/item_subselect.cc libmysqld/sql_derived.cc to the ignore list
      5a9ffa30
    • unknown's avatar
      Merge with public tree · 0c259c54
      unknown authored
      
      client/mysqldump.c:
        Auto merged
      configure.in:
        Auto merged
      include/m_ctype.h:
        Auto merged
      include/m_string.h:
        Auto merged
      include/my_global.h:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/fulltext.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/fulltext.test:
        Auto merged
      mysql-test/t/grant.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/union.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_string.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      strings/ctype-mb.c:
        Auto merged
      strings/ctype-simple.c:
        Auto merged
      mysql-test/r/warnings.result:
        Fix error numbers after merge
      sql/share/czech/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/danish/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/dutch/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/estonian/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/french/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/german/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/greek/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/hungarian/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/italian/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/japanese/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/korean/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/norwegian-ny/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/norwegian/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/polish/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/portuguese/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/romanian/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/russian/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/slovak/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/spanish/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/swedish/errmsg.txt:
        Add missing ',' and fix typo
      sql/share/ukrainian/errmsg.txt:
        Add missing ',' and fix typo
      0c259c54
    • unknown's avatar
      Merge with 4.0 to get fix for mysqlbinlog · d00fbce3
      unknown authored
      
      mysql-test/r/mysqlbinlog.result:
        Auto merged
      mysql-test/r/select_found.result:
        Auto merged
      mysql-test/t/select_found.test:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      client/mysqlbinlog.cc:
        Merge with 4.0
      configure.in:
        Merge with 4.0
      mysql-test/r/range.result:
        Use local file
      mysql-test/t/range.test:
        Use local file
      sql/share/english/errmsg.txt:
        Use local file
      d00fbce3