1. 27 Oct, 2005 18 commits
    • unknown's avatar
      fixe of typos, comments & layout · c1852b12
      unknown authored
      
      sql/item_func.cc:
        fixed typo
      sql/sql_acl.cc:
        comment fixed
      sql/sql_parse.cc:
        comment fixed
      sql/sql_view.cc:
        layout fixed
      sql/table.cc:
        typo fixed
        layout fixed
      sql/table.h:
        typo fixed
      c1852b12
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 4a816ce1
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-owner7-5.0
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      4a816ce1
    • unknown's avatar
      support of view underlying tables and SP functions security check added (BUG#9505) (WL#2787) · 24ac4019
      unknown authored
      
      mysql-test/r/information_schema.result:
        error message changed
      mysql-test/r/sp.result:
        error message changed
      mysql-test/r/sql_mode.result:
        fixed test suite
      mysql-test/r/view.result:
        error message changed
      mysql-test/r/view_grant.result:
        test of underlying view tables check
      mysql-test/t/sql_mode.test:
        fixed test suite
      mysql-test/t/view_grant.test:
        test of underlying view tables check
      sql/item.cc:
        check of underlying tables privilege added
      sql/item.h:
        Name the resolution context points to the security  context of view (if item belong to the view)
      sql/item_func.cc:
        a view error hiding for execution of prepared function belonged to a view
        fixed checking privileges if stored functions belonds to some view
      sql/mysql_priv.h:
        refult of derived table processing functions changed to bool
        Security_context added as an argument to find_field_in_table()
      sql/share/errmsg.txt:
        error message fixed
      sql/sql_acl.cc:
        Storing requested privileges of tables added
        View underlying tables privilege check added
      sql/sql_base.cc:
        View underlying tables privilege check added
      sql/sql_cache.cc:
        Code cleunup: we should not register underlying tables of view second time
      sql/sql_delete.cc:
        ancestor -> merge_underlying_list renaming
      sql/sql_derived.cc:
        refult of derived table processing functions changed to bool
        do not give SELECT_ACL for TEMPTABLE views
      sql/sql_lex.h:
        The comment added
      sql/sql_parse.cc:
        registration of requested privileges added
      sql/sql_prepare.cc:
        registration of requested privileges added
      sql/sql_update.cc:
        manipulation of requested privileges for underlying tables made the same as for table which we are updating
      sql/sql_view.cc:
        underlying tables of view security check support added
      sql/table.cc:
        renaming and fixing view preparation methods, methods for checking underlyoing tables security context added
      sql/table.h:
        storege for reuested privileges added
      24ac4019
    • unknown's avatar
      Add DROP TABLE before trying to create view (in mysqldump) · fd0ed478
      unknown authored
      Cleaned up xxxx_gis.test's and made gis_generic.inc independent of ndb
      (Note that archive_gis.test fails, but this is independent of this patch)
      
      
      client/mysqldump.c:
        Add DROP TABLE to be able to re-run mysqldump if it fails after 'table-named-as-view' is created
      mysql-test/include/gis_generic.inc:
        Remove dependency of ndb
      mysql-test/include/have_archive.inc:
        Fix syntax
      mysql-test/include/have_geometry.inc:
        Fix syntax
      mysql-test/r/mysqldump.result:
        New test results after adding 'drop table'
      mysql-test/t/archive_gis.test:
        gis_generic tests for have_geometry.inc
      mysql-test/t/bdb_gis.test:
        gis_generic tests for have_geometry.inc
      mysql-test/t/innodb_gis.test:
        gis_generic tests for have_geometry.inc
      mysql-test/t/ndb_gis.test:
        gis_generic tests for have_geometry.inc
      sql/item_func.cc:
        Simplify code (as signal_divide_by_null sets 'null_value')
      fd0ed478
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 84d072dc
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      
      84d072dc
    • unknown's avatar
      Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6196a746
      unknown authored
      into  selena.:H:/MYSQL/src/#13377-mysql-5.0a
      
      
      6196a746
    • unknown's avatar
      Fix for the patch #13377. Avoids race condition for relay logs close. · 84e2ab8c
      unknown authored
      Code that closes current relay log is moved to purge_relay_logs().
      
      
      84e2ab8c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 854ad0ab
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      
      854ad0ab
    • unknown's avatar
      Fixes during review of pushed code · 2f2d0b60
      unknown authored
      Added back missing return in mysql_delete()
      
      
      mysql-test/my_manage.c:
        Cleanup: Remove some #ifdef
      mysql-test/r/drop_temp_table.result:
        Delete database that may be left from other test
      mysql-test/t/drop_temp_table.test:
        Delete database that may be left from other test
      sql/log.cc:
        false -> FALSE
        true -> TRUE
        Wait until readers_count is 0 (not just for a signal)
        
        NOTE: it's very likely that the way to handle readers_count is wrong.
        (We are in pthread_cond_wait freeing a mutex that is not the innermost mutex,
        which can lead to deadlocks)
        
        I will talk with Guilhem about this ASAP
      sql/log_event.h:
        Remove number from last even to help future merges
        (all compilers I know of can handle this properly)
      sql/sql_delete.cc:
        Add back missing RETURN (was lost in a merge)
        Indentation fixes
      2f2d0b60
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · f0cf596a
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
      
      
      f0cf596a
    • unknown's avatar
      Fix for Bug #14388 "IM eats 99% CPU" · 4faf466b
      unknown authored
      
      server-tools/instance-manager/listener.cc:
        reinitialize timer used in select(), as on linux it is modified
        to reflect amout of time not slept (e.g. set ot zero)
      4faf466b
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · c58a2bf7
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b14290
      
      
      c58a2bf7
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9b069aa3
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my50
      
      
      9b069aa3
    • unknown's avatar
      ndb - base64 compile fix in ndbapi test · 63dcf8b3
      unknown authored
      
      ndb/test/src/HugoCalculator.cpp:
        does not use Base64.hpp which was renamed to base64.h
      63dcf8b3
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 9ed55a33
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-bug12166
      
      
      9ed55a33
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · ae47b50c
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b14290
      
      
      ae47b50c
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · bc7f923a
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
      
      
      bc7f923a
    • unknown's avatar
      Added a comment re Bug#14164 · 2489b1a0
      unknown authored
      
      server-tools/instance-manager/manager.cc:
        Additional comment for the bugfix
      2489b1a0
  2. 26 Oct, 2005 10 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 294b4370
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      294b4370
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 93f79024
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      mysql-test/std_data/loaddata_dq.dat:
        Merge rename: mysql-test/std_data/loaddata5.dat -> mysql-test/std_data/loaddata_dq.dat
      sql/item.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      mysql-test/r/loaddata.result:
        Resolve conflicts, deal with renamed dat file
      mysql-test/t/loaddata.test:
        Resolve conflicts, deal with renamed dat file
      93f79024
    • unknown's avatar
      Change in gis test to allow NDB to be able to call generic tests. Fix for... · a39cb4fa
      unknown authored
      Change in gis test to allow NDB to be able to call generic tests. Fix for Archive so that ALTER TABLE doesn't issue a warning. Also added test case for alter table.
      
      
      mysql-test/include/gis_generic.inc:
        Change in test for NDB (needs order by)
      mysql-test/r/archive.result:
        Change for gis_generic
      mysql-test/r/archive_gis.result:
        Change in test gis_generic
      mysql-test/r/bdb_gis.result:
        Change in gis test means new results
      mysql-test/r/innodb_gis.result:
        Change in gis test means change in results.
      mysql-test/r/ndb_gis.result:
        Change in gis means result change
      mysql-test/t/archive.test:
        Added alter table test to fix bug in alter table
      mysql-test/t/archive_gis.test:
        Change in syntax
      mysql-test/t/ndb_gis.test:
        Change to test both with and not with pushdown conditions
      sql/ha_archive.cc:
        Removed ARN temp file from exts[] to solve warning messages in alter table.
      a39cb4fa
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4aaa655c
      unknown authored
      into  zim.(none):/home/brian/mysql/mysql-5.0
      
      
      4aaa655c
    • unknown's avatar
      Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-5.0 · 49a49207
      unknown authored
      into  selena.:H:/MYSQL/src/#14137-mysql-5.0
      
      
      sql/mysqld.cc:
        Auto merged
      49a49207
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0 · 41985b5c
      unknown authored
      into  big_geek.:C:/Work/mysql/mysql-5.0
      
      
      41985b5c
    • unknown's avatar
      Formatting change for #14137 patch. · bc2961dc
      unknown authored
      bc2961dc
    • unknown's avatar
      1.2048 05/10/20 10:31:16 ingo@mysql.com +1 -0 · 88a58fba
      unknown authored
      Bug#12166 - Unable to index very large tables
      Moved clearing of errors behind the second repair attempt,
      but will clear only if no error happened.
      
      No test case. The error can be repeated with little free
      space on tmpdir only. I do not know of a way to create this
      in a portable way with our test suite.
      
      I did however attach a shell script to the bug report which
      can easily be adapted to the situation on the test machine.
      
      
      myisam/mi_check.c:
        Bug#12166 - Unable to index very large tables
        Changed comments.
        Removed unnecessary use of param->keys_in_use.
      sql/ha_myisam.cc:
        Bug#12166 - Unable to index very large tables
        Moved clearing of errors behind the second repair attempt,
        but will clear only if no error happened.
      88a58fba
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 83b54bb7
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      83b54bb7
    • unknown's avatar
      changed define from EXTERN_C to EXTERNC so it doesn't conflict with · c9f5c069
      unknown authored
      another macro defined in the Windows header files.
      
      
      c9f5c069
  3. 25 Oct, 2005 12 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · e4408aec
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      e4408aec
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-13534 · bb2f4b81
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      bb2f4b81
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · ab71da45
      unknown authored
      into  zim.(none):/home/brian/mysql/mysql-5.0
      
      
      ab71da45
    • unknown's avatar
      Merge spachev@bk-internal.mysql.com:/home/bk/mysql-5.0 · f4e4f846
      unknown authored
      into  asksasha.com:/reiser-data/mysql-dev/mysql-5.0-bug12974
      
      
      f4e4f846
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 48d5c28f
      unknown authored
      into mysql.com:/data0/mysqldev/patg/mysql-5.0-viewfix
      
      
      48d5c28f
    • unknown's avatar
      This cset fixes BUG# 12838, 14061, 12129 · cecdc15a
      unknown authored
      mysqldump.result:
        BUG# 12838
            New test results for mysqldump -x on a DB with views
      mysqldump.test:
        sqldump.test:
            BUG# 12838
            New test to run mysqldump -x on a DB with views
      mysqldump.c:
        BUG# 12838
            Removed/Changed code which created tables to be put into the dump
            (For loading views of views) by creating temp tables and then using
            the CREATE TABLE information in those temp tables. The problem with this
            is that when mysqldump -x is called, it locks all tables, so the
            temp tables could not be created, causing the mysqldump to exit with
            failure. The code was changed to use SHOW FIELDS to get the column
            names and type to build CREATE TABLE text used to create these tables
            that views need in the dump.
      
      
      client/mysqldump.c:
        BUG# 12838
            Removed/Changed code which created tables to be put into the dump
            (For loading views of views) by creating temp tables and then using
            the CREATE TABLE information in those temp tables. The problem with this
            is that when mysqldump -x is called, it locks all tables, so the
            temp tables could not be created, causing the mysqldump to exit with
            failure. The code was changed to use SHOW FIELDS to get the column
            names and type to build CREATE TABLE text used to create these tables
            that views need in the dump.
      mysql-test/t/mysqldump.test:
        sqldump.test:
            BUG# 12838
            New test to run mysqldump -x on a DB with views
      mysql-test/r/mysqldump.result:
        BUG# 12838
            New test results for mysqldump -x on a DB with views
      cecdc15a
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 015f5bd5
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.12267
      
      
      sql/sql_yacc.yy:
        Auto merged
      015f5bd5
    • unknown's avatar
      Merge deer.(none):/home/hf/work/mysql-5.0.13820 · e579fe3e
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.12267
      
      
      sql/item_func.cc:
        Auto merged
      e579fe3e
    • unknown's avatar
      Merge deer.(none):/home/hf/work/mysql-5.0.13667 · 57982bcc
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.12267
      
      
      sql/sql_parse.cc:
        Auto merged
      57982bcc
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 821107cf
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.12267
      
      
      821107cf
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 54d1558c
      unknown authored
      into  zim.(none):/home/acurtis/mysql-5.0-noraid.2
      
      
      sql/sql_yacc.yy:
        Auto merged
      54d1558c
    • unknown's avatar
      Deprecate RAID create options · e1e02e68
      unknown authored
      e1e02e68