1. 13 Sep, 2003 1 commit
    • unknown's avatar
      Fixes for OPTION_FOUND_ROWS in UNION's · e08cbd11
      unknown authored
      
      mysql-test/r/subselect.result:
        A warning added to subselect test due to the recent changes.
        
        UNION in sub-select returns the empty set, which is why this warning is
        a mistery to me.
      mysql-test/r/union.result:
        two changes.
        
        First one is due to the proper handling of LIMIT offset, limit in 
        UNION without all.
        
        Second is a change in behaviour due to the fact that ORDER by in a 
        UNION without braces is not now applicable to the last SELECT node.
        
        It can not be applied until one bug is fixed (after my vacation).
        
        Should be documented.
      e08cbd11
  2. 12 Sep, 2003 5 commits
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · d89b0f5b
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      sql/sql_yacc.yy:
        Auto merged
      d89b0f5b
    • unknown's avatar
      Fix for a bug #1231 · 792f0b96
      unknown authored
      Parse error caused global ORDER BY to be initialized although it should
      not have been.
      
      792f0b96
    • unknown's avatar
      Monty's merge bug fixed · 8db1ce6e
      unknown authored
      
      libmysqld/lib_sql.cc:
        these definitions moved to be after my_bool declaration
      8db1ce6e
    • unknown's avatar
      Fix results for mix_innodb_myisam_binlog · 89759945
      unknown authored
      Optimize calls to current_thd
      
      
      mysql-test/r/mix_innodb_myisam_binlog.result:
        updated results
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Fix for 4.1
      sql/ha_innodb.cc:
        Don't call current_thd in an assert that is not deleted in release version
        (Because current_thd is slow)
      89759945
    • unknown's avatar
      Optimize thai character handling · ebd4b0be
      unknown authored
      Remove sel000xxxx tests
      After merge fixes
      
      
      BitKeeper/deleted/.del-sel000033.test~3971fbe746eec069:
        Delete: mysql-test/t/sel000033.test
      BitKeeper/deleted/.del-sel000033.result~56d1d02d72b94602:
        Delete: mysql-test/r/sel000033.result
      BitKeeper/deleted/.del-sel000100.result~84ed46856cb3a69f:
        Delete: mysql-test/r/sel000100.result
      BitKeeper/deleted/.del-sel000100.test~548501cad19a1a59:
        Delete: mysql-test/t/sel000100.test
      mysql-test/r/distinct.result:
        Merge test with sel000100
      mysql-test/r/grant.result:
        Update result after merge
      mysql-test/r/range.result:
        After merge fix
        Merge test with sel000033
      mysql-test/t/distinct.test:
        Merge test with sel000100
      mysql-test/t/range.test:
        Merge test with sel000033
      sql/log_event.cc:
        Remove duplicate allocation
      sql/sql_select.cc:
        After merge fixes
      strings/ctype-tis620.c:
        Remove usage of strnlen
        Optimize code and make it \0 safe
      ebd4b0be
  3. 11 Sep, 2003 7 commits
    • unknown's avatar
      merge with 4.1 tree · 12787aa3
      unknown authored
      
      client/mysqltest.c:
        Auto merged
      include/mysql.h:
        Auto merged
      libmysql/errmsg.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      sql/field.cc:
        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/item_func.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/share/portuguese/errmsg.txt:
        Auto merged
      sql/share/spanish/errmsg.txt:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      tests/client_test.c:
        Auto merged
      12787aa3
    • unknown's avatar
      merge with 4.0.15 · 43c0c0db
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      BitKeeper/deleted/.del-mysql_fix_privilege_tables.sql:
        Delete: scripts/mysql_fix_privilege_tables.sql
      include/mysql.h:
        Auto merged
      myisam/mi_open.c:
        Auto merged
      myisam/mi_update.c:
        Auto merged
      myisam/myisampack.c:
        Auto merged
      mysql-test/r/bdb.result:
        Auto merged
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/t/bdb.test:
        Auto merged
      mysql-test/t/grant.test:
        Auto merged
      mysql-test/t/range.test:
        Auto merged
      scripts/make_win_src_distribution.sh:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      43c0c0db
    • unknown's avatar
      After merge fixes. · d574e99c
      unknown authored
      Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
      
      
      client/mysql.cc:
        After merge fix
      include/mysql.h:
        Some additions to MYSQL_BIND for cleaner prepared statement code
      libmysql/libmysql.c:
        mysql_prepare_result -> mysql_get_metadata()
        Added test for offset overflow when using mysql_fetch_column()
        Cleaned up mysql_fetch_column()
        Optimized fetch_result() usage
      mysql-test/r/func_group.result:
        Updated results after merge
      mysql-test/r/func_test.result:
        Updated results after merge
      mysql-test/r/grant.result:
        Updated results after merge
      mysql-test/r/loaddata.result:
        Updated results after merge
      mysql-test/r/lowercase_table.result:
        Updated results after merge
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Updated results after merge (note that this is still not correct; Need patch to mysqld to fix this properly)
      mysql-test/r/myisam.result:
        Updated results after merge
      mysql-test/r/range.result:
        Updated results after merge
      mysql-test/r/rpl_loaddata.result:
        Updated results after merge
      mysql-test/r/rpl_loaddata_rule_m.result:
        Updated results after merge
      mysql-test/r/rpl_loaddata_rule_s.result:
        Updated results after merge
      mysql-test/r/rpl_log.result:
        Updated results after merge
      mysql-test/r/union.result:
        Updated results after merge
      mysql-test/t/lowercase_table.test:
        Update after merge
      mysql-test/t/myisam.test:
        Update after merge
      mysql-test/t/union.test:
        Update after merge
      sql-bench/compare-results.sh:
        Fix for now output format
      sql/field.h:
        Added is_null_in_record() to make ha_innodb.cc code more general
      sql/ha_innodb.cc:
        Removed some functions that uses inernal (private) MySQL information
      sql/item_cmpfunc.cc:
        After merge fix
      sql/log_event.cc:
        After merge fix; (Some code should be checked by Guilhem)
      sql/opt_range.cc:
        Simple optimzation and after merge fixes
      sql/slave.cc:
        After merge fix
      sql/sql_acl.cc:
        After merge fix + code cleanup
      sql/sql_select.cc:
        After merge fix
      sql/sql_show.cc:
        After merge fix
      sql/sql_table.cc:
        After merge fix
        Cleanup of mysql_checksum_table()
      sql/sql_union.cc:
        After merge fixes.
        Note that after this the union test still fails; Will be fixed shortly...
      tests/client_test.c:
        mysql_prepare_result() -> mysql_get_metadata()
      d574e99c
    • unknown's avatar
    • unknown's avatar
      SCRUM · 99450993
      unknown authored
      embedded&client library
      some fixes: zero at the end of the data added
      mysql_list_fields became 'virtual'
      
      
      include/mysql.h:
        mysql_list_fields became 'virtual'
      libmysql/client_settings.h:
        in client library we need proper implementation for list_fields
      libmysql/libmysql.c:
        implementation for remote server
      libmysqld/lib_sql.cc:
        we still need zero at the end of the data in client (see mysql.cc).
        I feel it should be changed
      libmysqld/libmysqld.c:
        implementation for embedded server
      sql-common/client.c:
        cli_list_fields member set for client library
      sql/client_settings.h:
        we don't need mysql_list_fields in mini_client code
      99450993
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · c2ee878f
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.0
      
      c2ee878f
    • unknown's avatar
      Remove not used define (my_strxfrm) · 6f3c42ff
      unknown authored
      
      include/m_ctype.h:
        Remove not used define
      6f3c42ff
  4. 10 Sep, 2003 12 commits
  5. 09 Sep, 2003 5 commits
    • unknown's avatar
      after merge fix · 886f29fc
      unknown authored
      886f29fc
    • unknown's avatar
      merge · 5dd1379f
      unknown authored
      
      mysql-test/r/subselect.result:
        Auto merged
      sql/item.cc:
        Auto merged
      5dd1379f
    • unknown's avatar
      Cleaned up last bug fixes · c094fcae
      unknown authored
      Fix bug in SHOW GRANTS when there is a column privilege but no table privilege
      
      
      include/mysql.h:
        Make server_inited external
      libmysqld/libmysqld.c:
        Remove reference to (wrong) external variable
      mysql-test/r/grant.result:
        Fixed up grant test to not user 'user1' or 'user2'
        Check for bug in SHOW GRANTS when there is a column privilege but no table privilege
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Change to use tables t1 and t2
      mysql-test/t/grant.test:
        Fixed up grant test to not user 'user1' or 'user2'
        Check for bug in SHOW GRANTS when there is a column privilege but no table privilege
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Change to use tables t1 and t2
      sql/sql_acl.cc:
        Fix bug in SHOW GRANTS when there is a column privilege but no table privilege
      sql/sql_parse.cc:
        Use HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      c094fcae
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 83794e3f
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-optimized_prepared-4.1
      
      
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      83794e3f
    • unknown's avatar
      Fix for a bug #1226. · 6bc438e3
      unknown authored
      Happens when braces are used on a single select, which leads
      to the uninitialized global parameters structure.
      
      6bc438e3
  6. 08 Sep, 2003 10 commits