1. 10 Jul, 2004 2 commits
  2. 07 Jul, 2004 3 commits
    • unknown's avatar
      syntax fix · 81b855e0
      unknown authored
      81b855e0
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-5.0 · 2d6646e2
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/WL_1941/mysql-5.0
      
      2d6646e2
    • unknown's avatar
      patch for task WL 1941 "NO_C_ESCAPE sql_mode" · 2091ad4e
      unknown authored
      
      mysql-test/r/sql_mode.result:
        added test for WL 1941 "NO_C_ESCAPE sql_mode"
      mysql-test/t/sql_mode.test:
        added test for WL 1941 "NO_C_ESCAPE sql_mode"
      sql/mysql_priv.h:
        added MODE_NO_BACKSLASH_ESCAPES
      sql/mysqld.cc:
        added mode NO_BACKSLASH_ESCAPES
      sql/sql_lex.cc:
        added test for MODE_NO_BACKSLASH_ESCAPES when testing escaped character
      sql/sql_yacc.yy:
        added using of "" as escape by default
         in LIKE function if MODE_NO_BACKSLASH_ESCAPES
      2091ad4e
  3. 06 Jul, 2004 1 commit
  4. 02 Jul, 2004 1 commit
    • unknown's avatar
      right join print fixed · 1cabfe95
      unknown authored
      
      mysql-test/r/join_nested.result:
        right join test
      mysql-test/t/join_nested.test:
        right join test
      1cabfe95
  5. 01 Jul, 2004 2 commits
    • unknown's avatar
      fixed join_nested test independence of environment · 49f6dba5
      unknown authored
      spaces at line end in fresh definitions removed
      fixed printing of nested joins (BUG#4352)
      
      
      mysql-test/r/join_nested.result:
        fixed join_nested test independence of environment
        print of nested join test added
      mysql-test/t/join_nested.test:
        fixed join_nested test independence of environment
        print of nested join test added
      sql/sql_lex.h:
        space at line end in fresh definition removed
      sql/sql_select.cc:
        fixed printing of nested joins
      sql/table.h:
        spaces at line end in fresh definitions removed
        method for table printing
      49f6dba5
    • unknown's avatar
      Remove compiler warning · 1599f0a8
      unknown authored
      1599f0a8
  6. 30 Jun, 2004 3 commits
    • unknown's avatar
      fixed WHERE condition optimisation in PS · f6e50821
      unknown authored
      
      sql/sql_prepare.cc:
        reset current_select before query rexecution
        assirn prepared statement arena in time of execution
      f6e50821
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · d40c2285
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-1
      
      d40c2285
    • unknown's avatar
      subselect2.result, select.result: · 58a8cfc8
      unknown authored
        Post-merge fixes for nested joins.
        The join_tab_cmp function in sql_select has been changed.
      join_nested.result:
        Post-merge fixes for nested joins. 
        The join_tab_cmp function in sql_select has been changed
      sql_select.cc:
        Post-merge fixes for nested joins.
        Avoided re-execution of eliminate_not_funcs and simplify_joins
        in optimize_cond.
        Changed the join_tab_cmp function to take into account
        the dependent relation.
      sql_lex.cc, sql_lex.h:
        Added the first_cond_optimization flag to st_select_lex to avoid
        re-execution of some optimizations in optimize_cond.
      sql_base.cc:
        Post-merge fixes for nested joins. 
        Fixed problems with a proper column list substituted for '*' in
        queries with natural joins.
      
      
      sql/sql_base.cc:
        Post-merge fixes for nested joins. 
        Fixed problems with a proper column list substituted for '*' in
        queries with natural joins.
      sql/sql_lex.h:
        Added the first_cond_optimization flag to st_select_lex to avoid
        re-execution of some optimizations in optimize_cond.
      sql/sql_lex.cc:
        Added the first_cond_optimization flag to st_select_lex to avoid
        re-execution of some optimizations in optimize_cond.
      sql/sql_select.cc:
        Post-merge fixes for nested joins.
        Avoided re-execution of eliminate_not_funcs and simplify_joins
        in optimize_cond.
        Changed the join_tab_cmp function to take into account
        the dependent relation.
      mysql-test/r/join_nested.result:
        Post-merge fixes for nested joins. 
        The join_tab_cmp function in sql_select has been changed
      mysql-test/r/select.result:
        Post-merge fixes for nested joins.
        The join_tab_cmp function in sql_select has been changed.
      mysql-test/r/subselect2.result:
        Post-merge fixes for nested joins.
        The join_tab_cmp function in sql_select has been changed.
      58a8cfc8
  7. 28 Jun, 2004 1 commit
  8. 25 Jun, 2004 4 commits
    • unknown's avatar
      af · 3e0f61a3
      unknown authored
      
      sql/sql_select.cc:
        After merge fix
      sql/sql_yacc.yy:
        After merge fix
      3e0f61a3
    • unknown's avatar
      After merge fix · f4b28306
      unknown authored
      f4b28306
    • unknown's avatar
      After merge fix · 7a724261
      unknown authored
      
      mysql-test/r/join_outer.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      7a724261
    • unknown's avatar
      sql_select.cc, sql_parse.cc: · cddb8472
      unknown authored
        Nested joins: review modifications.
      
      
      sql/sql_parse.cc:
        Nested joins: review modifications.
      sql/sql_select.cc:
        Nested joins: review modifications.
      cddb8472
  9. 22 Jun, 2004 1 commit
    • unknown's avatar
      Range optimizer fix: · cfecdcd3
      unknown authored
      If cost(full_scan_on_shortest_covering_index) < cost(best_range_scan) <  cost(full_table_scan)
        use full_scan_on_shortest_covering_index
      (before this fix best_range_scan was used)
      
      cfecdcd3
  10. 16 Jun, 2004 5 commits
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · c4cd310f
      unknown authored
      into kite-hub.kitebird.com:/src/extern/MySQL/bk/mysql-5.0
      
      
      sql/share/czech/errmsg.txt:
        Auto merged
      sql/share/danish/errmsg.txt:
        Auto merged
      sql/share/dutch/errmsg.txt:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/estonian/errmsg.txt:
        Auto merged
      sql/share/french/errmsg.txt:
        Auto merged
      sql/share/german/errmsg.txt:
        Auto merged
      sql/share/greek/errmsg.txt:
        Auto merged
      sql/share/hungarian/errmsg.txt:
        Auto merged
      sql/share/italian/errmsg.txt:
        Auto merged
      sql/share/japanese/errmsg.txt:
        Auto merged
      sql/share/korean/errmsg.txt:
        Auto merged
      sql/share/norwegian-ny/errmsg.txt:
        Auto merged
      sql/share/norwegian/errmsg.txt:
        Auto merged
      sql/share/polish/errmsg.txt:
        Auto merged
      sql/share/portuguese/errmsg.txt:
        Auto merged
      sql/share/romanian/errmsg.txt:
        Auto merged
      sql/share/russian/errmsg.txt:
        Auto merged
      sql/share/serbian/errmsg.txt:
        Auto merged
      sql/share/slovak/errmsg.txt:
        Auto merged
      sql/share/spanish/errmsg.txt:
        Auto merged
      sql/share/swedish/errmsg.txt:
        Auto merged
      sql/share/ukrainian/errmsg.txt:
        Auto merged
      c4cd310f
    • unknown's avatar
      Error message edits. · c2b2402f
      unknown authored
      c2b2402f
    • unknown's avatar
    • unknown's avatar
      variables.result, sp-error.result: · 38543dc7
      unknown authored
        fix up test result.
      
      
      mysql-test/r/sp-error.result:
        fix up test result.
      mysql-test/r/variables.result:
        fix up test result.
      38543dc7
    • unknown's avatar
      Language/consistency edits to error messages. · 9ea3dfb1
      unknown authored
      9ea3dfb1
  11. 15 Jun, 2004 2 commits
    • unknown's avatar
      Fixed BUG#3339: Stored procedures in nonexistent schemas are uncallable. · b248d303
      unknown authored
      Also added some related security tests and corrected related error messages.
      
      
      mysql-test/r/sp-error.result:
        New test case for BUG#3339, and updated results for other modified error messages.
      mysql-test/r/sp-security.result:
        Added tests for creating procedures in another database with and wihout
        access rights.
      mysql-test/t/sp-error.test:
        New test case for BUG#3339.
      mysql-test/t/sp-security.test:
        Added tests for creating procedures in another database with and wihout
        access rights.
      sql/sp.cc:
        Check existance (and access rights) for database when creating a stored routine.
      sql/sp.h:
        New error return value for sp_create_* functions, for non existing database.
      sql/sql_parse.cc:
        Check error return for create stored routine (non existing database),
        and corrected the error output for some other commands. (Use qualified
        name, not just name.)
      b248d303
    • unknown's avatar
      Fixed BUG#3368: Stored procedure crash if group_concat(variable). · 254704e4
      unknown authored
      
      mysql-test/r/sp.result:
        New test case for BUG#3368.
      mysql-test/t/sp.test:
        New test case for BUG#3368.
      sql/item.h:
        Corrected const_item() for item_splocal. (Confusing semantics here, but this
        makes group_concat() behave as expected, instead of crashing, and does not
        appear to affect anything else.)
      254704e4
  12. 14 Jun, 2004 4 commits
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 12d52e74
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0-merge
      
      12d52e74
    • unknown's avatar
      Fixed BUG#3843: ANALYZE TABLE inside stored procedure causes 'Packets out of order' error. · 7ce249b9
      unknown authored
      
      mysql-test/r/sp.result:
        New test case for BUG#3843.
      mysql-test/t/sp.test:
        New test case for BUG#3843.
      sql/sql_yacc.yy:
        Added another multi results special case for stored procedures (analyze).
      7ce249b9
    • unknown's avatar
      Post-merge fixes · 3dd0ea31
      unknown authored
      3dd0ea31
    • unknown's avatar
      Manual merge · d554ef09
      unknown authored
      
      include/my_base.h:
        Auto merged
      include/my_bitmap.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      mysys/my_bitmap.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/opt_range.cc:
        Auto merged
      sql/opt_range.h:
        Auto merged
      sql/sql_select.h:
        Auto merged
      d554ef09
  13. 11 Jun, 2004 2 commits
    • unknown's avatar
      sql_yacc.yy: · 7cca0f18
      unknown authored
        Correction for nested joins.
      
      
      sql/sql_yacc.yy:
        Correction for nested joins.
      7cca0f18
    • unknown's avatar
      join_nested.test, join_nested.result: · 2c71b559
      unknown authored
        new file
      Many files:
        Nested joins added.
      
      
      sql/item_cmpfunc.h:
        Nested joins added.
      sql/item_func.h:
        Nested joins added.
      sql/sql_base.cc:
        Nested joins added.
      sql/sql_lex.cc:
        Nested joins added.
      sql/sql_lex.h:
        Nested joins added.
      sql/sql_parse.cc:
        Nested joins added.
      sql/sql_select.cc:
        Nested joins added.
      sql/sql_select.h:
        Nested joins added.
      sql/sql_yacc.yy:
        Nested joins added.
      sql/table.h:
        Nested joins added.
      mysql-test/r/join_outer.result:
        Nested joins added.
      mysql-test/r/select.result:
        Nested joins added.
      2c71b559
  14. 10 Jun, 2004 1 commit
  15. 09 Jun, 2004 4 commits
    • unknown's avatar
      afb15e96
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 46639c9f
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0-merge
      
      
      sql/sp.cc:
        Auto merged
      46639c9f
    • unknown's avatar
      Fixed BUG#2564: SHOW CREATE inconsistent W.R.T ANSI_QUOTES. · 2e756213
      unknown authored
      It's not possible to quote the definition according to the current sql_mode
      setting, so instead we use the setting stored with the SP (that's how it's
      parsed anyway), and show this setting in the SHOW CREATE output.
      
      
      mysql-test/r/sp.result:
        Modifed SHOW CREATE FUNCTION|PROCEDURE output. Show the sql_mode used at
        creation as well.
        New test case for BUG#2564: SHOW CREATE inconsistent W.R.T ANSI_QUOTES.
      mysql-test/t/sp.test:
        New test case for BUG#2564: SHOW CREATE inconsistent W.R.T ANSI_QUOTES.
      sql/sp.cc:
        Rewrote create_string to quote things correctly according to the sql_mode
        used at creation time.
      sql/sp_head.cc:
        Store sql_mode in sp_head and use it for SHOW CREATE.
      sql/sp_head.h:
        Store sql_mode in sp_head and use it for SHOW CREATE.
      2e756213
    • unknown's avatar
      Merge · 27f39571
      unknown authored
      
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      27f39571
  16. 08 Jun, 2004 2 commits
    • unknown's avatar
      Fixed proper restoring of current db on errors. · 65fb2f30
      unknown authored
      This fixes part of BUG#3229: Stored procedure comment causes packets out of order.
      
      
      sql/sp.cc:
        Fixed proper restoring of current db on errors.
      sql/sp.h:
        Fixed proper restoring of current db on errors.
      sql/sp_head.cc:
        Fixed proper restoring of current db on errors.
      65fb2f30
    • unknown's avatar
      Merge mysql.com:/home/wax/mysql/mysql-5.0 · 564a5b58
      unknown authored
      into mysql.com:/home/wax/mysql/mysql-5.0service
      
      
      sql/mysqld.cc:
        Auto merged
      564a5b58
  17. 07 Jun, 2004 2 commits
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 6c084ecb
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0-merge
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      6c084ecb
    • unknown's avatar
      Post-merge fixes. · e9a937a9
      unknown authored
      
      mysql-test/r/index_merge.result:
        Post-merge update of results. (Ok according to Sanja)
      sql/opt_range.cc:
        Post-merge fix provided by Sergey Petrunia.
      sql/sql_select.cc:
        Post-merge fix provided by Sergey Petrunia.
      e9a937a9