1. 20 Mar, 2003 13 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · ae18d013
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      sql/password.c:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      ae18d013
    • unknown's avatar
      After merge fixes · 275e6c35
      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
      275e6c35
    • unknown's avatar
      item_cmpfunc.cc: · 79e9917a
      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
      79e9917a
    • unknown's avatar
      SELECT N'string' · 0b7cb903
      unknown authored
      0b7cb903
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5f1f522f
      unknown authored
      into mysql.r18.ru:/usr/home/ram/work/mysql-4.1.sp
      
      
      sql/field.cc:
        Auto merged
      5f1f522f
    • unknown's avatar
      R-tree bug fixes. · 913cd2e4
      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.
      913cd2e4
    • unknown's avatar
      NATIONAL CHARACTER VARYING(n) · 475cf8b6
      unknown authored
      NATIONAL CHAR VARYING(n)
      NCHAR VARYING(n)
      
      are now aliases for
      
      VARCHAR(n) CHARACTER SET utf8
      
      475cf8b6
    • unknown's avatar
      · d87e00b3
      unknown authored
      NCHAR(n) and NATIONAL CHARACTER(n)
      is now synonim for
      CHARACTER(n) CHARACTER SET utf8
      
      d87e00b3
    • unknown's avatar
      New syntax for character strings: · 42f156c7
      unknown authored
      SELECT _latin1 0x345678;
      SELECT _latin x'345678';
      
      42f156c7
    • unknown's avatar
      another bad merge fixed · 9c6873a9
      unknown authored
      9c6873a9
    • unknown's avatar
      fixed bad merge (s/rnd/my_rnd/) · 08ad35d2
      unknown authored
      08ad35d2
    • unknown's avatar
      Merge pmartin@bk-internal.mysql.com:/home/bk/mysql-4.1 · baae4251
      unknown authored
      into mysql.com:/home/pem/work/mysql-4.1
      
      baae4251
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9082877c
      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
      9082877c
  2. 19 Mar, 2003 10 commits
    • unknown's avatar
      Merge with 4.0.12 · 249b79f5
      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
      249b79f5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 24c350bc
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      24c350bc
    • unknown's avatar
      Print right hostname or IP in SHOW PROCESSLIST · 9a81c0ef
      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
      9a81c0ef
    • unknown's avatar
      Added support for ULONG division with DIV · d181bdbb
      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
      d181bdbb
    • unknown's avatar
      configure.in: · c5badac9
      unknown authored
        Always compile utf8
      
      
      configure.in:
        Always compile utf8
      c5badac9
    • unknown's avatar
      Strings comparison is now done according to "Collating sequences used for · a5026238
      unknown authored
      comparison" table, "SQL Complete, Really", page 162
      
      a5026238
    • unknown's avatar
    • unknown's avatar
      Fixed a few typos, and translated new messages. · 0539f02d
      unknown authored
      0539f02d
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 · d98ff9ef
      unknown authored
      into mysql.com:/space/my/mysql-4.0-build
      
      d98ff9ef
    • unknown's avatar
      Getting closer to be more SQL99 in dyadic operations · 5ca52f5a
      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
      5ca52f5a
  3. 18 Mar, 2003 16 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 32594fc6
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      configure.in:
        Auto merged
      32594fc6
    • unknown's avatar
      Allow optimzation of multi-table-update also for InnoDB tables · afa07926
      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
      afa07926
    • unknown's avatar
      - renamed "rnd" to "my_rnd" as the name was too generic (and is an exported · 03e0f959
      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"
      03e0f959
    • unknown's avatar
      Merge abarkov@build.mysql.com:/home/bk/mysql-4.1 · 91631019
      unknown authored
      into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
      
      91631019
    • unknown's avatar
      Should use GeometryFromWKB(). · f799da46
      unknown authored
      f799da46
    • unknown's avatar
      CONVERT class was removed · 0ccca528
      unknown authored
      0ccca528
    • unknown's avatar
      SRID support. · f21f78ea
      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.
      f21f78ea
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · b2696036
      unknown authored
      into mysql.r18.ru:/usr/home/ram/work/mysql-4.1.sp
      
      b2696036
    • unknown's avatar
      SHOW CREATE TABLE didn't display field names in the proper charset · ff35e047
      unknown authored
      
      mysys/charset.c:
        Clear all fields at the end of previous charset
      ff35e047
    • unknown's avatar
      Fixes to avoid errors from valgrind · 2ae89fca
      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
      2ae89fca
    • unknown's avatar
      - updated version number (4.0.12 -> 4.0.13) · ba7efd10
      unknown authored
       - tagged ChangeSet 1.1671 as mysql-4.0.12
      
      
      configure.in:
         - updated version number (4.0.12 -> 4.0.13)
      ba7efd10
    • unknown's avatar
      Replication were broken because of automatic charset conversion. · bd99e946
      unknown authored
      As a fix, my_charset_bin is now used in master-slave packets instead
      of system_charset_info.
      
      bd99e946
    • unknown's avatar
      sql_yacc.yy: · 561d30f1
      unknown authored
        SET NAMES BINARY now works
      
      
      sql/sql_yacc.yy:
        SET NAMES BINARY now works
      561d30f1
    • unknown's avatar
      Merge with 3.23 to get fix for halloween problem on Update of InnoDB tables · f3a5ccf5
      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
      f3a5ccf5
    • unknown's avatar
      Test of range optimizer in InnoDB · 71dabe96
      unknown authored
      
      sql/ha_myisam.cc:
        Added function comment
      71dabe96
    • unknown's avatar
      Fix of 'halloween bug' with UPDATE of InnoDB tables. · 321cbe2d
      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
      321cbe2d
  4. 17 Mar, 2003 1 commit
    • unknown's avatar
      New variable rli->ignore_log_space_limit to resolve · e7ee03b0
      unknown authored
      a deadlock between I/O and SQL threads in replication
      when relay_log_space is too small. This fixes bug #79.
      
      
      sql/log.cc:
        New variable rli->ignore_log_space_limit to resolve
        a deadlock between I/O and SQL threads in replication
        when relay_log_space is too small.
      sql/slave.cc:
        New variable rli->ignore_log_space_limit to resolve
        a deadlock between I/O and SQL threads in replication
        when relay_log_space is too small.
      sql/slave.h:
        New variable rli->ignore_log_space_limit to resolve
        a deadlock between I/O and SQL threads in replication
        when relay_log_space is too small.
      sql/sql_repl.cc:
        New variable rli->ignore_log_space_limit to resolve
        a deadlock between I/O and SQL threads in replication
        when relay_log_space is too small.
      e7ee03b0