1. 13 May, 2004 1 commit
  2. 12 May, 2004 4 commits
    • unknown's avatar
      Manual merge · fee57535
      unknown authored
      
      include/my_sys.h:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_berkeley.h:
        Auto merged
      sql/ha_heap.h:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_test.cc:
        Auto merged
      include/my_base.h:
        Manually merged
      sql/opt_range.cc:
        Manually merged
      sql/opt_range.h:
        Manually merged
      sql/sql_delete.cc:
        Manually merged
      sql/sql_update.cc:
        Manually merged
      fee57535
    • unknown's avatar
      This is first cset for WL#1394 "Optimize index merge when all involved index... · 3600d09a
      unknown authored
      This is first cset for WL#1394 "Optimize index merge when all involved index ranges include only values with equal keys"
      The main idea is to exploit the fact that key scans for "key=const" return ordered sequences of rowids.
      
      
      include/my_base.h:
        Added HA_EXTRA_KEYREAD_PRESERVE_FIELDS flag
      include/my_bitmap.h:
        Added a couple of utility functions
      include/my_sys.h:
        Added my_conunt_bits_ushort function
      innobase/include/row0mysql.h:
        Added support for HA_EXTRA_KEYREAD_PRESERVE_FIELDS
      innobase/row/row0sel.c:
        Added support for HA_EXTRA_KEYREAD_PRESERVE_FIELDS
      mysys/my_bit.c:
        Added my_count_bits_ushort function
      mysys/my_bitmap.c:
        Added a couple of utility functions
      sql/ha_berkeley.cc:
        Added cmp_ref rowid comparison function.
      sql/ha_berkeley.h:
        Added cmp_ref rowid comparison function.
      sql/ha_heap.h:
        Added cmp_ref rowid comparison function.
      sql/ha_innodb.cc:
        Added cmp_ref rowid comparison function and support from HA_EXTRA_KEYREAD_PRESERVE_FIELDS
      sql/ha_innodb.h:
        Added cmp_ref rowid comparison function.
      sql/handler.h:
        Added cmp_ref rowid comparison function.
      sql/opt_range.cc:
        Added QUICK_ROR_{INTERSECT,UNION}_SELECT classes and related optimizer code
      sql/opt_range.h:
        Added QUICK_ROR_{INTERSECT,UNION}_SELECT classes
      sql/sql_delete.cc:
        Changed to use new ROWID comparison function
        also always call quick->reset() for quick selects
      sql/sql_select.cc:
        Account for new quick select types
      sql/sql_select.h:
        New, proper rowid ordering/comparison function to be used with Unique class etc.
      sql/sql_test.cc:
        Account for new quick select types
      sql/sql_update.cc:
        Account for new quick select types
      3600d09a
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · f3a16fef
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-parser-5.0
      
      
      f3a16fef
    • unknown's avatar
  3. 11 May, 2004 3 commits
    • unknown's avatar
      file parser for new .frm · e66b7405
      unknown authored
      
      include/my_sys.h:
        names for get_date format flags
      include/mysqld_error.h:
        error of parser
      libmysqld/Makefile.am:
        parser file added
      mysys/mf_getdate.c:
        function comment for get_date()
        2 new flags added
        names for get_date format flags
      sql/Makefile.am:
        parser file added
      sql/mysql_priv.h:
        parser file added
      sql/share/czech/errmsg.txt:
        file parser errors
      sql/share/danish/errmsg.txt:
        file parser errors
      sql/share/dutch/errmsg.txt:
        file parser errors
      sql/share/english/errmsg.txt:
        file parser errors
      sql/share/estonian/errmsg.txt:
        file parser errors
      sql/share/french/errmsg.txt:
        file parser errors
      sql/share/german/errmsg.txt:
        file parser errors
      sql/share/greek/errmsg.txt:
        file parser errors
      sql/share/hungarian/errmsg.txt:
        file parser errors
      sql/share/italian/errmsg.txt:
        file parser errors
      sql/share/japanese/errmsg.txt:
        file parser errors
      sql/share/korean/errmsg.txt:
        file parser errors
      sql/share/norwegian-ny/errmsg.txt:
        file parser errors
      sql/share/norwegian/errmsg.txt:
        file parser errors
      sql/share/polish/errmsg.txt:
        file parser errors
      sql/share/portuguese/errmsg.txt:
        file parser errors
      sql/share/romanian/errmsg.txt:
        file parser errors
      sql/share/russian/errmsg.txt:
        file parser errors
      sql/share/serbian/errmsg.txt:
        file parser errors
      sql/share/slovak/errmsg.txt:
        file parser errors
      sql/share/spanish/errmsg.txt:
        file parser errors
      sql/share/swedish/errmsg.txt:
        file parser errors
      sql/share/ukrainian/errmsg.txt:
        file parser errors
      BitKeeper/etc/ignore:
        Added libmysqld/parse_file.cc to the ignore list
      e66b7405
    • unknown's avatar
      Merge of WL#1469 with latest bk sources. · d7938b9f
      unknown authored
      d7938b9f
    • unknown's avatar
      Merge of WL#1469 with latest bk version. · 224b9a06
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      224b9a06
  4. 10 May, 2004 1 commit
    • unknown's avatar
      Complete implementation of WL#1469 "Greedy algorithm to search for an optimal execution plan", · a51ba613
      unknown authored
      consisting of pos-review fixes and improvements.
      
      
      mysql-test/r/distinct.result:
        Adjusted to account for pre-sorting of tables before optimiziation.
      mysql-test/r/func_group.result:
        Adjusted to account for pre-sorting of tables before optimiziation.
      mysql-test/r/greedy_optimizer.result:
        - Adjusted to account for pre-sorting of tables before optimiziation.
        - Removed unnecessary test.
        - More comments.
      mysql-test/r/select.result:
        - Adjusted to account for pre-sorting of tables before optimiziation.
      mysql-test/t/greedy_optimizer.test:
        - Adjusted to account for pre-sorting of tables before optimiziation.
        - Removed unnecessary test.
        - More comments.
      sql/mysql_priv.h:
        Moved function print_plan() to sql_test.cc
      sql/sql_select.cc:
        - Simplified the recursion in best_extension_by_limited_search()
          and aligned it with its pseudo-code.
        - Renamed functions to better reflect their semantics.
        - Post-review changes of function specifications.
        - Moved function print_plan() to sql_test.cc.
      sql/sql_test.cc:
        Moved function print_plan() to sql_test.cc
      a51ba613
  5. 04 May, 2004 2 commits
    • unknown's avatar
      Correction of WL#1567: row_count() is -1 following non-insert/update/delete · f3d691a9
      unknown authored
      statements.
      
      
      mysql-test/r/sp.result:
        Added row_count() test for non-insert/update/delete statement.
      mysql-test/t/sp.test:
        Added row_count() test for non-insert/update/delete statement.
      sql/sql_class.h:
        thd->row_count_func must be signed for JDBC/ODBC (can be -1).
      sql/sql_parse.cc:
        Reset thd->row_count_func to -1 for non-insert/update/delete statements.
      f3d691a9
    • unknown's avatar
      WL#1567: Add ROW_COUNT() Function to retrieve count of rows updated/inserted/deleted · 7c4ceb73
      unknown authored
      
      mysql-test/r/sp.result:
        New test cases for function ROW_COUNT().
      mysql-test/t/sp.test:
        New test cases for function ROW_COUNT().
      sql/item_func.cc:
        New Item_func_row_count.
      sql/item_func.h:
        New Item_func_row_count.
      sql/lex.h:
        New symbol for function ROW_COUNT().
      sql/sql_class.h:
        New slot in THD for storing the row_count after insert, delete and update.
      sql/sql_delete.cc:
        Set thd->row_count_func when deleting.
      sql/sql_insert.cc:
        Set thd->row_count_func when inserting.
      sql/sql_parse.cc:
        Stored procedure CALLs send the row count from the last insert, delete or update.
      sql/sql_update.cc:
        Set thd->row_count_func when updating.
      sql/sql_yacc.yy:
        New function ROW_COUNT().
      7c4ceb73
  6. 28 Apr, 2004 1 commit
    • unknown's avatar
      Post-merge fixes, some quite complex. client/mysqlbinlog.cc and sql/log_event.cc · 2eecc377
      unknown authored
      merged manually by guilhem.
      
      
      client/mysqlbinlog.cc:
        Post-merge fixes; manually merged by guilhem.
      include/mysqld_error.h:
        Post-merge fixes.
      mysql-test/r/drop_temp_table.result:
        Post-merge fixes.
      mysql-test/r/insert.result:
        Post-merge fixes.
      mysql-test/r/mysqlbinlog.result:
        Post-merge fixes.
      mysql-test/r/query_cache.result:
        Post-merge fixes.
      mysql-test/r/rpl_error_ignored_table.result:
        Post-merge fixes.
      mysql-test/r/rpl_relayrotate.result:
        Post-merge fixes.
      mysql-test/r/rpl_trunc_binlog.result:
        Post-merge fixes.
      mysql-test/r/sp-error.result:
        Post-merge fixes.
      mysql-test/r/sp.result:
        Post-merge fixes.
      mysql-test/r/system_mysql_db.result:
        Post-merge fixes.
      mysql-test/r/variables.result:
        Post-merge fixes.
      mysql-test/t/rpl_error_ignored_table.test:
        Post-merge fixes.
      mysql-test/t/sp-error.test:
        Post-merge fixes.
      sql/ha_innodb.cc:
        Post-merge fixes.
      sql/log_event.cc:
        Post-merge fixes; manually merged by guilhem.
      sql/set_var.cc:
        Post-merge fixes.
      sql/share/danish/errmsg.txt:
        Post-merge fixes.
      sql/share/dutch/errmsg.txt:
        Post-merge fixes.
      sql/share/english/errmsg.txt:
        Post-merge fixes.
      sql/share/estonian/errmsg.txt:
        Post-merge fixes.
      sql/sp.cc:
        Post-merge fixes.
      sql/sql_insert.cc:
        Post-merge fixes.
      sql/sql_table.cc:
        Post-merge fixes.
      2eecc377
  7. 16 Apr, 2004 1 commit
    • unknown's avatar
      Implementation of WL#1469 (Greedy algorithm to search for an optimal execution plan). · 4c56ede4
      unknown authored
      
      mysql-test/r/subselect.result:
        Table pre-sorting before optimization makes the optimizer select a different plan, this change fixes the plan.
      sql/mysql_priv.h:
        Added new status variable last_query_cost that contains the cost of the last compiled query.
      sql/mysqld.cc:
        * Added new system variable 'plan_search_depth' to control the exhaustiveness of the search for an optimal query plan.
        * Added new system variable 'heuristic' to control the use of query optimization heuristic.
        * Added new status variable 'last_query_cost' that contains the cost of the last compiled query.
      sql/set_var.cc:
        * Added new system variable 'plan_search_depth' to control the exhaustiveness of the search for an optimal query plan.
        * Added new system variable 'heuristic' to control the use of query optimization heuristic.
      sql/sql_class.h:
        * Added new system variable 'plan_search_depth' to control the exhaustiveness of the search for an optimal query plan.
        * Added new system variable 'heuristic' to control the use of query optimization heuristic.
      sql/sql_select.cc:
        Added a combined greedy/exhaustive query optimization algorithm.
        * The greedy search algorithm is implemented in function 'greedy_search'.
        * The exhaustive search with controlled search depth is implemented in function 'find_best_limited_depth', a modification of 'find_best'.
        * The selection of the best access path and its cost computation is factored out from 'find_best' into function 'best_access_path'.
        * In addition:
          - added pre-sorting for the query tables before they get optimized
          - factored out the optimization of STRAIGHT_JOIN into a separate procedure
      sql/sql_select.h:
        Added new field to st_position to support the greedy optimizer.
        Added a comment to class JOIN.
      sql/sql_show.cc:
        Added a case to 'mysqld_show' to print double status variables.
      sql/structs.h:
        Added a new type of status variables SHOW_DOUBLE
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      4c56ede4
  8. 07 Apr, 2004 5 commits
    • unknown's avatar
      Merge 4.1 -> 5.0. · c635d374
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      VC++Files/sql/mysqld.dsp:
        Auto merged
      client/Makefile.am:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      mysql-test/install_test_db.sh:
        Auto merged
      mysql-test/r/insert_select.result:
        Auto merged
      mysql-test/r/join_outer.result:
        Auto merged
      mysql-test/r/null.result:
        Auto merged
      mysql-test/r/connect.result:
        Auto merged
      mysql-test/r/func_sapdb.result:
        Auto merged
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/r/rpl_change_master.result:
        Auto merged
      mysql-test/r/rpl_log.result:
        Auto merged
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/r/symlink.result:
        Auto merged
      mysql-test/r/rpl_flush_log_loop.result:
        Auto merged
      mysql-test/r/rpl_flush_tables.result:
        Auto merged
      mysql-test/r/rpl_loaddata.result:
        Auto merged
      mysql-test/r/rpl_loaddata_rule_m.result:
        Auto merged
      mysql-test/r/rpl_loaddata_rule_s.result:
        Auto merged
      mysql-test/r/rpl_max_relay_size.result:
        Auto merged
      mysql-test/r/rpl_reset_slave.result:
        Auto merged
      mysql-test/r/rpl_temporary.result:
        Auto merged
      mysql-test/r/rpl_until.result:
        Auto merged
      mysql-test/r/rpl_user_variables.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/union.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/func_sapdb.test:
        Auto merged
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Auto merged
      mysql-test/t/mysqlbinlog.test:
        Auto merged
      mysql-test/t/rpl_change_master.test:
        Auto merged
      mysql-test/t/rpl_log.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      netware/BUILD/compile-linux-tools:
        Auto merged
      netware/BUILD/compile-netware-END:
        Auto merged
      netware/BUILD/compile-netware-all:
        Auto merged
      netware/BUILD/compile-netware-standard:
        Auto merged
      mysql-test/t/rpl_empty_master_crash.test:
        Auto merged
      mysql-test/t/rpl_error_ignored_table.test:
        Auto merged
      mysql-test/t/rpl_flush_log_loop.test:
        Auto merged
      mysql-test/t/rpl_loaddata.test:
        Auto merged
      mysql-test/t/rpl_loaddata_rule_m.test:
        Auto merged
      mysql-test/t/rpl_loaddata_rule_s.test:
        Auto merged
      mysql-test/t/rpl_max_relay_size.test:
        Auto merged
      mysql-test/t/rpl_openssl.test:
        Auto merged
      mysql-test/t/rpl_relayrotate-slave.opt:
        Auto merged
      mysql-test/t/rpl_reset_slave.test:
        Auto merged
      mysql-test/t/rpl_trunc_binlog.test:
        Auto merged
      mysql-test/t/rpl_until.test:
        Auto merged
      mysql-test/t/rpl_user_variables.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      scripts/mysql_create_system_tables.sh:
        Auto merged
      scripts/mysql_fix_privilege_tables.sql:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_berkeley.h:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/item_create.h:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/item_timefunc.h:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      sql/protocol.h:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_acl.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_list.h:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_rename.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_repl.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_test.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      tests/client_test.c:
        Auto merged
      c635d374
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 0948f976
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ps3-4.1
      
      
      mysql-test/r/union.result:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      0948f976
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · 91fb27a3
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_3342/mysql-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      91fb27a3
    • unknown's avatar
      after review changes · 08594c47
      unknown authored
      
      sql/log_event.cc:
        non_cachable_table flag changed to cacheable_table
      sql/repl_failsafe.cc:
        non_cachable_table flag changed to cacheable_table
      sql/slave.cc:
        non_cachable_table flag changed to cacheable_table
      sql/sql_acl.cc:
        non_cachable_table flag changed to cacheable_table
      sql/sql_base.cc:
        non_cachable_table flag changed to cacheable_table
      sql/sql_cache.cc:
        non_cachable_table flag changed to cacheable_table
      sql/sql_help.cc:
        non_cachable_table flag changed to cacheable_table
      sql/sql_insert.cc:
        non_cachable_table flag changed to cacheable_table
      sql/sql_parse.cc:
        non_cachable_table flag changed to cacheable_table
      sql/sql_prepare.cc:
        renamed DEBUG tag
      sql/table.h:
        non_cachable_table flag changed to cacheable_table
      08594c47
    • unknown's avatar
      Portability fixes · e9447881
      unknown authored
      Fixed problems with group_concat() and HAVING
      Updated crash-me values
      
      
      sql-bench/limits/mysql-4.0.cfg:
        Rename: sql-bench/limits/mysql.cfg -> sql-bench/limits/mysql-4.0.cfg
      include/my_global.h:
        Safety fix
      libmysqld/Makefile.am:
        Portability fix (For AIX 64 bit)
      mysql-test/r/func_gconcat.result:
        More tests
      mysql-test/t/func_gconcat.test:
        More tests
      sql/field.cc:
        Cleanups
      sql/init.cc:
        moved thread_stack_min to right place
      sql/item_sum.cc:
        Fixed problems with group_concat() and HAVING
        Removed some not needed variables
      sql/item_sum.h:
        Fixed problems with group_concat() and HAVING
        Removed some not needed variables
      sql/mysqld.cc:
        Moved thread_stack_min to right place to handle case where we didn't get as much stack space as we asked for
      sql/sql_parse.cc:
        More debugging
      sql/sql_select.cc:
        Cleanup
      sql/sql_yacc.yy:
        Fixed handling of Item_group_concat() in having. (Arguments should not be handled as refs)
      e9447881
  9. 06 Apr, 2004 15 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 2d5635e3
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      2d5635e3
    • unknown's avatar
      fixed · 6c310645
      unknown authored
      bug #3342 "SHOW CREATE DATABASE seems to require DROP privilege"
      (now it require only SELECT privilege on database)
      
      
      mysql-test/r/show_check.result:
        added test for 
        bug #3342 "SHOW CREATE DATABASE seems to require DROP privilege"
      mysql-test/t/show_check.test:
        added test for 
        bug #3342 "SHOW CREATE DATABASE seems to require DROP privilege"
      6c310645
    • unknown's avatar
      Fixed charsetnr sent to the client · 815c23f1
      unknown authored
      815c23f1
    • unknown's avatar
      Fixed a problem with mysqld_multi log file. The default is now datadir/mysqld_multi.log, · ae3d2266
      unknown authored
      if doesn't exists or is not writable, then /var/log/mysqld_multi.log, if does not exists
      or is not writable, then /tmp/mysqld_multi.log, but only in case the file does not yet
      exists in /tmp. Otherwise log will be disabled, unless user explicitely sets it with an
      option.
      
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      ae3d2266
    • unknown's avatar
      Fixed BUG#2780: Stored procedure exit handler ignored for warnings. · 8468cde4
      unknown authored
      Actually catch pushed warnings.
      
      
      mysql-test/r/sp.result:
        New test case for BUG#2780.
      mysql-test/t/sp.test:
        New test case for BUG#2780.
      sql/sql_error.cc:
        Actually attempt to catch pushed warnings when running SPs.
      8468cde4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 79926634
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_table.cc:
        Auto merged
      79926634
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · f4638489
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      f4638489
    • unknown's avatar
      fixed the tests mysql-test/t/synchronization.test · 315f5d27
      unknown authored
      for Bug #2385 CREATE TABLE LIKE lacks locking on source and destination table
      
      
      BitKeeper/deleted/.del-synchronization-master.opt~265be23ead00949:
        Delete: mysql-test/t/synchronization-master.opt
      BitKeeper/deleted/.del-have_debug.require~d981522532c711b2:
        Delete: mysql-test/r/have_debug.require
      BitKeeper/deleted/.del-have_debug.inc~f4dc5160b9912226:
        Delete: mysql-test/include/have_debug.inc
      mysql-test/r/synchronization.result:
        fixed the test for 
        Bug #2385 CREATE TABLE LIKE lacks locking on source and destination table
      mysql-test/t/synchronization.test:
        fixed the test for 
        Bug #2385 CREATE TABLE LIKE lacks locking on source and destination table
      sql/sql_table.cc:
        deleted test sleep from mysql_create_like_table
      315f5d27
    • unknown's avatar
      Fixed BUG#2776: Stored procedure crash if variable assigned to default. · c22ccc13
      unknown authored
      Keep track on the default value and use it. (Or NULL, if not declared.)
      
      
      mysql-test/r/sp.result:
        New testcases for BUG#2776.
      mysql-test/t/sp.test:
        New testcases for BUG#2776.
      sql/sp_pcontext.cc:
        Initialize local variable default value.
      sql/sp_pcontext.h:
        New method for saving default value.
      sql/sql_yacc.yy:
        If DEFAULT is use as a value in SET variable = ... in an SP, actually use the default.
      c22ccc13
    • unknown's avatar
      Fixed BUG#2772: Function with character set clause fails in stored procedures. · 91dcd011
      unknown authored
      Complex return types were not stored correctly in the mysql.proc table.
      
      
      mysql-test/r/sp.result:
        New testcase for BUG2772.
      mysql-test/t/sp.test:
        New testcase for BUG2772.
      sql/sp_head.cc:
        Pick up character set for "returns" types in functions and add it separately,
        since it's missed when extracting the type during the parser. (Due to LALR
        behaviour.)
      sql/sp_head.h:
        Save the character set for returns clause in functions.
      sql/sql_yacc.yy:
        Pick up character set for "returns" types in functions since it's missed otherwise.
        (Due to LALR behaviour.)
      91dcd011
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · ca37588f
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      ca37588f
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 34e60984
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/sql_prepare.cc:
        Auto merged
      34e60984
    • unknown's avatar
      don't modify constant strings · e78208e5
      unknown authored
      
      sql/sql_prepare.cc:
        use static variable
      e78208e5
    • unknown's avatar
      Previous patch was wrong :( · e7a85e36
      unknown authored
      Here is 2nd version.
      'reduce/reduce conflicts' issue is fixed
      
      
      sql/sql_yacc.yy:
        'reduce/reduce conflicts' issue is fixed
      e7a85e36
    • unknown's avatar
      Fixed warnings from valgrind (not a bug) · 6a868cca
      unknown authored
      Don't add -debug to server version if MYSQL_SERVER_PREFIX is used
      Indentation cleanups
      
      
      myisam/mi_write.c:
        Indentation cleanup
      mysql-test/r/lowercase_table2.result:
        Fixed test results
      sql/filesort.cc:
        Fixed warnings from valgrind (not a bug)
      sql/ha_myisam.cc:
        Indentation cleanup
      sql/mysqld.cc:
        Don't add -debug to server if MYSQL_SERVER_PREFIX is used
      sql/sql_base.cc:
        Indentation cleanup
      sql/sql_show.cc:
        Fixed typo in comment
      sql/sql_table.cc:
        Indentation cleanup
      6a868cca
  10. 05 Apr, 2004 7 commits