1. 21 Mar, 2003 1 commit
  2. 20 Mar, 2003 13 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · d7bccdbe
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      sql/password.c:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      d7bccdbe
    • unknown's avatar
      After merge fixes · e968e3b1
      unknown authored
      Fixed bug in Item::set_name()
      Fix for memory leak with geometry type
      
      
      mysql-test/r/create.result:
        Fixed results after merge
      mysql-test/r/innodb.result:
        Hack to make test repeatable
        (InnoDB's cardinality numbers varies a bit between tests)
      mysql-test/r/rpl_relayspace.result:
        After merge fix
      mysql-test/t/innodb.test:
        Hack to make test repeatable
        (InnoDB's cardinality numbers varies a bit between tests)
      sql/ha_myisam.cc:
        Indentation cleanup
      sql/item.cc:
        Fixed bug in Item::set_name()
      sql/password.c:
        After merge fix
      sql/sql_update.cc:
        After merge fix
      sql/table.cc:
        Fix for memory leak with geometry type
      e968e3b1
    • unknown's avatar
      item_cmpfunc.cc: · f27d5558
      unknown authored
        cmp_charset was not initialized
        valgrind fix
        LIKE now works according to coercibility rules
      
      
      sql/item_cmpfunc.cc:
        cmp_charset was not initialized
        valgrind fix
        LIKE now works according to coercibility rules
      f27d5558
    • unknown's avatar
      SELECT N'string' · 9e5a1ba6
      unknown authored
      9e5a1ba6
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · d0ae2c12
      unknown authored
      into mysql.r18.ru:/usr/home/ram/work/mysql-4.1.sp
      
      
      sql/field.cc:
        Auto merged
      d0ae2c12
    • unknown's avatar
      R-tree bug fixes. · 83a4fcac
      unknown authored
      
      myisam/rt_index.c:
        Should call find_first() instead of find_next() after key deletion.
        Fixed type cast.
      myisam/sp_key.c:
        Fixed spatial key creation.
      sql/field.cc:
        To get rid of warning.
      83a4fcac
    • unknown's avatar
      NATIONAL CHARACTER VARYING(n) · 3112cd61
      unknown authored
      NATIONAL CHAR VARYING(n)
      NCHAR VARYING(n)
      
      are now aliases for
      
      VARCHAR(n) CHARACTER SET utf8
      
      
      3112cd61
    • unknown's avatar
      · 4637fa16
      unknown authored
      NCHAR(n) and NATIONAL CHARACTER(n)
      is now synonim for
      CHARACTER(n) CHARACTER SET utf8
      
      
      4637fa16
    • unknown's avatar
      New syntax for character strings: · dd94ef10
      unknown authored
      SELECT _latin1 0x345678;
      SELECT _latin x'345678';
      
      
      dd94ef10
    • unknown's avatar
      another bad merge fixed · c6778cee
      unknown authored
      c6778cee
    • unknown's avatar
      fixed bad merge (s/rnd/my_rnd/) · 10096d91
      unknown authored
      10096d91
    • unknown's avatar
      Merge pmartin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 42879405
      unknown authored
      into mysql.com:/home/pem/work/mysql-4.1
      
      
      42879405
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 97cd4fb1
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      configure.in:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      97cd4fb1
  3. 19 Mar, 2003 10 commits
    • unknown's avatar
      Merge with 4.0.12 · 161942e3
      unknown authored
      
      Docs/internals.texi:
        Auto merged
      include/my_global.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      libmysql/Makefile.am:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      libmysqld/lib_vio.c:
        Auto merged
      mysql-test/r/heap.result:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/t/heap.test:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      BitKeeper/deleted/.del-password.c~76f30876e68eddb4:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/key.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/slave.h:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      strings/strto.c:
        Auto merged
      161942e3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 7517a59a
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      7517a59a
    • unknown's avatar
      Print right hostname or IP in SHOW PROCESSLIST · 0847c4f9
      unknown authored
      Use SESSION TABLE_HANDLER as default table handler if given table handler doesn't exists
      
      
      Docs/internals.texi:
        Updated description for how DATE, TIME and TIMESTAMP are stored
      mysql-test/r/create.result:
        New tests
      mysql-test/t/create.test:
        New tests
      sql/handler.cc:
        Use SESSION TABLE_HANDLER as default table handler if given table handler doesn't exists.
      sql/sql_parse.cc:
        Fix that we return hostname instead of IP in SHOW PROCESSLIST
      sql/sql_show.cc:
        Print right hostname or IP in SHOW PROCESSLIST
      0847c4f9
    • unknown's avatar
      Added support for ULONG division with DIV · d7bedeb9
      unknown authored
      Fixed non fatal memory leak in slave code.
      
      
      mysql-test/r/func_test.result:
        Added test for DIV
      mysql-test/t/func_test.test:
        Added test for DIV
      mysys/my_alloc.c:
        More DBUG statements
      sql/item_func.cc:
        Added support for ULONG division with DIV
      sql/log_event.cc:
        Fixed memory leak (Wrong call to init_sql_alloc)
      sql/slave.cc:
        Fixed memory leak (Wrong call to init_sql_alloc)
      sql/sql_base.cc:
        More DBUG statements
      sql/sql_class.cc:
        Added init_for_queries() to fix memory leak in slave code
      sql/sql_class.h:
        Added init_for_queries() to fix memory leak in slave code
      sql/sql_error.cc:
        More DBUG statements
      sql/sql_parse.cc:
        Added init_for_queries() to fix memory leak in slave code
      sql/unireg.h:
        Moved memory defaults to include file
      d7bedeb9
    • unknown's avatar
      configure.in: · c2297fb5
      unknown authored
        Always compile utf8
      
      
      configure.in:
        Always compile utf8
      c2297fb5
    • unknown's avatar
      Strings comparison is now done according to "Collating sequences used for · 53c5d448
      unknown authored
      comparison" table, "SQL Complete, Really", page 162
      
      
      53c5d448
    • unknown's avatar
    • unknown's avatar
      Fixed a few typos, and translated new messages. · 2af67065
      unknown authored
      2af67065
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 · b4a0cdb8
      unknown authored
      into mysql.com:/space/my/mysql-4.0-build
      
      
      b4a0cdb8
    • unknown's avatar
      Getting closer to be more SQL99 in dyadic operations · 80630f12
      unknown authored
      
      mysql-test/r/ctype_collate.result:
        NO COLLATION has less coercibility than IMPLICIT and COERCIBLE
      sql/item.cc:
        Function to choose collation for dyadic operations
      sql/item.h:
        NO COLLATION has less coercibility than IMPLICIT and COERCIBLE
      sql/item_func.cc:
        Function to choose collation for dyadic operations
      sql/item_strfunc.cc:
        Function to choose collation for dyadic operations
      sql/item_strfunc.h:
        Use arg's attributes
      80630f12
  4. 18 Mar, 2003 16 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · cd4d7716
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      configure.in:
        Auto merged
      cd4d7716
    • unknown's avatar
      Allow optimzation of multi-table-update also for InnoDB tables · f45236de
      unknown authored
      MEMORY is alias for HEAP for CREATE TABLE ... TYPE=HEAP
      Fixed bug in multi-table-update where a row could be updated several times
      
      
      mysql-test/r/heap.result:
        Test of CREATE TABLE ... type=MEMORY
      mysql-test/r/innodb.result:
        Added multi-update-test
      mysql-test/r/multi_update.result:
        Added multi-update-test
      mysql-test/t/heap.test:
        Test of CREATE TABLE ... type=MEMORY
      mysql-test/t/innodb.test:
        Added multi-update-test
      mysql-test/t/multi_update.test:
        Added multi-update-test
      sql/ha_innodb.h:
        Allow optimzation of multi-table-update also for InnoDB tables
      sql/handler.h:
        Allow optimzation of multi-update also for InnoDB tables
      sql/key.cc:
        After merge fix
      sql/lex.h:
        MEMORY is alias for HEAP
      sql/sql_test.cc:
        Fixed wrong printf
      sql/sql_update.cc:
        Fixed bug in multi-table-update where a row could be updated several times
      sql/sql_yacc.yy:
        MEMORY is alias for HEAP
      f45236de
    • unknown's avatar
      - renamed "rnd" to "my_rnd" as the name was too generic (and is an exported · f04be0b9
      unknown authored
         symbol in libmysqlclient) (thanks to Dennis Haney for the initial patch)
       - cleanup: removed client/password.c (not used at all) and
         libmysql/password.c (should rather be a symlink to sql/password.c instead)
       - applied HPUX11 portability fix for char_val declaration to sql/password.c
         (taken from libmysql/password.c)
      
      
      BitKeeper/deleted/.del-password.c~c036d4f8b3280843:
        Delete: client/password.c
      BitKeeper/deleted/.del-password.c~76f30876e68eddb4:
        Delete: libmysql/password.c
      include/mysql_com.h:
         - replaced "rnd" with "my_rnd"
      libmysql/Makefile.am:
         - removed dead piece of code ($qs was not defined)
         - symlink password.c from the sql directory
      libmysqld/Makefile.am:
         - use password.c from the sql directory instead
      sql/item_func.cc:
         - replaced "rnd" with "my_rnd"
      sql/mysqld.cc:
         - replaced "rnd" with "my_rnd"
      sql/password.c:
         - replaced "rnd" with "my_rnd"
      sql/sql_class.cc:
         - replaced "rnd" with "my_rnd"
      sql/sql_crypt.cc:
         - replaced "rnd" with "my_rnd"
      f04be0b9
    • unknown's avatar
      Merge abarkov@build.mysql.com:/home/bk/mysql-4.1 · 926a1194
      unknown authored
      into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
      
      
      926a1194
    • unknown's avatar
      Should use GeometryFromWKB(). · fe8ea234
      unknown authored
      fe8ea234
    • unknown's avatar
      CONVERT class was removed · 3f6a00d1
      unknown authored
      3f6a00d1
    • unknown's avatar
      SRID support. · 3ccd93c7
      unknown authored
      GeomertyFromWKB() function.
      SRID() function.
      ::store() methods for Field_geom.
      Code cleanup.
      
      
      myisam/sp_key.c:
        SRID support.
      mysql-test/r/gis.result:
        We should use GeometryFromWKB().
      mysql-test/t/gis.test:
        We should use GeometryFromWKB().
      sql/field.cc:
        SRID support.
        ::store() methods for Field_geom.
        Code cleanup.
      sql/field.h:
        SRID support.
        ::store() methods for Field_geom.
        Code cleanup.
      sql/item_cmpfunc.cc:
        SRID support.
        Code cleanup.
      sql/item_create.cc:
        Code cleanup.
      sql/item_create.h:
        Code cleanup.
      sql/item_func.cc:
        SRID support.
        Code cleanup.
      sql/item_func.h:
        SRID support.
      sql/item_strfunc.cc:
        SRID support.
        GeometryFromWKB() function.
        Code cleanup.
      sql/item_strfunc.h:
        SRID support.
        GeometryFromWKB() function.
        Code cleanup.
      sql/lex.h:
        GeometryFromWKB() function.
        SRID() function.
      sql/spatial.cc:
        Code cleanup.
      sql/spatial.h:
        Code cleanup.
      sql/sql_yacc.yy:
        Fix for xxxFromText() functions.
        GeometryFromWKB() function.
      3ccd93c7
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1c1f407d
      unknown authored
      into mysql.r18.ru:/usr/home/ram/work/mysql-4.1.sp
      
      
      1c1f407d
    • unknown's avatar
      SHOW CREATE TABLE didn't display field names in the proper charset · 18d3292b
      unknown authored
      
      mysys/charset.c:
        Clear all fields at the end of previous charset
      18d3292b
    • unknown's avatar
      Fixes to avoid errors from valgrind · aa08887f
      unknown authored
      Fixed problem with 'wrong packet number' in union
      
      
      include/my_global.h:
        Fix for valgrind
      mysql-test/t/rpl_rotate_logs.test:
        Fix to avoid timeing problem
      sql/item.h:
        Indentation change
      sql/set_var.cc:
        Fix to avoid reference to uninitialized memory
      sql/sql_select.cc:
        More DBUG_PRINT messages
        Fixed problem with 'wrong packet number' in union (tmp_join.error was not correctly reset)
      sql/sql_union.cc:
        Simple code cleanup
      strings/ctype-simple.c:
        Fix for valgrind
      aa08887f
    • unknown's avatar
      - updated version number (4.0.12 -> 4.0.13) · 71aa1f6d
      unknown authored
       - tagged ChangeSet 1.1671 as mysql-4.0.12
      
      
      configure.in:
         - updated version number (4.0.12 -> 4.0.13)
      71aa1f6d
    • unknown's avatar
      Replication were broken because of automatic charset conversion. · 2dae38c7
      unknown authored
      As a fix, my_charset_bin is now used in master-slave packets instead
      of system_charset_info.
      
      
      2dae38c7
    • unknown's avatar
      sql_yacc.yy: · 1159272c
      unknown authored
        SET NAMES BINARY now works
      
      
      sql/sql_yacc.yy:
        SET NAMES BINARY now works
      1159272c
    • unknown's avatar
      Merge with 3.23 to get fix for halloween problem on Update of InnoDB tables · 21b0873a
      unknown authored
      
      innobase/row/row0mysql.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      sql/key.cc:
        Auto merged
      configure.in:
        Merge with 3.23
      mysql-test/r/innodb.result:
        Merge with 3.23
      mysql-test/t/innodb.test:
        Merge with 3.23
      strings/strto.c:
        Merge with 3.23
      21b0873a
    • unknown's avatar
      Test of range optimizer in InnoDB · 53bb7b68
      unknown authored
      
      sql/ha_myisam.cc:
        Added function comment
      53bb7b68
    • unknown's avatar
      Fix of 'halloween bug' with UPDATE of InnoDB tables. · cf97cbd1
      unknown authored
      
      mysql-test/r/innodb.result:
        Test of 'halloween bug'
      mysql-test/t/innodb.test:
        Test of 'halloween bug'
      strings/strto.c:
        Portability fix
      cf97cbd1