1. 27 May, 2003 6 commits
    • unknown's avatar
      ORDER BY optimization · ef6d3a80
      unknown authored
      Fixed new bug when reading field types
      
      
      client/mysql.cc:
        Fixed output for -T
      libmysql/libmysql.c:
        Filled missing fields in new MYSQL_FIELD structure
        Fixed new bug when reading field types
      mysql-test/r/order_by.result:
        Result after new order by optimization
      sql/opt_range.cc:
        New ORDER BY optimization
      sql/opt_range.h:
        New ORDER BY optimization
      sql/set_var.cc:
        Speed optimization
      sql/sql_select.cc:
        New ORDER BY optimization
        
        This alllows MySQL to change a ref/range index from (a,b) to (a,c) when 'b' was not used to find rows and one did
        ORDER BY a,c or ORDER BY c
      ef6d3a80
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 1540912e
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      1540912e
    • unknown's avatar
      Deleted internals.texi (moved to mysqldoc tree - Monty req). · 685498e0
      unknown authored
      
      BitKeeper/deleted/.del-internals.texi~62b6f580a41c2a43:
        Delete: Docs/internals.texi
      685498e0
    • unknown's avatar
      fixed small merge bug · 245c5086
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      245c5086
    • unknown's avatar
      conf_to_src.c: · b090bd08
      unknown authored
        Changes according to CHARSET_INFO structure
      
      
      strings/conf_to_src.c:
        Changes according to CHARSET_INFO structure
      b090bd08
    • unknown's avatar
      Index.xml: · cf240ee4
      unknown authored
        utf8 was not marked as compiled
      
      
      sql/share/charsets/Index.xml:
        utf8 was not marked as compiled
      cf240ee4
  2. 26 May, 2003 10 commits
    • unknown's avatar
      Merge kishkin.ru:/home/wax/mysql-4n into kishkin.ru:/home/wax/mysql-4sm · b68d3f45
      unknown authored
      
      sql/mysqld.cc:
        Auto merged
      b68d3f45
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a132e799
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      sql/field.h:
        Auto merged
      a132e799
    • unknown's avatar
      Portability fix · 1ef96d2b
      unknown authored
      1ef96d2b
    • unknown's avatar
      ixed wrong unlock of tables (new bug) · da9bf1de
      unknown authored
      
      sql/sql_delete.cc:
        Comment cleanup
      sql/sql_insert.cc:
        Comment cleanup
      sql/sql_load.cc:
        Comment cleanup
      sql/sql_update.cc:
        Fixed wrong unlock of tables.
        (Unlock must be done after writing to binary log
      da9bf1de
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 926add9c
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1-narttu
      
      
      926add9c
    • unknown's avatar
      ha_innodb.cc: · cf381ae4
      unknown authored
        Remove accidenatlly committed debug printfs when query cache is used
      sql_update.cc, sql_load.cc, sql_insert.cc, sql_delete.cc:
        For the transactional query cache algorithm to work we must invalidate the query cache in INSERT/DELETE/UPDATE before writing to the binlog or calling ha_autocommit_... Note that binlog writing may also call commit. The crucial thing is that the transaction which modified data must not be committed BEFORE the query cache is invalidated.
      
      
      sql/sql_delete.cc:
        For the transactional query cache algorithm to work we must invalidate the query cache in INSERT/DELETE/UPDATE before writing to the binlog or calling ha_autocommit_... Note that binlog writing may also call commit. The crucial thing is that the transaction which modified data must not be committed BEFORE the query cache is invalidated.
      sql/sql_insert.cc:
        For the transactional query cache algorithm to work we must invalidate the query cache in INSERT/DELETE/UPDATE before writing to the binlog or calling ha_autocommit_... Note that binlog writing may also call commit. The crucial thing is that the transaction which modified data must not be committed BEFORE the query cache is invalidated.
      sql/sql_load.cc:
        For the transactional query cache algorithm to work we must invalidate the query cache in INSERT/DELETE/UPDATE before writing to the binlog or calling ha_autocommit_... Note that binlog writing may also call commit. The crucial thing is that the transaction which modified data must not be committed BEFORE the query cache is invalidated.
      sql/sql_update.cc:
        For the transactional query cache algorithm to work we must invalidate the query cache in INSERT/DELETE/UPDATE before writing to the binlog or calling ha_autocommit_... Note that binlog writing may also call commit. The crucial thing is that the transaction which modified data must not be committed BEFORE the query cache is invalidated.
      sql/ha_innodb.cc:
        Remove accidenatlly committed debug printfs when query cache is used
      cf381ae4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 1007a203
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1-narttu
      
      
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      1007a203
    • unknown's avatar
      New 4.1 protocol; SQLSTATE, CLIENT_MULTI_RESULTS, client character set · 5d3eec14
      unknown authored
       
      
      
      Docs/internals.texi:
        Updated protocol information
      include/mysql.h:
        Added catalog to MYSQL_FIELD
        Added sqlstate handling to protocol
      include/mysql_com.h:
        New 4.1 protocol
      libmysql/libmysql.c:
        Added sqlstate handling
        Added CLIENT_MULTI_RESULTS
      sql/field.cc:
        Indentation cleanup
      sql/field.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Changed arguments to close_connection()
      sql/mysqld.cc:
        Changed arguments to close_connection()
        Added checking of extra arguments to mysqld
      sql/protocol.cc:
        Fixed bug in TIME handling
        Added SQLSTATE on errors
        Removed net_send_error()
      sql/protocol.h:
        Removed net_send_error()
      sql/repl_failsafe.cc:
        Fixed arguments to close_connection()
      sql/sql_parse.cc:
        New 4.1 protocol
      5d3eec14
    • unknown's avatar
      --with-charset was not up to date · 720584b0
      unknown authored
      ctype_ucs2 and ctype_ujis were skipped in mistake
      
      
      720584b0
    • unknown's avatar
      Index.xml: · 12604089
      unknown authored
        cp1250_czech_ci was displayed even when not compiled-in in mistake.
      
      
      sql/share/charsets/Index.xml:
        cp1250_czech_ci was displayed even when not compiled-in in mistake.
      12604089
  3. 24 May, 2003 1 commit
    • unknown's avatar
      symlink.result: · a6ebf38d
      unknown authored
        Character set in this test results was displayed dispite the fact that the table has the same character set
      
      
      mysql-test/r/symlink.result:
        Character set in this test results was displayed dispite the fact that the table has the same character set
      a6ebf38d
  4. 23 May, 2003 13 commits
    • unknown's avatar
      latin7.xml: · bb01fb82
      unknown authored
        c
      Index.xml:
        Collation names form lati7 were mixed
      
      
      sql/share/charsets/Index.xml:
        Collation names form lati7 were mixed
      sql/share/charsets/latin7.xml:
        c
      bb01fb82
    • unknown's avatar
      BINARY collations for every character set · afc83969
      unknown authored
      afc83969
    • unknown's avatar
      5aae66c1
    • unknown's avatar
      Character set sets now check if required non-dynamic charsets were really compiled · f461dea4
      unknown authored
      
      BitKeeper/deleted/.del-ctype_ujis-master.opt~9f5cc09930fc1cf9:
        Delete: mysql-test/t/ctype_ujis-master.opt
      f461dea4
    • unknown's avatar
      charset.c: · d7ab5da8
      unknown authored
        Bug fix: if latin2_czech_ci is not compiled, loader din't load other latin2 collations
      
      
      mysys/charset.c:
        Bug fix: if latin2_czech_ci is not compiled, loader din't load other latin2 collations
      d7ab5da8
    • unknown's avatar
      convert.cc was removed · 3a1501d6
      unknown authored
      
      BitKeeper/deleted/.del-convert.cc~437689acaffb7446:
        Delete: sql/convert.cc
      3a1501d6
    • unknown's avatar
      SHOW FIELDS changes, more SQL99 INFORMATION_SCHEMA.COLUMNS compatibility: · ab8418a5
      unknown authored
      Character set is not displayed in "Type" column anymore
      In "Collation" column NULL instead of BINARY is now displayd for for non-character data types
      
      
      mysql-test/r/alter_table.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      mysql-test/r/create.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      mysql-test/r/ctype_collate.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      mysql-test/r/ctype_recoding.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      mysql-test/r/gis.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      mysql-test/r/innodb.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      mysql-test/r/select.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      mysql-test/r/show_check.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      mysql-test/r/type_blob.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      mysql-test/r/type_float.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      mysql-test/r/type_ranges.result:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      sql/field.cc:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      sql/field.h:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      sql/sql_show.cc:
        Character set is not displayed in "Type" column of SHOW FIELDS anymore
      ab8418a5
    • unknown's avatar
      Merge abarkov@build.mysql.com:/home/bk/mysql-4.1 · 493ba6ec
      unknown authored
      into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
      
      
      493ba6ec
    • unknown's avatar
      CREATE TABLE t1 SELECT left(_latin2'a',1) didn't work, the charset got lost · 0ce726d5
      unknown authored
      Collation and coercibility tests for string functions
      
      
      mysql-test/r/func_str.result:
        Collation and coercibility tests for string functions
      mysql-test/t/func_str.test:
        Collation and coercibility tests for string functions
      sql/item_strfunc.cc:
        Collation and coercibility tests for string functions
      0ce726d5
    • unknown's avatar
      Merge miguel@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4c95b279
      unknown authored
      into light.hegel.local:C:/mysql-dev/mysql-4.1
      
      
      4c95b279
    • unknown's avatar
      Translation English -> Protuguese · a7fd4a2c
      unknown authored
      
      sql/share/portuguese/errmsg.txt:
        Translation English -> Portuguese
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      a7fd4a2c
    • unknown's avatar
      More tests for system functions · 79decad2
      unknown authored
      79decad2
    • unknown's avatar
      Automatic conversion into supersets (utf8, ucs2) for comparison in some cases · 5d4fbc02
      unknown authored
      USER(), DATABASE() and VERSION() return in utf8 now
      
      
      5d4fbc02
  5. 22 May, 2003 7 commits
    • unknown's avatar
      Cleaning DROP TABLE which is important if the tests are run in a certain order. · 46c730e6
      unknown authored
      This is because rpl_relayrotate.test uses InnoDB.
      Example of a failing sequence:
      rpl_relayrotate.test repl_user_variables.test rpl_relayrotate.test
      Explaination in the files.
      Btw all other tests which use InnoDB (innodb*.test) already have this final
      DROP TABLE.
      Removed a wrong comment of mine.
      
      
      mysql-test/r/rpl_relayrotate.result:
        result update
      mysql-test/t/rpl_relayrotate.test:
        cleaning DROP TABLE which is important if the tests are run in a certain order.
      46c730e6
    • unknown's avatar
    • unknown's avatar
      mysqld.cc: · bf71feca
      unknown authored
        default_collation is now displayed correctly in mysqld --help
        mysqld --help now displays default_collation corretly, according to --default-character-set
      
      
      sql/mysqld.cc:
        default_collation is now displayed correctly in mysqld --help
      bf71feca
    • unknown's avatar
      Variables were rename, binary collation names were added · 9b92f585
      unknown authored
      Fixed that SHOW CHARACTER SET displayed non-dynamic charsets even if they were not really compiled
      
      
      9b92f585
    • unknown's avatar
      Index.xml: · 98e66d20
      unknown authored
        Typos fixes
      
      
      sql/share/charsets/Index.xml:
        Typos fixes
      98e66d20
    • unknown's avatar
      mysqlimport.c, mysqldump.c, mysqlcheck.c: · 35657273
      unknown authored
        Bug fix: latin1 is not compiled charset and is not specified..
      mysql.cc:
        Bug fix: latin1 is not compiled charset and is not specified...
      
      
      client/mysql.cc:
        Bug fix: latin1 is not compiled charset and is not specified...
      client/mysqlcheck.c:
        Bug fix: latin1 is not compiled charset and is not specified..
      client/mysqldump.c:
        Bug fix: latin1 is not compiled charset and is not specified..
      client/mysqlimport.c:
        Bug fix: latin1 is not compiled charset and is not specified..
      35657273
    • unknown's avatar
      Updated results & after merge fix · a2867c7a
      unknown authored
      
      BitKeeper/etc/ignore:
        added include/readline/*.h
      mysql-test/r/create.result:
        Update results
      mysql-test/r/loaddata.result:
        Updated results
      sql/mysqld.cc:
        Fix after merge
      a2867c7a
  6. 21 May, 2003 3 commits
    • unknown's avatar
      merge · 99740ff5
      unknown authored
      
      VC++Files/libmysql/libmysql.dsp:
        Auto merged
      client/mysqlbinlog.cc:
        Auto merged
      include/my_sys.h:
        Auto merged
      libmysql/libmysql.def:
        Auto merged
      mysql-test/r/create.result:
        Auto merged
      mysql-test/r/group_by.result:
        Auto merged
      mysql-test/r/key.result:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/r/null_key.result:
        Auto merged
      mysql-test/r/order_by.result:
        Auto merged
      mysql-test/r/type_decimal.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/ctype_latin1_de-master.opt:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      mysys/charset.c:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/share/czech/errmsg.txt:
        Auto merged
      sql/share/danish/errmsg.txt:
        Auto merged
      sql/share/dutch/errmsg.txt:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/estonian/errmsg.txt:
        Auto merged
      sql/share/french/errmsg.txt:
        Auto merged
      sql/share/german/errmsg.txt:
        Auto merged
      sql/share/greek/errmsg.txt:
        Auto merged
      sql/share/hungarian/errmsg.txt:
        Auto merged
      sql/share/italian/errmsg.txt:
        Auto merged
      sql/share/japanese/errmsg.txt:
        Auto merged
      sql/share/korean/errmsg.txt:
        Auto merged
      sql/share/norwegian-ny/errmsg.txt:
        Auto merged
      sql/share/norwegian/errmsg.txt:
        Auto merged
      sql/share/portuguese/errmsg.txt:
        Auto merged
      sql/share/romanian/errmsg.txt:
        Auto merged
      sql/share/russian/errmsg.txt:
        Auto merged
      sql/share/slovak/errmsg.txt:
        Auto merged
      sql/share/spanish/errmsg.txt:
        Auto merged
      sql/share/swedish/errmsg.txt:
        Auto merged
      sql/share/ukrainian/errmsg.txt:
        Auto merged
      99740ff5
    • unknown's avatar
      After merge fixes · f72611b4
      unknown authored
      Added initialization of all important global variables
      
      
      BUILD/SETUP.sh:
        build with readline
      client/mysqltest.c:
        Added variable SERVER_VERSION
      myisam/mi_key.c:
        Indentation change
      myisam/mi_open.c:
        After merge fix
      myisam/mi_range.c:
        After merge fix
      myisam/mi_rkey.c:
        After merge fix
      myisam/mi_search.c:
        After merge fix
      myisam/myisamdef.h:
        After merge fix
      mysql-test/include/not_embedded.inc:
        Fix test (because of wrong utf8 test)
      mysql-test/r/alter_table.result:
        Updated results after merge
      mysql-test/r/create.result:
        Updated results after merge
      mysql-test/r/ctype_recoding.result:
        Updated results after merge
      mysql-test/r/fulltext.result:
        Updated results after merge
      mysql-test/r/func_group.result:
        Updated results after merge
      mysql-test/r/group_by.result:
        Updated results after merge
      mysql-test/r/innodb.result:
        Updated results after merge
      mysql-test/r/join_outer.result:
        Updated results after merge
      mysql-test/r/null_key.result:
        Updated results after merge
      mysql-test/r/order_by.result:
        Updated results after merge
      mysql-test/r/query_cache.result:
        Updated results after merge
      mysql-test/r/repair.result:
        Updated results after merge
      mysql-test/r/rpl_flush_tables.result:
        Updated results after merge
      mysql-test/r/union.result:
        Updated results after merge
      mysql-test/r/update.result:
        Updated results after merge
      mysql-test/t/ansi.test:
        After merge fixes
      mysql-test/t/create.test:
        After merge fixes
      mysql-test/t/ctype_recoding.test:
        After merge fixes
      mysql-test/t/ctype_ujis.test:
        After merge fixes
      mysql-test/t/fulltext.test:
        After merge fixes
      mysql-test/t/innodb.test:
        After merge fixes
      mysql-test/t/join_outer.test:
        After merge fixes
      mysql-test/t/loaddata.test:
        After merge fixes
      mysql-test/t/order_by.test:
        After merge fixes
      mysql-test/t/rpl_flush_tables.test:
        After merge fixes
      mysql-test/t/status.test:
        After merge fixes
      mysql-test/t/subselect.test:
        After merge fixes
      sql/convert.cc:
        Code cleanup
      sql/field.cc:
        After merge fixes
      sql/filesort.cc:
        Remove compiler warning
      sql/item.cc:
        More efficient set_name() (no mallocs)
      sql/item_cmpfunc.cc:
        Code Code cleanup
        Item_bool_func2::fix_fields() added to get error handling right for cmp_charset
      sql/item_cmpfunc.h:
        New prototypes
      sql/item_func.cc:
        After merge fix
      sql/item_strfunc.cc:
        Faster check for BINARY
      sql/log_event.cc:
        Comment cleanup
      sql/mysql_priv.h:
        New prototypes and variables
      sql/mysqld.cc:
        Added initialization of all important global variables.
        Cleanup of variable declarations
        This is needed ot make the embedded version restartable
      sql/opt_sum.cc:
        After merge fix
      sql/set_var.cc:
        Code cleanup
      sql/sql_acl.cc:
        After merge fix
        Better error message
      sql/sql_db.cc:
        After merge fix
      sql/sql_derived.cc:
        After merge fix
      sql/sql_insert.cc:
        Indentation cleanups
      sql/sql_list.h:
        Added empty() to base_ilist
      sql/sql_parse.cc:
        After merge fix
      sql/sql_select.cc:
        After merge fix
        Fixed derived name handling in EXPLAIN
      sql/sql_show.cc:
        After merge fix
      sql/sql_string.cc:
        Made copy_and_convert global
      sql/sql_string.h:
        Made copy_and_convert global
      sql/sql_update.cc:
        After merge fix
      sql/sql_yacc.yy:
        After merge fix
      sql/thr_malloc.cc:
        Added sql_strmake_with_convert()
      sql/unireg.h:
        Added MAX_ALIAS_NAME
      strings/ctype-ujis.c:
        Fixed bug in converting to ujis
      f72611b4
    • unknown's avatar
      Some SHOW VARIABLES have been renamed: · 4637832f
      unknown authored
      collation_client  -> character_set_client
      collation_results -> character_set_results
      character_set     -> character_set_server
      
      SET NAMES now doesn't start client->server conversion
      SET CHARACTER SET now starts both client->server and server->client conversion
      
      
      4637832f