1. 27 Oct, 2005 18 commits
    • unknown's avatar
      fixe of typos, comments & layout · 03cafab5
      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
      03cafab5
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 9ffea155
      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
      9ffea155
    • unknown's avatar
      support of view underlying tables and SP functions security check added (BUG#9505) (WL#2787) · 9c6c527c
      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
      9c6c527c
    • unknown's avatar
      Add DROP TABLE before trying to create view (in mysqldump) · 22501603
      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')
      22501603
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 24fccc5a
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      24fccc5a
    • unknown's avatar
      Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-5.0 · d2d611f7
      unknown authored
      into  selena.:H:/MYSQL/src/#13377-mysql-5.0a
      
      d2d611f7
    • unknown's avatar
      Fix for the patch #13377. Avoids race condition for relay logs close. · 2240f0d1
      unknown authored
      Code that closes current relay log is moved to purge_relay_logs().
      
      2240f0d1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · e66934f6
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      e66934f6
    • unknown's avatar
      Fixes during review of pushed code · 0f33a2ed
      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
      0f33a2ed
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · fafd2749
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
      
      fafd2749
    • unknown's avatar
      Fix for Bug #14388 "IM eats 99% CPU" · 511f8be4
      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)
      511f8be4
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 35e3d043
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b14290
      
      35e3d043
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0 · ad5dcc4f
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my50
      
      ad5dcc4f
    • unknown's avatar
      ndb - base64 compile fix in ndbapi test · 292ca7a3
      unknown authored
      
      ndb/test/src/HugoCalculator.cpp:
        does not use Base64.hpp which was renamed to base64.h
      292ca7a3
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 9457e47c
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-bug12166
      
      9457e47c
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · a003859c
      unknown authored
      into  mysql.com:/usr/home/ram/work/5.0.b14290
      
      a003859c
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 77e305db
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
      
      77e305db
    • unknown's avatar
      Added a comment re Bug#14164 · c539ebad
      unknown authored
      
      server-tools/instance-manager/manager.cc:
        Additional comment for the bugfix
      c539ebad
  2. 26 Oct, 2005 10 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 30c7eeaf
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      30c7eeaf
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 47a60b53
      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
      47a60b53
    • unknown's avatar
      Change in gis test to allow NDB to be able to call generic tests. Fix for... · b50ac628
      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.
      b50ac628
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · 983efb69
      unknown authored
      into  zim.(none):/home/brian/mysql/mysql-5.0
      
      983efb69
    • unknown's avatar
      Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3cee9661
      unknown authored
      into  selena.:H:/MYSQL/src/#14137-mysql-5.0
      
      
      sql/mysqld.cc:
        Auto merged
      3cee9661
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0 · cee0c4f3
      unknown authored
      into  big_geek.:C:/Work/mysql/mysql-5.0
      
      cee0c4f3
    • unknown's avatar
      Formatting change for #14137 patch. · 3c6a192d
      unknown authored
      3c6a192d
    • unknown's avatar
      1.2048 05/10/20 10:31:16 ingo@mysql.com +1 -0 · 43f90417
      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.
      43f90417
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · f3aea466
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      f3aea466
    • unknown's avatar
      changed define from EXTERN_C to EXTERNC so it doesn't conflict with · 80ead95a
      unknown authored
      another macro defined in the Windows header files.
      
      80ead95a
  3. 25 Oct, 2005 12 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 98beefae
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      98beefae
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-13534 · 4363949c
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      4363949c
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · 70bae357
      unknown authored
      into  zim.(none):/home/brian/mysql/mysql-5.0
      
      70bae357
    • unknown's avatar
      Merge spachev@bk-internal.mysql.com:/home/bk/mysql-5.0 · 33bea5b2
      unknown authored
      into  asksasha.com:/reiser-data/mysql-dev/mysql-5.0-bug12974
      
      33bea5b2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 7e39dcdb
      unknown authored
      into mysql.com:/data0/mysqldev/patg/mysql-5.0-viewfix
      
      7e39dcdb
    • unknown's avatar
      This cset fixes BUG# 12838, 14061, 12129 · 94562078
      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
      94562078
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 270891b3
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.12267
      
      
      sql/sql_yacc.yy:
        Auto merged
      270891b3
    • unknown's avatar
      Merge deer.(none):/home/hf/work/mysql-5.0.13820 · 6536d0cb
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.12267
      
      
      sql/item_func.cc:
        Auto merged
      6536d0cb
    • unknown's avatar
      Merge deer.(none):/home/hf/work/mysql-5.0.13667 · ace6dfa5
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.12267
      
      
      sql/sql_parse.cc:
        Auto merged
      ace6dfa5
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · adb2263b
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.12267
      
      adb2263b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 7a7e512f
      unknown authored
      into  zim.(none):/home/acurtis/mysql-5.0-noraid.2
      
      
      sql/sql_yacc.yy:
        Auto merged
      7a7e512f
    • unknown's avatar
      Deprecate RAID create options · 54afd557
      unknown authored
      54afd557