1. 25 Jul, 2006 4 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.0 · 7f1234fc
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.0-kt
      
      
      7f1234fc
    • unknown's avatar
      Bug#20543 select on information_schema strange warnings, view, different schemas/users · 9955388a
      unknown authored
      The fix is: if user has privileges to view fields and user has any
      (insert,select,delete,update) privileges on underlying view 
      then 'show fields' and select from I_S.COLUMNS table are sucsessful.
      
      
      mysql-test/r/information_schema_db.result:
        Bug#20543 select on information_schema strange warnings, view, different schemas/users
        test result
      mysql-test/t/information_schema_db.test:
        Bug#20543 select on information_schema strange warnings, view, different schemas/users
        test case
      sql/sql_acl.cc:
        Bug#20543 select on information_schema strange warnings, view, different schemas/users
        checked that user has privileges on underlying view and if it's true
        set allowed_show to true for top view.
      sql/sql_show.cc:
        Bug#20543 select on information_schema strange warnings, view, different schemas/users
        removed unnecessary rights check.'tables->allowed_show' check is used instead
      sql/sql_view.cc:
        Bug#20543 select on information_schema strange warnings, view, different schemas/users
        skip the check of SHOW_VIEW_ACL privilege on underlying view. It is done later during
        execution of find_field_in_table_ref function.
      sql/table.h:
        Bug#20543 select on information_schema strange warnings, view, different schemas/users
        'allowed_show' is set during rights check for view. If true then user has privileges 
        for 'show create view', etc
      9955388a
    • unknown's avatar
      Merge mysql.com:/home/hf/work/mysql-4.1.mrg · 39486004
      unknown authored
      into  mysql.com:/home/hf/work/mysql-5.0.mrg
      
      
      libmysqld/lib_sql.cc:
        Auto merged
      tests/mysql_client_test.c:
        merging
      39486004
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0 · 31325319
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0-kt
      
      
      31325319
  2. 24 Jul, 2006 5 commits
    • unknown's avatar
      Merge trift2.:/M41/clone-4.1 · d6d59830
      unknown authored
      into  trift2.:/M50/merge-4.1-to-5.0
      
      
      VC++Files/libmysqld/libmysqld.dsp:
        Auto merged
      VC++Files/libmysqld/libmysqld.vcproj:
        Auto merged
      VC++Files/libmysqld/libmysqld_ia64.dsp:
        Auto merged
      VC++Files/mysqldemb/mysqldemb.dsp:
        Auto merged
      VC++Files/sql/mysqld.dsp:
        Auto merged
      VC++Files/sql/mysqld.vcproj:
        Auto merged
      VC++Files/sql/mysqld_ia64.dsp:
        Auto merged
      VC++Files/sql/mysqldmax.dsp:
        Auto merged
      sql/field.cc:
        Merge a backport == Null-merge == "ul".
      sql/field.h:
        Merge a backport == Null-merge == "ul".
      sql/sql_locale.cc:
        Changes were already present (and even better) == Null-merge == "ul".
      d6d59830
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.0 · 6baeccc6
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.0-kt
      
      
      client/mysql.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      6baeccc6
    • unknown's avatar
      Merge trift2.:/M41/push-1-4.1 · 4e31c3fe
      unknown authored
      into  trift2.:/M50/merge-4.1-to-5.0
      
      
      strings/strtod.c:
        Manual merge: Null merge with header file cleanup ("my_base.h" includes "my_global.h", so we do not need both).
      4e31c3fe
    • unknown's avatar
      Merge trift2.:/M41/tmp_merge · c98ff21c
      unknown authored
      into  trift2.:/M50/merge-4.1-to-5.0
      
      
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_locale.cc:
        Auto merged
      sql/item_timefunc.cc:
        Merging by "ul", as asked in the original changeset.
      support-files/mysql.spec.sh:
        Manual merge, keeping alphabetic order.
      c98ff21c
    • unknown's avatar
      Merge trift2.:/M41/tmp_merge · af3f6282
      unknown authored
      into  trift2.:/M50/merge-4.1-to-5.0
      
      
      support-files/mysql.spec.sh:
        Auto merged
      configure.in:
        Manual - "use local".
      af3f6282
  3. 21 Jul, 2006 4 commits
  4. 20 Jul, 2006 3 commits
  5. 19 Jul, 2006 8 commits
    • unknown's avatar
      Merge salvation.intern.azundris.com:/home/tnurnberg/mysql-5.0-release · 8a08c802
      unknown authored
      into  salvation.intern.azundris.com:/home/tnurnberg/mysql-5.0
      
      
      sql/sql_insert.cc:
        Auto merged
      8a08c802
    • unknown's avatar
      manual merge, part 2/2 · 846a99dc
      unknown authored
      
      mysql-test/r/mysqldump.result:
        manual mergies, part 2/2
      846a99dc
    • unknown's avatar
      Bug #21135 Crash in test "func_time" · d7c0c667
      unknown authored
       - backport patch from 5.0
       - "table" can be NULL in temporary fields used for type conversion
      
      
      sql/field.cc:
        table can be NULL in temporary fields used for type conversion.
        Store value in field as if db_low_byte_first was set.
      sql/field.h:
        table can be NULL in temporary fields used for type conversion.
        Store value in field as if db_low_byte_first was set.
      d7c0c667
    • unknown's avatar
      Merge salvation.intern.azundris.com:/home/tnurnberg/mysql-5.0-release · 92bbb540
      unknown authored
      into  salvation.intern.azundris.com:/home/tnurnberg/work/mysql-5.0-merge
      
      
      support-files/mysql.spec.sh:
        Auto merged
      client/mysqldump.c:
        manual merge
      mysql-test/r/mysqldump.result:
        manual merge
      mysql-test/t/mysqldump.test:
        manual merge
      92bbb540
    • unknown's avatar
      Bug#20989: View '(null).(null)' references invalid table(s)... on SQL SECURITY INVOKER · c1851446
      unknown authored
      REPLACE ... SELECT would require INSERT privileges on certain tables
      when SELECT really suffices. Require INSERT only on target table.
      
      
      mysql-test/r/insert_select.result:
        Bug#20989: View '(null).(null)' references invalid table(s)... on SQL SECURITY INVOKER
        
        Show that REPLACE ... SELECT requires INSERT privileges only on target table.
        (revised test with more view-fu)
      mysql-test/t/insert_select.test:
        Bug#20989: View '(null).(null)' references invalid table(s)... on SQL SECURITY INVOKER
        
        Show that REPLACE ... SELECT requires INSERT privileges only on target table.
        (revised test with more view-fu)
      sql/sql_insert.cc:
        Bug#20989: View '(null).(null)' references invalid table(s)... on SQL SECURITY INVOKER
        
        require SELECT rather than INSERT privs on tables that constitute the views we'll read
      c1851446
    • unknown's avatar
      "BUG #18764: Delete conditions causing inconsistencies in Federated tables" · 9378fc62
      unknown authored
      Post merge changes.
      
      
      9378fc62
    • unknown's avatar
      mysql.spec.sh: · b53e47a1
      unknown authored
        Added new "mysql_explain_log" man page
        Added missing install of "myisam_ftdump" man page
        Added missing install of "mysqlman" man page
      
      
      support-files/mysql.spec.sh:
        Added new "mysql_explain_log" man page
        Added missing install of "myisam_ftdump" man page
        Added missing install of "mysqlman" man page
      b53e47a1
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 6ab68cdf
      unknown authored
      into  govinda.patg.net:/home/patg/mysql-build/mysql-5.0-bug18764.2
      
      
      mysql-test/r/federated.result:
        "BUG #18764: Delete conditions causing inconsistencies in Federated tables"
        
        hand merge
      mysql-test/t/federated.test:
        "BUG #18764: Delete conditions causing inconsistencies in Federated tables"
        
        hand merge
      sql/ha_federated.cc:
        "BUG #18764: Delete conditions causing inconsistencies in Federated tables"
        
        hand merge
      6ab68cdf
  6. 18 Jul, 2006 12 commits
  7. 17 Jul, 2006 4 commits
    • unknown's avatar
      "BUG #18764: Delete conditions causing inconsistencies in Federated tables" · 469813c7
      unknown authored
      Removed logic in ha_federated::write_row, which checks field query ids in the
      loop which builds the query to run on the remote server.
      
      
      mysql-test/r/federated.result:
        "BUG #18764: Delete conditions causing inconsistencies in Federated tables"
        
        
        New test results for test that verifies that one can insert to rows using 
        "insert into... select * from..", delete 
        them by id, then immediately insert them in the same way they were originally 
        inserted.
      mysql-test/t/federated.test:
        "BUG #18764: Delete conditions causing inconsistencies in Federated tables"
        
        
        New test that verifies that one can insert to rows using 
        "insert into... select * from..", delete 
        them by id, then immediately insert them in the same way they were originally 
        inserted.
      sql/ha_federated.cc:
        "BUG #18764: Delete conditions causing inconsistencies in Federated tables"
        
        Removed the logic in ha_federated::write_row which checked the query id of 
        each field and compared it to the thread query id.
        
        Each field has a query id, and the problem used to be that if I did an insert
        no fields specified, the field value would contain the last inserted value 
        for that field. The way to work around this was to see if the query id for 
        that field was the same as the current query id or of the rest of the field 
        query ids. If it wasn't, that told me the query didn't have the field value 
        specified.
        
        Somewhere from when I wrote that code to now the problem went away, and there
        was no longer the need for this logic. 
        
        Also removed the bool "has_fields", which needs not exist and using 
        table->s->fields is sufficient.
      469813c7
    • unknown's avatar
      Post-merge fix. · c3f0d2f6
      unknown authored
      c3f0d2f6
    • unknown's avatar
      Bug# 20221- Dumping of multiple databases containing view(s) yields maleformed dumps. · 674636e7
      unknown authored
      
      client/mysqldump.c:
        When dumping more than one database, make sure that the proper database is selected before restoring that database's views.
        Replaced hard-coded database name length with appropiate token.
      mysql-test/r/mysqldump.result:
        Added new result and corrected results for existing test cases.
      mysql-test/t/mysqldump.test:
        Added new case for dumping and restoring multiple databases each containing a view.
      674636e7
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 8972b0bf
      unknown authored
      into  rurik.mysql.com:/home/igor/mysql-5.0-opt
      
      
      mysql-test/r/subselect.result:
        Manual merge
      mysql-test/t/subselect.test:
        Manual merge
      8972b0bf