1. 23 Jul, 2004 2 commits
  2. 22 Jul, 2004 5 commits
    • unknown's avatar
      made different fields for view updatebility in principle and updatability... · dc4de8d5
      unknown authored
      made different fields for view updatebility in principle and updatability during this execution (BUG#4601)
      
      
      mysql-test/r/view.result:
        fixed ps variavles test
        test of view built over updatable view
      mysql-test/t/view.test:
        fixed ps variavles test
        test of view built over updatable view
      sql/sql_acl.cc:
        mpre optimal locking (found by Monty)
      sql/sql_view.cc:
        made different fields for view updatebility in principle and updatability during this execution
      sql/table.h:
        made different fields for view updatebility in principle and updatability during this execution
      dc4de8d5
    • unknown's avatar
      Fixed BUG#4579: Execution of SP crashes server. · 8a33c2bc
      unknown authored
      Sub-CALLs of procedures zapped thd->current_arena for good.
      
      
      mysql-test/r/sp.result:
        New test case for BUG#4579.
      mysql-test/t/sp.test:
        New test case for BUG#4579.
      sql/sp_head.cc:
        Keep and restore old thd->current_arena before/after executing an SP,
        instead of just setting it to 0 afterwards.
      8a33c2bc
    • unknown's avatar
      fixed SP variables detecting (BUG#4604) · 48ea6e3b
      unknown authored
      fixed error handling
      
      
      mysql-test/r/view.result:
        SP variables inside view test
      mysql-test/t/view.test:
        SP variables inside view test
      sql/sql_base.cc:
        fixed error messages handling
      sql/sql_yacc.yy:
        fixed SP variables detecting
      48ea6e3b
    • unknown's avatar
      privent crash on temporary table during indexes lookup (BUG#4677) · 1159996e
      unknown authored
      
      mysql-test/r/view.result:
        check 'use index' on view with temporary table
      mysql-test/t/view.test:
        check 'use index' on view with temporary table
      sql/sql_base.cc:
        privent crash on temporary table
      1159996e
    • unknown's avatar
      fix lock_multi · d3558dc3
      unknown authored
      
      sql/sql_base.cc:
        table_desc can be 0
      d3558dc3
  3. 21 Jul, 2004 14 commits
    • unknown's avatar
      after merge fixes 2 · 78b5893f
      unknown authored
      78b5893f
    • unknown's avatar
      after merge fixes · 1d29e6b0
      unknown authored
      
      sql/opt_range.h:
        compatibility fix
      sql/sql_lex.cc:
        cleanup
      1d29e6b0
    • unknown's avatar
      merged · a9856042
      unknown authored
      
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/ps_6bdb.result:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      a9856042
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 062ac038
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
      
      
      062ac038
    • unknown's avatar
      LEX initialization fixed · ff4aa03d
      unknown authored
      ff4aa03d
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 3efc721a
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      
      3efc721a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 1cd522ec
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      1cd522ec
    • unknown's avatar
      fixed ORDER BY ? · cb35648e
      unknown authored
      new tests to ensure that prepared statement *really* work
      (and that MySQL not picks up some number from arbitrary location
      that happens to match the parameter's value)
      
      
      mysql-test/include/ps_query.inc:
        new tests to ensure that prepared statement *really* work
        (and that MySQL not picks up some number from arbitrary location
        that happens to match the parameter's value)
      mysql-test/r/ps_2myisam.result:
        results updated
      mysql-test/r/ps_3innodb.result:
        results updated
      mysql-test/r/ps_4heap.result:
        results updated
      mysql-test/r/ps_5merge.result:
        results updated
      mysql-test/r/ps_6bdb.result:
        results updated
      sql/sql_select.cc:
        don't shortcut - it backfires!
        (in particular - when itemptr is Item_param :)
      cb35648e
    • unknown's avatar
      Final patch for WL#1600(warn if max_allowed_packet used) · 8df1bf6b
      unknown authored
      
      mysql-test/r/func_str.result:
        test fixed
      mysql-test/r/packet.result:
        test fixed
      sql/item_geofunc.cc:
        error message fixed
      sql/item_strfunc.cc:
        error message fixed
      sql/share/czech/errmsg.txt:
        error message fixed
      sql/share/danish/errmsg.txt:
        error message fixed
      sql/share/dutch/errmsg.txt:
        error message fixed
      sql/share/english/errmsg.txt:
        error message fixed
      sql/share/estonian/errmsg.txt:
        error message fixed
      sql/share/french/errmsg.txt:
        error message fixed
      sql/share/german/errmsg.txt:
        error message fixed
      sql/share/greek/errmsg.txt:
        error message fixed
      sql/share/hungarian/errmsg.txt:
        error message fixed
      sql/share/italian/errmsg.txt:
        error message fixed
      sql/share/japanese/errmsg.txt:
        error message fixed
      sql/share/korean/errmsg.txt:
        error message fixed
      sql/share/norwegian-ny/errmsg.txt:
        error message fixed
      sql/share/norwegian/errmsg.txt:
        error message fixed
      sql/share/polish/errmsg.txt:
        error message fixed
      sql/share/portuguese/errmsg.txt:
        error message fixed
      sql/share/romanian/errmsg.txt:
        error message fixed
      sql/share/russian/errmsg.txt:
        error message fixed
      sql/share/serbian/errmsg.txt:
        error message fixed
      sql/share/slovak/errmsg.txt:
        error message fixed
      sql/share/spanish/errmsg.txt:
        error message fixed
      sql/share/swedish/errmsg.txt:
        error message fixed
      sql/share/ukrainian/errmsg.txt:
        error message fixed
      8df1bf6b
    • unknown's avatar
      Merging · c5fc0d43
      unknown authored
      
      mysql-test/r/func_str.result:
        Auto merged
      sql/item_geofunc.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      c5fc0d43
    • unknown's avatar
      Fixed BUG#2653: Undeclared variables not detected in stored procedures. · 28287c0d
      unknown authored
      We now get an run-time error instead of a crash (although a slightly misleading
      error message, but it's an improvement).
      
      
      mysql-test/r/sp-error.result:
        New test case for BUG#2653.
      mysql-test/t/sp-error.test:
        New test case for BUG#2653.
      sql/sp_head.cc:
        Detect failed evals (fix item really), which are due to unresolved variables/fields.
        Typically this would be a reference to an undeclared variable.
        (Also got rid of some compiler warnings.)
      sql/sp_rcontext.cc:
        Detect failed evals (fix item really), which are due to unresolved variables/fields.
        Typically this would be a reference to an undeclared variable.
      sql/sp_rcontext.h:
        Changed return type to int, so be able to detect failed evals (fix item).
      sql/sql_class.cc:
        Changed return type to int, so be able to detect failed evals (fix item).
      28287c0d
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 4fd42a4e
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-2-5.0
      
      
      4fd42a4e
    • unknown's avatar
      test of duplicate field names (BUG#4608) · d3f575c3
      unknown authored
      
      mysql-test/r/view.result:
        test of duplicate field names
      mysql-test/t/view.test:
        test of duplicate field names
      sql/sql_view.cc:
        test of duplicate field names
      d3f575c3
    • unknown's avatar
      error message interception (Bug#4598) · b01e2f6d
      unknown authored
      error handling of view initialization fixed (Bug#4599)
      
      
      include/mysqld_error.h:
        new error message
      mysql-test/r/view.result:
        changing of underlaying table test
      mysql-test/t/view.test:
        changing of underlaying table test
      sql/share/czech/errmsg.txt:
        new error message
      sql/share/danish/errmsg.txt:
        new error message
      sql/share/dutch/errmsg.txt:
        new error message
      sql/share/english/errmsg.txt:
        new error message
      sql/share/estonian/errmsg.txt:
        new error message
      sql/share/french/errmsg.txt:
        new error message
      sql/share/german/errmsg.txt:
        new error message
      sql/share/greek/errmsg.txt:
        new error message
      sql/share/hungarian/errmsg.txt:
        new error message
      sql/share/italian/errmsg.txt:
        new error message
      sql/share/japanese/errmsg.txt:
        new error message
      sql/share/korean/errmsg.txt:
        new error message
      sql/share/norwegian-ny/errmsg.txt:
        new error message
      sql/share/norwegian/errmsg.txt:
        new error message
      sql/share/polish/errmsg.txt:
        new error message
      sql/share/portuguese/errmsg.txt:
        new error message
      sql/share/romanian/errmsg.txt:
        new error message
      sql/share/russian/errmsg.txt:
        new error message
      sql/share/serbian/errmsg.txt:
        new error message
      sql/share/slovak/errmsg.txt:
        new error message
      sql/share/spanish/errmsg.txt:
        new error message
      sql/share/swedish/errmsg.txt:
        new error message
      sql/share/ukrainian/errmsg.txt:
        new error message
      sql/sql_base.cc:
        error message interception
        error handling fixed
      sql/sql_view.cc:
        comment fixed
        error message interception
      sql/table.cc:
        error message interception
      sql/table.h:
        error message interception
      b01e2f6d
  4. 20 Jul, 2004 19 commits
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · bf95f919
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-874
      
      
      bf95f919
    • unknown's avatar
      Sanja will probably rework this tomorrow; we need to unify the normal · 5a37da8e
      unknown authored
      client code and replication slave code, as far as LOAD DATA INFILE and
      other queries' execution is concerned. Duplication of code leads to
      replication bugs, because the replication duplicate lags much behind.
      Fix for 2 Valgrind errors on slave replicating LOAD DATA INFILE
        - one serious (causing a random test failure in rpl_loaddata in 5.0)
        - one not serious (theoretically a bug but not dangerous): uninited thd->row_count
      
      
      sql/log_event.cc:
        Fix for 2 Valgrind errors:
        - one serious (causing a random test failure in rpl_loaddata in 5.0): uninited lex in replic of LOAD DATA INFILE on slave
        - one not serious (theoretically a bug but not dangerous): uninited thd->row_count in replication of LOAD DATA INFILE on slave.
        Sanja is likely to rework the fix to the 1st problem tomorrow.
      5a37da8e
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0/ · 09ea3e09
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      09ea3e09
    • unknown's avatar
      misc fixes for compile-time errors · d0c69399
      unknown authored
      
      sql/item_sum.cc:
        "unused variable" warning
      sql/item_timefunc.cc:
        "unused variable" warning
      sql/log_event.h:
        const bool is_valid() -> bool is_valid() const
      sql/opt_range.cc:
        cast log's argument to double (otherwise an error on some compilers)
      sql/opt_range.h:
        get_quick_select_for_ref should be declared in the global scope to be visible.
      d0c69399
    • unknown's avatar
      test of SHOW PRIVILEGES · d3b2b842
      unknown authored
      d3b2b842
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 9ec353da
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      
      9ec353da
    • unknown's avatar
      Updates for archive storage engine. · 325de4eb
      unknown authored
      
      sql/examples/ha_archive.cc:
        Corrections from Bar's comments. Mainly small code changes/style changes.
      325de4eb
    • unknown's avatar
      sql_show.cc: · ab60fb14
      unknown authored
        Add views privileges to SHOW PRIVILEGES output.
        (Bug #4656)
      
      
      sql/sql_show.cc:
        Add views privileges to SHOW PRIVILEGES output.
        (Bug #4656)
      ab60fb14
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · e92ca135
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      
      mysql-test/r/subselect.result:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      e92ca135
    • unknown's avatar
      Merge tsmith@build.mysql.com:/home/bk/mysql-4.1 · 3750abaa
      unknown authored
      into sand.box:/home/tim/m/41/bk
      
      
      mysql-test/r/ps_1general.result:
        Auto merged
      3750abaa
    • unknown's avatar
      Get ps_1general test to pass (replace .result with .reject - some text · f32eb834
      unknown authored
      was changed in the SHOW STORAGE ENGINES results)
      
      
      mysql-test/r/ps_1general.result:
        SHOW STORAGE ENGINES now has different text ("type" -> "engine", etc.)
      f32eb834
    • unknown's avatar
      fixed quoting of identifiers in VIEWs (BUG#4613) · b0b75bbf
      unknown authored
      
      mysql-test/r/view.result:
        fixed quoting of identifiers in VIEWs
      mysql-test/t/view.test:
        fixed quoting of identifiers in VIEWs
      sql/item.cc:
        fixed quoting of identifiers in VIEWs
      sql/sql_select.cc:
        fixed quoting of identifiers in VIEWs
      sql/sql_view.cc:
        fixed quoting of identifiers in VIEWs
      b0b75bbf
    • unknown's avatar
      results updated · 362ce6a8
      unknown authored
      362ce6a8
    • unknown's avatar
      manual merge · e2d25910
      unknown authored
      
      client/mysql.cc:
        Auto merged
      client/mysqlbinlog.cc:
        Auto merged
      include/my_global.h:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/system_mysql_db.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      e2d25910
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 26821ee3
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      26821ee3
    • unknown's avatar
      oops, forgot to checkin... · 4b3ee02e
      unknown authored
      4b3ee02e
    • unknown's avatar
      results fixed after merge · 8818cd9b
      unknown authored
      
      mysql-test/t/create_select_tmp.test:
        --disable_warnings
      mysql-test/t/rpl_drop.test:
        --disable_warnings
      8818cd9b
    • unknown's avatar
      fix case what VIEW have not tables (BUG#4614) · 9050c44c
      unknown authored
      
      mysql-test/r/view.result:
        test of VIEW without tables
      mysql-test/t/view.test:
        test of VIEW without tables
      sql/sql_view.cc:
        fix case what VIEW have not tables
      9050c44c
    • unknown's avatar
      mark subquery in the FROM clause like derived and quoate all identifiers (BUG#4609) · ec33aa2b
      unknown authored
      
      mysql-test/r/bench_count_distinct.result:
        Quoting of fields and tables names
      mysql-test/r/case.result:
        Quoting of fields and tables names
      mysql-test/r/fulltext.result:
        Quoting of fields and tables names
      mysql-test/r/func_default.result:
        Quoting of fields and tables names
      mysql-test/r/func_gconcat.result:
        Quoting of fields and tables names
      mysql-test/r/func_group.result:
        Quoting of fields and tables names
      mysql-test/r/func_if.result:
        Quoting of fields and tables names
      mysql-test/r/func_in.result:
        Quoting of fields and tables names
      mysql-test/r/func_regexp.result:
        Quoting of fields and tables names
      mysql-test/r/func_test.result:
        Quoting of fields and tables names
      mysql-test/r/gis.result:
        Quoting of fields and tables names
      mysql-test/r/group_by.result:
        Quoting of fields and tables names
      mysql-test/r/having.result:
        Quoting of fields and tables names
      mysql-test/r/insert_update.result:
        Quoting of fields and tables names
      mysql-test/r/join_nested.result:
        Quoting of fields and tables names
      mysql-test/r/olap.result:
        Quoting of fields and tables names
      mysql-test/r/query_cache.result:
        Quoting of fields and tables names
      mysql-test/r/select.result:
        Quoting of fields and tables names
      mysql-test/r/subselect.result:
        Quoting of fields and tables names
      mysql-test/r/union.result:
        Quoting of fields and tables names
      mysql-test/r/varbinary.result:
        Quoting of fields and tables names
      mysql-test/r/view.result:
        Quoting of fields and tables names
        test of view with quated fields
      mysql-test/t/view.test:
        test of view with quated fields
      sql/item.cc:
        Quoting of fields and tables names
      sql/item.h:
        Quoting of fields and tables names
      sql/sql_select.cc:
        Quoting of fields and tables names
      sql/sql_view.cc:
        mark subquery in the FROM clause like derived
      ec33aa2b