1. 31 May, 2003 1 commit
    • unknown's avatar
      SCRUM: · 62c7d2cd
      unknown authored
      Here is another pack of changes about gathering common client code in
      sql-common/client.c.
      Now i symlink the client.c from sql/ and libmysql/. These directories
      have client_settings.h files to be included to client.c. It contains
      defines and declarations to compile client.c in appropriate manner.
      Also i've added include/sql_common.h, containing declarations of what
      is exported from client.c
      
      I removed as many #ifdef-s from client.c as i dared to. I think it's better
      push it with some extra #ifdef-s now (of course, if everythihg besides it is
      ok) so other people can check the code.
      
      
      Makefile.am:
        symlinking of sql-common/client.c was added
      include/mysql.h:
        MYSQL_CLIENT define moved here from libmysql/Makefile
      libmysql/Makefile.am:
        ../libmysql/client_settings.h added to the list of necessary h-files
      libmysql/Makefile.shared:
        client.lo added to the list of objects
      libmysql/libmysql.c:
        a lot of changes about separating code between libmysql.c and client.c
      mysys/default.c:
        changed to keep compiler happy
      sql-common/client.c:
        a lot of changes about code separating
      sql/Makefile.am:
        mini_client.h has to be removed
      sql/repl_failsafe.cc:
        mysql_real_connect prototype was unified, so we've got to set connection timeout separately
      sql/slave.cc:
        trimming code to the changed function's prototypes
      sql/sql_repl.cc:
        mini_client isn't needed anymore
      62c7d2cd
  2. 30 May, 2003 6 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 598f7ec5
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.emb_bind
      
      
      598f7ec5
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4e6acef8
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/NEW_HELP/4.1.clear
      
      
      4e6acef8
    • unknown's avatar
      fix some warnings in sql_help.cc · c284a712
      unknown authored
      
      sql/sql_help.cc:
        fix some warnings
      c284a712
    • unknown's avatar
      SET character_set_results=NULL is now working · 7953039d
      unknown authored
      7953039d
    • unknown's avatar
      set_var.cc, set_var.h: · 677ece66
      unknown authored
        character_set_connection new variable
      
      
      sql/set_var.h:
        character_set_connection new variable
      sql/set_var.cc:
        character_set_connection new variable
      677ece66
    • unknown's avatar
      character_set_server is now updatable · f46e958e
      unknown authored
      character_set_database was added
      Code optimization: reuse more code for all character sets variables
      
      
      sql/mysqld.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/set_var.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/set_var.h:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_base.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_class.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_class.h:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_db.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_load.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_table.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_yacc.yy:
        character_set_server is now updatable
        character_set_database was added
      BitKeeper/etc/ignore:
        Added scripts/mysql_create_system_tables to the ignore list
      f46e958e
  3. 29 May, 2003 1 commit
  4. 28 May, 2003 8 commits
  5. 27 May, 2003 10 commits
  6. 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
  7. 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
  8. 23 May, 2003 3 commits