An error occurred fetching the project authors.
  1. 16 Apr, 2003 1 commit
  2. 04 Apr, 2003 1 commit
    • unknown's avatar
      Fix to support update + bianry logs with prepared statements (Dynamic query) · f2f748c6
      unknown authored
      sql/item.cc:
        query_val_str to return param item value in string format
      sql/item.h:
        Misc defination changes for Item_param
      sql/sql_class.h:
        Changes for PREP_STMT
      sql/sql_string.cc:
        Duplicate String::replace to take char * and length as arguments
      sql/sql_yacc.yy:
        Change to take param marker position to Item_param as an argument
      sql/sql_prepare.cc:
        Fix for binary + update logs
      sql/sql_string.h:
        Added new replace()
      f2f748c6
  3. 25 Mar, 2003 1 commit
  4. 06 Mar, 2003 1 commit
  5. 04 Mar, 2003 2 commits
    • unknown's avatar
      sql_prepare.cc: · df22e3c2
      unknown authored
        Remove the unused code (from previous commit)
      
      
      sql/sql_prepare.cc:
        Remove the unused code (from previous commit)
      df22e3c2
    • unknown's avatar
      Fix EXPLAIN bug with binary protocol · ade3fbc3
      unknown authored
      Added new client tests (EXPLAIN + DECIMAL conv)
      
      
      
      sql/sql_prepare.cc:
        Fix EXPLAIN bug with binary protocol
      tests/client_test.c:
        New tests for EXPLAIN + DECIMAL conv
      ade3fbc3
  6. 25 Feb, 2003 1 commit
  7. 12 Feb, 2003 1 commit
    • unknown's avatar
      Fixed a lot of wrong memory references as reported by valgrind · fcb61f59
      unknown authored
      Portability fixes
      Added new client function: mysql_get_server_version()
      New server help code (From Victor Vagin)
      Fixed wrong usage of binary()
      Disabled RTREE usage for now.
      
      
      
      BitKeeper/etc/ignore:
        added scripts/fill_help_tables.sql
      client/mysql.cc:
        Some fixes when using 'help'
      cmd-line-utils/libedit/compat.h:
        Portability fix
      cmd-line-utils/libedit/fgetln.c:
        Portability fix
      include/mysql.h:
        Added new client function: mysql_get_server_version()
      libmysql/libmysql.c:
        Added new client function: mysql_get_server_version()
      libmysqld/libmysqld.c:
        Fixed prototype
      mysql-test/install_test_db.sh:
        Added creation of help tables
      mysql-test/r/connect.result:
        Added help tables
      mysql-test/r/myisam.result:
        Test of RTREE index
      mysql-test/r/type_ranges.result:
        updated results
      mysql-test/t/myisam.test:
        Test of RTREE index
      mysql-test/t/type_ranges.test:
        Updated test
      mysys/charset.c:
        Indentation change
      mysys/my_symlink.c:
        Removed compiler warning
      scripts/fill_help_tables.sh:
        Update for new help tables
      sql/field.cc:
        Indentation changes
      sql/filesort.cc:
        Optimized character set usage
      sql/item_cmpfunc.cc:
        Fix wrong usage of binary()
      sql/item_cmpfunc.h:
        Fix wrong usage of binary()
      sql/item_func.cc:
        Fix wrong usage of binary()
      sql/item_func.h:
        Fix wrong usage of binary()
      sql/item_strfunc.cc:
        Fix wrong usage of binary()
      sql/item_sum.cc:
        Fix wrong usage of binary()
      sql/item_sum.h:
        Fix wrong usage of binary()
      sql/key.cc:
        Indentation change
      sql/lex.h:
        HELP -> HELP_SYM
      sql/mysql_priv.h:
        Make get_field() more general
      sql/password.c:
        Indentation change + variable initialisation moved
      sql/sql_acl.cc:
        Make get_field() more general
      sql/sql_base.cc:
        Added comments + assertion for double call to mysql_lock_tables
      sql/sql_cache.cc:
        Indentation changes
      sql/sql_class.h:
        Added need_strxnfrm to SORT_FIELD to be able to optimise character set handling in filesort
      sql/sql_derived.cc:
        Renamed variables
      sql/sql_help.cc:
        New help functions (from Victor Vagin)
      sql/sql_lex.cc:
        Removed variables that doesn't have to be initialized for each query
      sql/sql_lex.h:
        Removed not used variable (olap)
      sql/sql_parse.cc:
        Fixed (not fatal) access of unitialized memory
        Indentation / code cleanup
      sql/sql_prepare.cc:
        Indentaion cleanup
      sql/sql_table.cc:
        Disabled RTREE until 5.0
      sql/sql_udf.cc:
        Make get_field() more general
      sql/sql_yacc.yy:
        Removed access to uninitialized memory
        Always set offset_limit and select_limit when using LIMIT (removed warnings)
        Allow usage of 'help week'
      sql/table.cc:
        Make get_field() more general
        More comments
      sql/table.h:
        Fixded type of TABLE_LIST->derived
      sql/time.cc:
        Stricter date / datetime handling (to be able to handle timestamps with days and microseconds)
      strings/ctype-bin.c:
        Added cha
      fcb61f59
  8. 02 Feb, 2003 1 commit
    • unknown's avatar
      after-review changes (577 SCRUM) · e1134143
      unknown authored
      sql/item.cc:
        typo fix
      sql/item.h:
        typo fix
      sql/item_cmpfunc.cc:
        comment
      sql/item_func.cc:
        new interface
      sql/item_subselect.cc:
        comment inserted
      sql/item_sum.cc:
        layout fixed
        comment inserted
      sql/mysql_priv.h:
        names changed
      sql/sql_base.cc:
        some optimization
      sql/sql_delete.cc:
        name changed
      sql/sql_insert.cc:
        name changed
      sql/sql_lex.h:
        name changed
      sql/sql_prepare.cc:
        layout fixed
      sql/sql_select.cc:
        layout fixed
        names changed
        comments inserted
        debugging code removed
      sql/sql_select.h:
        name changed
      sql/sql_union.cc:
        name changed
        layout fixed
      sql/sql_update.cc:
        name changed
      sql/sql_yacc.yy:
        typo fixed
      e1134143
  9. 30 Jan, 2003 2 commits
    • unknown's avatar
      fixed bug in determinating uncacheable queries · c7c45bf2
      unknown authored
      new fatal_error interface to assign is_fatal_error and ne.report_error
      commant about Item_row
      
      
      mysql-test/r/subselect.result:
        test of inheritence of uncacheability
      mysql-test/t/subselect.test:
        test of inheritence of uncacheability
      sql/item.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/item_func.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/item_row.cc:
        comment about row
      sql/item_subselect.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
        (message should be sent by allocate routine
      sql/log_event.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/mysqld.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/protocol.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_base.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_class.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_class.h:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_delete.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_insert.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_lex.h:
        fixed bug in determinating uncacheable queries
      sql/sql_parse.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_prepare.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_select.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_show.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_union.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_update.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/thr_malloc.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      c7c45bf2
    • unknown's avatar
      Fix 'n' concurrent prepared executions · 7d0d2d4f
      unknown authored
      sql/sql_prepare.cc:
        Fix 'n' concurrent executions
      libmysql/errmsg.c:
        Fix the missing semicolon for errors
      libmysql/libmysql.c:
        Fix the result meta info for non-SELECT statements
      7d0d2d4f
  10. 29 Jan, 2003 1 commit
    • unknown's avatar
      improving of fields list creation in derived tables and unions · b2ffb29a
      unknown authored
      fixed length of fields created in fubselect
      fixed resolving fields of reduced in derived table subselect
      
      
      mysql-test/r/subselect.result:
        test of created with subselect fields
      mysql-test/t/subselect.test:
        test of created with subselect fields
      sql/item.cc:
        fixed length of fields created in fubselect
        fixed resolving fields of reduced in derived table subselect
      sql/item_subselect.cc:
        improving of fields list creation in derived tables and unions
      sql/mysql_priv.h:
        improving of fields list creation in derived tables and unions
      sql/sql_derived.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_lex.h:
        improving of fields list creation in derived tables and unions
      sql/sql_parse.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_prepare.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_select.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_select.h:
        improving of fields list creation in derived tables and unions
      sql/sql_union.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_update.cc:
        improving of fields list creation in derived tables and unions
      b2ffb29a
  11. 28 Jan, 2003 1 commit
  12. 26 Jan, 2003 1 commit
    • unknown's avatar
      after merge fix of 577 task (SCRUM, pre commit to be able to merge with static... · a72ebebf
      unknown authored
      after merge fix of 577 task (SCRUM, pre commit to be able to merge with static tables optimization fix)
      fixed derived tables with subselect inside
      
      
      mysql-test/r/derived.result:
        test of subselects inside derived tables
      mysql-test/t/derived.test:
        test of subselects inside derived tables
      mysql-test/t/subselect.test:
        subselect test (not finished)
      sql/item.cc:
        after merge fix
      sql/item.h:
        after merge fix
      sql/item_cmpfunc.h:
        after merge fix
      sql/item_subselect.cc:
        after merge fix
      sql/item_sum.h:
        after merge fix
      sql/mysql_priv.h:
        fixed derived tables with subselect inside
      sql/sql_class.h:
        after merge fix
      sql/sql_derived.cc:
        fixed derived tables with subselect inside
      sql/sql_lex.cc:
        fixed derived tables with subselect inside
      sql/sql_lex.h:
        fixed derived tables with subselect inside
      sql/sql_parse.cc:
        fixed derived tables with subselect inside
        after merge fix
      sql/sql_prepare.cc:
        after merge fix
      sql/sql_select.cc:
        after merge fix
        fixed derived tables with subselect inside
      a72ebebf
  13. 25 Jan, 2003 1 commit
    • unknown's avatar
      fixed subselects with temporary tables (SCRUM) · b2354133
      unknown authored
      fixed memory leacks
      
      
      mysql-test/r/subselect.result:
        some changes in subselect tests
      mysql-test/t/subselect.test:
        some changes in subselect tests
      sql/item.cc:
        some item made copyable
        methods for creating copy of item list
        tmp_table_field() splited
      sql/item.h:
        some item made copyable
        methods for creating copy of item list
        tmp_table_field() splited
      sql/item_cmpfunc.cc:
        changed references creation
      sql/item_cmpfunc.h:
        changed references creation
      sql/item_func.cc:
        some item made copyable
        methods for creating copy of item list
        changed references creation
      sql/item_func.h:
        some item made copyable
        methods for creating copy of item list
        changed references creation
        tmp_table_field() splited
      sql/item_subselect.cc:
        changed references creation
      sql/item_sum.cc:
        some item made copyable
        methods for creating copy of item list
      sql/item_sum.h:
        some item made copyable
        methods for creating copy of item list
      sql/item_timefunc.h:
        tmp_table_field() splited
      sql/item_uniq.h:
        some item made copyable
        methods for creating copy of item list
      sql/mysql_priv.h:
        fixed subselects with temporary tables
      sql/sql_base.cc:
        fixed subselects with temporary tables
      sql/sql_class.h:
        fixed subselects with temporary tables
      sql/sql_delete.cc:
        fixed subselects with temporary tables
      sql/sql_derived.cc:
        fixed subselects with temporary tables
      sql/sql_do.cc:
        fixed subselects with temporary tables
      sql/sql_insert.cc:
        fixed subselects with temporary tables
      sql/sql_lex.cc:
        fixed subselects with temporary tables
      sql/sql_lex.h:
        fixed subselects with temporary tables
      sql/sql_list.h:
        fixed subselects with temporary tables
      sql/sql_load.cc:
        fixed subselects with temporary tables
      sql/sql_olap.cc:
        fixed subselects with temporary tables
      sql/sql_parse.cc:
        fixed subselects with temporary tables
      sql/sql_prepare.cc:
        fixed subselects with temporary tables
      sql/sql_select.cc:
        fixed subselects with temporary tables
      sql/sql_select.h:
        fixed subselects with temporary tables
      sql/sql_table.cc:
        fixed subselects with temporary tables
      sql/sql_union.cc:
        fixed subselects with temporary tables
      sql/sql_update.cc:
        fixed subselects with temporary tables
      sql/sql_yacc.yy:
        fixed subselects with temporary tables
      b2354133
  14. 24 Jan, 2003 1 commit
  15. 21 Jan, 2003 1 commit
    • unknown's avatar
      Portability fixes (for windows) · 10e22c34
      unknown authored
      Some changes to the prepared statement protocol to make it easier to use and faster.
      
      
      Makefile.am:
        Fix to make dist to work with cmd-line-utils
      client/mysql.cc:
        Portability fixes
      client/mysqlbinlog.cc:
        Portabiliy fixes and remove usafe of FILE
      configure.in:
        Fix to make dist to work with cmd-line-utils
      heap/_check.c:
        Portability fixes
      include/config-win.h:
        Portability fixes
      include/m_ctype.h:
        Indentation cleanup
      include/my_list.h:
        Portability fixes
      include/mysql.h:
        Cleanup of BIND structure
      include/violite.h:
        Portability fixes
      innobase/dict/dict0dict.c:
        Portability fixes
      innobase/dict/dict0load.c:
        Portability fixes
      innobase/include/os0proc.h:
        Portability fixes (Heikki, please check)
      innobase/os/os0proc.c:
        Portability fixes (Heikki, please check)
      innobase/ut/ut0ut.c:
        Portability fixes
      isam/pack_isam.c:
        Portability fixes
      libmysql/libmysql.c:
        Portability fixes
        Remove obscure usage of the length parameter for prepared statements.
      libmysql/libmysql.def:
        Remove not existing functions
      libmysqld/lib_sql.cc:
        Remove compiler warning
      mysql-test/r/explain.result:
        Fix after merge
      mysql-test/r/join.result:
        Fix after merge
      mysys/my_once.c:
        Portability fix
      mysys/tree.c:
        Portability fixes
      sql/field.cc:
        Portability fixes
      sql/filesort.cc:
        move assert.h to mysql_priv.h
      sql/ha_berkeley.cc:
        move assert.h to mysql_priv.h
      sql/ha_innodb.cc:
        move assert.h to mysql_priv.h
      sql/item.cc:
        move assert.h to mysql_priv.h
        Fixed syntax error
      sql/item_cmpfunc.cc:
        move assert.h to mysql_priv.h
      sql/item_func.cc:
        move assert.h to mysql_priv.h
      sql/item_row.cc:
        move assert.h to mysql_priv.h
      sql/item_strfunc.cc:
        Portability fix
      sql/item_subselect.cc:
        Portability fix
      sql/item_sum.cc:
        move assert.h to mysql_priv.h
      sql/lex.h:
        Portability fix
      sql/lock.cc:
        move assert.h to mysql_priv.h
      sql/log.cc:
        move assert.h to mysql_priv.h
      sql/log_event.cc:
        Portability fix
      sql/mf_iocache.cc:
        move assert.h to mysql_priv.h
      sql/mysql_priv.h:
        move assert.h to mysql_priv.h
      sql/mysqld.cc:
        move assert.h to mysql_priv.h
      sql/opt_range.cc:
        move assert.h to mysql_priv.h
      sql/password.c:
        Portability fix
      sql/protocol.cc:
        move assert.h to mysql_priv.h
      sql/set_var.cc:
        Portability fix
      sql/slave.cc:
        move assert.h to mysql_priv.h
      sql/spatial.cc:
        Portability fix
      sql/sql_acl.cc:
        move assert.h to mysql_priv.h
      sql/sql_base.cc:
        move assert.h to mysql_priv.h
      sql/sql_cache.cc:
        move assert.h to mysql_priv.h
      sql/sql_class.cc:
        move assert.h to mysql_priv.h
      sql/sql_handler.cc:
        move assert.h to mysql_priv.h
      sql/sql_help.cc:
        Removed compiler warning
      sql/sql_lex.cc:
        Portability fix
      sql/sql_lex.h:
        Portability fix
      sql/sql_parse.cc:
        move assert.h to mysql_priv.h
      sql/sql_prepare.cc:
        move assert.h to mysql_priv.h
      sql/sql_repl.cc:
        move assert.h to mysql_priv.h
      sql/sql_select.cc:
        move assert.h to mysql_priv.h
      sql/sql_string.cc:
        Portability fix
      sql/sql_string.h:
        Portability fix
      sql/sql_table.cc:
        move assert.h to mysql_priv.h
      sql/sql_yacc.yy:
        Portability fix
        Remove not accessed code
      strings/ctype-bin.c:
        Portability fix
      strings/ctype-mb.c:
        Portability fix
      strings/ctype.c:
        Portability fix
      tests/client_test.c:
        A
      10e22c34
  16. 20 Jan, 2003 1 commit
  17. 18 Jan, 2003 1 commit
  18. 16 Jan, 2003 1 commit
  19. 15 Jan, 2003 1 commit
    • unknown's avatar
      SCRUM · 09b79b65
      unknown authored
      embedded library trimming
      
      
      include/my_global.h:
        HAVE_REPLICATION & HAVE_EXTERNAL_CLIENT macro definitions
      libmysqld/lib_sql.cc:
        Protocol:: methods implementation for embedded case
      sql/field.cc:
        geometry type methods implementations
      sql/ha_berkeley.cc:
        set_nfields deletion
      sql/ha_innodb.cc:
        macro changed
      sql/ha_myisam.cc:
        set_nfields deletion
      sql/ha_myisam.h:
        code #ifdef-ed
      sql/item.cc:
        bugfix
      sql/item_func.cc:
        macro changed
      sql/item_strfunc.cc:
        superfluous code deleted
      sql/log.cc:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/log_event.cc:
        #ifdef constructions changed
      sql/log_event.h:
        #ifdef-s changed
      sql/mf_iocache.cc:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/mini_client.cc:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/mysql_priv.h:
        code removation
      sql/mysqld.cc:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/opt_range.cc:
        code trimming
      sql/protocol.cc:
        net_store_data becomes a member of Protocol
      sql/protocol.h:
        changes to make Protocol working in embedded library
      sql/repl_failsafe.cc:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/repl_failsafe.h:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/set_var.cc:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/slave.cc:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/slave.h:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/sql_parse.cc:
        code trimming
      sql/sql_prepare.cc:
        comment added
      sql/sql_repl.cc:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/sql_repl.h:
        HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      sql/sql_show.cc:
        mysql_list_processes to work in embedded library
      sql/sql_table.cc:
        set_nfields deletion
      09b79b65
  20. 11 Jan, 2003 1 commit
  21. 10 Jan, 2003 1 commit
  22. 03 Jan, 2003 1 commit
  23. 16 Dec, 2002 1 commit
    • unknown's avatar
      Big purge about embedded library (scrum) · 632717fd
      unknown authored
      client/mysql.cc:
        #ifdef EMBEDDED_LIBRARY added
      client/mysqltest.c:
        #ifdef EMBEDDED_LIBRARY added
      include/mysql.h:
        MYSQL structure changed for embedded case
      include/mysql_com.h:
        NET structure changed for embedded case
      include/violite.h:
        no need to special vio types
      libmysqld/embedded_priv.h:
        superfluous functions removed
      libmysqld/lib_sql.cc:
        several modifications
      libmysqld/lib_vio.c:
        file should be removed
      libmysqld/libmysqld.c:
        several modifications
      sql/ha_berkeley.cc:
        modification for embedded case
      sql/ha_innodb.cc:
        modifications for embedded case
      sql/ha_myisam.cc:
        modifications for embedded case
      sql/item_func.cc:
        modifications for embedded case
      sql/log.cc:
        #ifdef-ed parts of file which don't work in embedded case
      sql/log_event.cc:
        #ifdef-ed parts of file which don't work in embedded case
      sql/log_event.h:
        #ifdef-ed parts of file which don't work in embedded case
      sql/mf_iocache.cc:
        file doesn't work in embedded case
      sql/mini_client.cc:
        file should be removed from embedded library
      sql/mysqld.cc:
        several modifications
      sql/net_pkg.cc:
        #ifdef-ed functions which can't work in embedded case
      sql/net_serv.cc:
        file doesn't work in embedded case
      sql/repl_failsafe.cc:
        no replication in embedded case
      sql/repl_failsafe.h:
        no replication in embedded case
      sql/set_var.cc:
        #ifdef-ed variables which have no sense in embedded library
      sql/set_var.h:
        #ifdef-ed variables which have no sense in embedded library
      sql/slave.cc:
        no replication in embedded library
      sql/slave.h:
        no replication in embedded library
      sql/sql_acl.cc:
        modifications for embedded case
      sql/sql_cache.cc:
        modifications for embedded case
      sql/sql_class.cc:
        modifications for embedded case
      sql/sql_class.h:
        THD structure modified for embedded case
      sql/sql_db.cc:
        modification for embedded case
      sql/sql_error.cc:
        modification for embedded case
      sql/sql_help.cc:
        modification for embedded case
      sql/sql_load.cc:
        #ifdef-ed code which doesn't work in embedded case
      sql/sql_parse.cc:
        #ifdef-ed code which doesn't work in embedded case
      sql/sql_prepare.cc:
        #ifdef-ed code which doesn't work in embedded case
      sql/sql_repl.cc:
        no replication in embedded library
      sql/sql_repl.h:
        no replication in embedded library
      sql/sql_select.cc:
        query cache don't work now in embedded library
      sql/sql_show.cc:
        modifications for embedded case
      632717fd
  24. 11 Dec, 2002 1 commit
    • unknown's avatar
      rename of net_pkg.cc to protocol.cc · f918dfc8
      unknown authored
      Class for sending data from server to client (Protocol)
      This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
      
      
      libmysql/libmysql.c:
        Jump over reserved bits in the binary protocol
      libmysqld/Makefile.am:
        rename of net_pkg.cc to protocol.cc
      mysql-test/r/case.result:
        Fixed previously wrong test
      mysql-test/r/cast.result:
        Fixed previously wrong test
      sql/Makefile.am:
        Rename of net_pkg.cc to protocol.cc
      sql/field.cc:
        Binary protocol
        Added key handling functions for new VARCHAR type
      sql/field.h:
        New protocol
      sql/ha_berkeley.cc:
        New protocol
      sql/ha_berkeley.h:
        New protocol
      sql/ha_innodb.cc:
        New protocol
      sql/ha_myisam.cc:
        New protocol
      sql/item.cc:
        New protocol
      sql/item.h:
        New protocol
      sql/item_func.cc:
        Removed old code from 3.23
      sql/item_func.h:
        Set cached_result_type as it was previosly used before set
      sql/item_subselect.cc:
        Standard make_field() is now good enough
      sql/item_subselect.h:
        Use default make_field()
      sql/item_sum.cc:
        Clean up Item_sum::make_field()
      sql/item_sum.h:
        Use standard make_field()
      sql/item_timefunc.h:
        return correct types for casts()
        Use standard make_field()
      sql/log_event.cc:
        New protocol
      sql/log_event.h:
        New protocol
      sql/mysql_priv.h:
        Move things to protocol.h
      sql/opt_range.cc:
        Indentation cleanups + small optimization
      sql/procedure.h:
        Use MYSQL_TYPE instead of FIELD_TYPE
      sql/protocol.cc:
        Class for sending data from server to client.
        This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
      sql/repl_failsafe.cc:
        New protocol
      sql/slave.cc:
        New protocol
      sql/sql_acl.cc:
        New protocol
      sql/sql_base.cc:
        Move send_fields() to protocol.cc
      sql/sql_class.cc:
        New protocol
      sql/sql_class.h:
        New protocol
      sql/sql_db.cc:
        New protocol
      sql/sql_error.cc:
        New protocol
      sql/sql_handler.cc:
        New protocol
      sql/sql_help.cc:
        New protocol
      sql/sql_parse.cc:
        Remove wrong assert (variable was not initalized at this point)
      sql/sql_prepare.cc:
        New protocol
      sql/sql_repl.cc:
        New protocol
      sql/sql_select.cc:
        New protocol
      sql/sql_show.cc:
        New protocol
      sql/sql_string.h:
        New functions used by the protocol functions
      sql/sql_table.cc:
        New protocol
      sql/structs.h:
        Make second_part ulong to prepare for ANSI sub-seconds
      sql/time.cc:
        New convert function needed by the new protocol functions
      f918dfc8
  25. 07 Dec, 2002 1 commit
    • unknown's avatar
      item.cc: · cd5ef4d9
      unknown authored
        Fix for save_in_field to take extra bool argumnet (4.0 merge compatibility)
      
      
      sql/item.cc:
        Fix for save_in_field to take extra bool argumnet (missed one)
      sql/sql_prepare.cc:
        cleanups for init_param_items
      cd5ef4d9
  26. 29 Nov, 2002 1 commit
    • unknown's avatar
      checking columns of top items · 042c34d8
      unknown authored
      mysql-test/r/row_test.result:
        changed error message (report requestet columns number)
        new tests
      mysql-test/t/row_test.test:
        new tests
      sql/item.h:
        checking columns of wrapper items
      042c34d8
  27. 27 Nov, 2002 1 commit
    • unknown's avatar
      select_test.c, insert_test.c: · 4826ed00
      unknown authored
        Added my_global.h to compile after my_list.h is added to mysql.h
      sql_prepare.cc:
        Handle close stmt from client
        Minor fixups to make SET variable=? to work
      sql_parse.cc:
        Added missed COM_CLOSE_STMT
      mysql_priv.h:
        Change mysql_stmt_close to mysql_stmt_free to not to conflict with client type
      libmysql.c:
        Clean all open stmts during mysql_close() implicitly
      
      
      libmysql/libmysql.c:
        Clean all open stmts during mysql_close() implicitly
      sql/mysql_priv.h:
        Handle close_stmt from client
        Change mysql_stmt_close to mysql_stmt_free to not to conflict with client type
      sql/sql_parse.cc:
        Added missed COM_CLOSE_STMT
      sql/sql_prepare.cc:
        Handle close stmt from client
        Change mysql_stmt_close to mysql_stmt_free to not to conflict with client type
        Minor fixups to make SET variable=? to work
      client/insert_test.c:
        Added my_global.h to compile after my_list.h is added to mysql.h
      client/select_test.c:
        Added my_global.h to compile after my_list.h is added to mysql.h
      4826ed00
  28. 26 Nov, 2002 1 commit
  29. 23 Nov, 2002 1 commit
    • unknown's avatar
      client_test.c: · 84d0efec
      unknown authored
        Modification to new API test
      sql_prepare.cc:
        Fix for lock_types
      
      
      sql/sql_prepare.cc:
        Fix for lock_types
      tests/client_test.c:
        Modification to new API test
      84d0efec
  30. 22 Nov, 2002 2 commits
    • unknown's avatar
      protocol fixups · 7eafe60b
      unknown authored
      7eafe60b
    • unknown's avatar
      Moved safe_to_cache_query from thd to lex. · 0e9a75a4
      unknown authored
      This is required for prepared statements and stored procedures.
      
      
      BitKeeper/etc/ignore:
        Added bkpull.log bkpull.log.2 bkpull.log.3 build.log sql/safe_to_cache_query.txt to the ignore list
      sql/item_create.cc:
        Moved safe_to_cache_query from thd to lex.
      sql/item_func.cc:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_cache.cc:
        Moved safe_to_cache_query from thd to lex.
        Note: Query_cache::is_cacheable() has both a thd and lex argument.
        We assumed that it's the lex->safe_to_cache_query we should test.
      sql/sql_class.cc:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_class.h:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_lex.cc:
        Moved safe_to_cache_query from thd to lex.
        We set it to 1 initially. It's then set to 0 in cases where
        it's know not to be safe. (Before this change, it was set to
        0 in thd, and then set to 1 before parsing.)
      sql/sql_lex.h:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_parse.cc:
        Moved safe_to_cache_query from thd to lex.
        No point in setting it here now, it's set in lex_start() later.
      sql/sql_prepare.cc:
        Moved safe_to_cache_query from thd to lex.
        Must set it after lex_start() has been called.
      sql/sql_yacc.yy:
        Moved safe_to_cache_query from thd to lex.
      0e9a75a4
  31. 06 Nov, 2002 1 commit
  32. 30 Oct, 2002 1 commit
    • unknown's avatar
      removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion (SCRUM) · 0bb1e716
      unknown authored
      fixed some possible bugs
      
      
      sql/item.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/item_subselect.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/item_sum.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/mysql_priv.h:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_base.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_cache.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_delete.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_lex.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_lex.h:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
        fixed some possible bugs
      sql/sql_parse.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_prepare.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_repl.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_select.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_union.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_update.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_yacc.yy:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      0bb1e716
  33. 08 Oct, 2002 1 commit
    • unknown's avatar
      Portability fixes to be able to compile MySQL with VC++ · 40c2e749
      unknown authored
      VC++Files/client/mysqlclient.dsp:
        Updated VC++ files for 4.1
      VC++Files/libmysql/libmysql.dsp:
        Updated VC++ files for 4.1
      VC++Files/libmysqld/libmysqld.dsp:
        Updated VC++ files for 4.1
      VC++Files/myisam/myisam.dsp:
        Updated VC++ files for 4.1
      VC++Files/mysys/mysys.dsp:
        Updated VC++ files for 4.1
      VC++Files/sql/mysqld.dsp:
        Updated VC++ files for 4.1
      VC++Files/strings/strings.dsp:
        Updated VC++ files for 4.1
      client/mysql.cc:
        Update for windows
      heap/_check.c:
        Fixed wrong DBUG_PRINT() usage
      include/mysql.h:
        Portability fix (uint -> unsigned int)
      libmysql/libmysql.def:
        Removed old my_casecmp function
      sql/ha_innodb.cc:
        Update for windows
      sql/init.cc:
        Removed not used variable
      sql/log.cc:
        Removed not used variable
      sql/net_pkg.cc:
        Portability fix
      sql/sql_db.cc:
        Portability fixes.  Removed not used variables
      sql/sql_lex.h:
        Portability fix
      sql/sql_parse.cc:
        Portability fix
      sql/sql_prepare.cc:
        Removed not used variables
      sql/sql_select.cc:
        Portability fix
      sql/sql_show.cc:
        Portability fix
      sql/sql_union.cc:
        Portability fix
      40c2e749
  34. 03 Oct, 2002 1 commit
    • unknown's avatar
      Update after last merge. Fixes some wrong test results. · 8f7a2b27
      unknown authored
      libmysql/libmysql.c:
        Removed obsolete function (now in strings library)
      mysql-test/r/rpl_log.result:
        Updated results for 4.1
      mysql-test/r/rpl_log_pos.result:
        Updated results for 4.1
      sql/item_strfunc.cc:
        Added missing system_charset_info
      sql/log_event.cc:
        Portability fixes. More debugging.
      sql/net_pkg.cc:
        Added back setting of query_error as slave code is depeneding on this.
      sql/sql_acl.cc:
        Update after last merge
      sql/sql_lex.cc:
        Update after last merge
      sql/sql_parse.cc:
        Update after last merge
      sql/sql_prepare.cc:
        Update after last merge
      sql/time.cc:
        Update after last merge.
        More comments
      8f7a2b27
  35. 02 Oct, 2002 1 commit
    • unknown's avatar
      Fixes and code cleanups after merge with 4.0.3 · 5a28c2ca
      unknown authored
      Warning handling and initial prepared statement handling (last not complete yet)
      Changed a lot of functions that returned 0/1 to my_bool type.
      GRANT handling now uses read/write locks instead of mutex
      Change basic net functions to use THD instead of NET
      (needed for 4.1 protocol)
      Use my_sprintf instead of sprintf() + strlen()
      Added alloc_query() to be able to chare query initialization code with
      prepared statements.
      Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      
      Note that the following test fails (will be fixed ASAP):
      sub_select, union, rpl_rotate_logs and rpl_mystery22
      
      
      BitKeeper/deleted/.del-README~3449730baf983117:
        Delete: mysql-test/t/README
      BitKeeper/deleted/.del-sql_error.cc~2f1caca8d2485dbe:
        Delete: libmysqld/sql_error.cc
      BitKeeper/deleted/.del-sql_prepare.cc~f703729793935ed6:
        Delete: libmysqld/sql_prepare.cc
      Docs/manual.texi:
        Updated variable list
      client/mysql.cc:
        Show warning count to user.
      client/mysqltest.c:
        Add warnings to test results
      configure.in:
        New shared library version number
      include/errmsg.h:
        Indentation cleanup
      include/mysql.h:
        Removed MYSQL_ERROR
        Indentaion cleanups
      include/mysql_com.h:
        Changed functions to returns true/false to my_bool.
      include/mysqld_error.h:
        New error messages
      isam/pack_isam.c:
        Indentation change
      libmysql/Makefile.am:
        Fix of wrong merge
      libmysql/Makefile.shared:
        Indentation cleanup
      libmysql/errmsg.c:
        Removed not used errors
      libmysql/libmysql.c:
        Change functions to return 1 on error (not -1)
        Change type of functions that returns 0/1 to my_bool
        Lot of code optimizations.
        Lot of changes for prepared statements. This now handles sending of binary data to server.
        Receving of binary data is not yet done (will have to wait until server code for this is ready)
        mysql_warning_count and mysql_warnings() implemented.
      libmysql/libmysql.def:
        Added mysql_warnings and mysql_warning_count
      libmysql/manager.c:
        Fixed wrong testing of result from my_connect()
      libmysqld/lib_sql.cc:
        Removed global variable THR_NET
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      libmysqld/libmysqld.c:
        Changed functions to be my_bool
      myisam/ft_boolean_search.c:
        Trivial code cleanup
      myisam/ft_stopwords.c:
        Trivial code cleanup
      myisam/mi_check.c:
        Update to 4.1 structures
      myisam/myisampack.c:
        Trivial code cleanup
      myisam/rt_key.c:
        Code cleanup
      myisam/rt_test.c:
        Code cleanup
        Removed compiler warnings
      myisam/sp_key.c:
        Indentation changes
      myisam/sp_test.c:
        Removed compiler warnings
      mysql-test/README:
        Updated to reflect the new --external flag.
      mysql-test/mysql-test-run.sh:
        --local (start new server) is now default.
        Use --external to test against external server.
      mysql-test/r/rollback.result:
        Updated for 4.1 warnings
      mysql-test/r/rpl_log.result:
        Update for 4.1
      mysql-test/t/rollback.test:
        Updated for 4.1 warnings
      mysql-test/t/rpl_log_pos.test:
        Portability fix
      mysys/hash.c:
        Indentation change
      mysys/my_error.c:
        Indentation change
      mysys/tree.c:
        Updated file description
      sql/field.cc:
        Fixed bugs introduced by merge
        Use my_sprintf instead of sprintf() + strlen()
      sql/field.h:
        Add CHARSET_INFO to field structure
      sql/gstream.h:
        Indentation changes.
        Added GPL copyright header
      sql/ha_innodb.cc:
        Updated parameters for net functions.
      sql/item.cc:
        Updates of Item_param
        Indentation changes
      sql/item.h:
        Removed size_of() function from item.
      sql/item_func.cc:
        Update function usage for 4.1
        Added get_system_var()
      sql/item_func.h:
        Indentation change
      sql/item_strfunc.cc:
        Removed not needed inclusion of gstream.h
        Update to use system variables (from 4.0)
      sql/item_sum.h:
        Removed size_of() functions from item.
      sql/item_timefunc.cc:
        Change sprintf() + strlen() -> my_sprintf()
        Added length parameter to ->append()
      sql/item_timefunc.h:
        Removed size_of() functions from item.
      sql/item_uniq.h:
        Removed size_of() functions from item.
      sql/lex.h:
        Removed SQL_ERROR_COUNT variable
      sql/log.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/log_event.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/mini_client.cc:
        Added check that one always specifies a length to mc_mysql_query()
      sql/mysql_priv.h:
        New prototypes
        Change of NET -> THD parameter for net functions.
      sql/mysqld.cc:
        New startup options:  'max_prepared_statements', 'max_error_count'
        Updated usage of net functions.
      sql/net_pkg.cc:
        Change basic net functions to use THD instead of NET
        (needed to be able to handle 4.0 and 4.1 protocols)
        Lots of function comments
      sql/net_serv.cc:
        Change int return values -> my_bool
        Updated net_write_command() to take an extra header block to be added to the packet.
        (This made the prepared statement code much nicer and more efficient)
      sql/repl_failsafe.cc:
        Update net functions to use THD instead of NET
      sql/set_var.cc:
        Added @@error_count and @@warning_count variables.
        Updated to 4.1 function usage
      sql/set_var.h:
        Added @@error_count and @@warning_count variables.
      sql/share/czech/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/english/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/greek/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/hungarian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/japanese/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/korean/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian-ny/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/polish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/romanian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/slovak/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/swedish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/slave.cc:
        Change basic net functions to use THD instead of NET
        skip_load_data_file recoded to fit new client/server protocol
      sql/spatial.h:
        Added copyright header
        Indentation cleanups
      sql/sql_acl.cc:
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      sql/sql_analyse.cc:
        Change basic net functions to use THD instead of NET
        sprintf() + strlen() -> my_sprintf()
      sql/sql_base.cc:
        More DBUG statements
      sql/sql_class.cc:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_class.h:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_db.cc:
        Code cleanup & optimization.
      sql/sql_delete.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_derived.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_do.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_error.cc:
        Big rewrite of error handling.
      sql/sql_handler.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_insert.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.h:
        Added param_count to st_select_lex_node
      sql/sql_list.h:
        Removed not needed error list.
      sql/sql_load.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_parse.cc:
        Change basic net functions to use THD instead of NET
        Added alloc_query() to be able to chare query initialization code with
        prepared statements.
        Update of warning handling.
        Added create_select_for_variable() (for SHOW COUNT(*) WARNINGS)
      sql/sql_prepare.cc:
        Initial prepared statement handling
      sql/sql_rename.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_repl.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_select.cc:
        Small code cleanups
        Added missing initialization of error that caused some queries that returned an empty result set to fail
      sql/sql_select.h:
        Ensure that JOIN.error is properly initialized
      sql/sql_show.cc:
        Change basic net functions to use THD instead of NET
        A lot of optimization
      sql/sql_table.cc:
        Change basic net functions to use THD instead of NET
        Indentaion cleanup
      sql/sql_udf.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_union.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_update.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_yacc.yy:
        Change basic net functions to use THD instead of NET
        Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      sql/structs.h:
        Moved structures to files where they was used
      sql/table.cc:
        Don't accept empty database names
      sql/uniques.cc:
        Indentation cleanup
      sql/unireg.cc:
        Change basic net functions to use THD instead of NET
      sql/unireg.h:
        Added defaults for warnings and prepared statements
      strings/ctype-simple.c:
        optimization
      tests/client_test.c:
        Fixed wrong paramaters to printf()
      5a28c2ca
  36. 01 Jul, 2002 1 commit
    • unknown's avatar
      subselect in having clause · e5b5f453
      unknown authored
      fixed bug in sum function in subselect
      
      
      mysql-test/r/subselect.result:
        subselect in having clause
      mysql-test/t/subselect.test:
        subselect in having clause
      sql/item.cc:
        subselect in having clause
      sql/item.h:
        subselect in having clause
      sql/item_cmpfunc.cc:
        subselect in having clause
      sql/item_cmpfunc.h:
        subselect in having clause
      sql/item_func.cc:
        subselect in having clause
      sql/item_func.h:
        subselect in having clause
      sql/item_strfunc.h:
        subselect in having clause
      sql/item_subselect.cc:
        subselect in having clause
      sql/item_subselect.h:
        subselect in having clause
      sql/item_uniq.h:
        subselect in having clause
      sql/sql_base.cc:
        subselect in having clause
      sql/sql_class.cc:
        subselect in having clause
      sql/sql_class.h:
        subselect in having clause
      sql/sql_handler.cc:
        subselect in having clause
      sql/sql_lex.cc:
        subselect in having clause
      sql/sql_lex.h:
        subselect in having clause
      sql/sql_prepare.cc:
        subselect in having clause
      sql/sql_yacc.yy:
        subselect in having clause
      e5b5f453
  37. 12 Jun, 2002 1 commit
    • unknown's avatar
      sql_error.cc, sql_prepare.cc: · 6cdebb33
      unknown authored
        new file
      
        Client-server protocol 4.1 changes - Server side:
      
       * Enhanced metadata information:
          - SHOW [COUNT(*)] ERRORS [LIMIT [offset,] rows]
          - SHOW [COUNT(*)] WARNING [LIMIT [offset,] rows]
          - SHOW TABLE TYPES
          - SHOW PRIVILEGES
          - SHOW COLUMN TYPES (Not fully implemented)
      
       * Prepared execution
       * Long data handling in pieces
       * And other misc changes
      
      
      6cdebb33