1. 29 Oct, 2005 1 commit
    • unknown's avatar
      Minor comments. · bf500528
      unknown authored
      
      sql/sql_lex.h:
        Minor fix of a comment.
      sql/table.h:
        Minor fix of a comment.
      bf500528
  2. 28 Oct, 2005 19 commits
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9b0b1a43
      unknown authored
      into moonbone.local:/work/14138-bug-5.0-mysql
      
      9b0b1a43
    • unknown's avatar
      sql_select.cc: · 99316726
      unknown authored
        After merge fix
      
      
      sql/sql_select.cc:
        After merge fix
      99316726
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · bd4f4c6e
      unknown authored
      into  frost.snake.net:/Users/paul/bk/mysql-5.0
      
      
      client/mysqldump.c:
        Auto merged
      bd4f4c6e
    • unknown's avatar
      Manually merged · a9e6809f
      unknown authored
      
      mysql-test/t/analyse.test:
        Auto merged
      sql/sql_select.h:
        Auto merged
      a9e6809f
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 49c39906
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      sql/item_func.cc:
        Auto merged
      49c39906
    • unknown's avatar
      Update test with changed result after merge · 2901910d
      unknown authored
      
      mysql-test/r/type_newdecimal.result:
        Update result
      2901910d
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · d662bff9
      unknown authored
      into  mysql.com:/usr/home/pem/bug14256/mysql-5.0
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/r/view_grant.result:
        Merge fix.
      mysql-test/t/view_grant.test:
        Merge fix.
      d662bff9
    • unknown's avatar
      disabling archive_gis · 1b7bb773
      unknown authored
      1b7bb773
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 19cd6b87
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-owner7-5.0
      
      19cd6b87
    • unknown's avatar
      Fix bug #14138 ROLLUP and PROCEDURE ANALYSE() hang server · b5fccb70
      unknown authored
      Procedure analyse() redefines select's fields_list. setup_copy_fields() assumes
      that fields_list is a part of all_fields_list. Because select have only 
      3 columns and analyse() redefines it to have 10 columns, int overrun in
      setup_copy_fields() occurs and server goes to almost infinite loop.
      
      Because fields_list used not only to send data ad fields types, it's wrong 
      to allow procedure redefine it. This patch separates select's fileds_list 
      and procedure's one. Now if procedure is present, copy of fields_list is 
      created in procedure_fields_list and it is used for sending data and fields.
      
      
      mysql-test/t/analyse.test:
        Test case for bug #14138  ROLLUP and PROCEDURE ANALYSE() hang server
      mysql-test/r/analyse.result:
        Test case for bug #14138  ROLLUP and PROCEDURE ANALYSE() hang server
      sql/sql_select.h:
        Fix bug #14138  ROLLUP and PROCEDURE ANALYSE() hang server
        To JOIN  Added separate fields_list for procedure.
      sql/sql_select.cc:
        Fix bug #14138  ROLLUP and PROCEDURE ANALYSE() hang server
        SELECT's fields_list and procedure's fields_list made split. If procedure is defined
        then procedure's fields_list is used to send fields and data.
      b5fccb70
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · d6e85143
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
      
      
      server-tools/instance-manager/listener.cc:
        Auto merged
      d6e85143
    • unknown's avatar
      fix Bug #14103 IM tests fail on SCO · 8cf8c94b
      unknown authored
      
      server-tools/instance-manager/listener.cc:
        every new connection should have sufficient thread stack to
        handle all IM commands
      server-tools/instance-manager/manager.cc:
        change stack size of listener and guardian threads
      server-tools/instance-manager/priv.cc:
        Add a new function, which is a wrapper around pthread_create to increase the stack size
      server-tools/instance-manager/priv.h:
        declare new function
      8cf8c94b
    • unknown's avatar
      Fixed BUG#14256: definer in view definition is not fully qualified · 14418653
      unknown authored
        Changed the parser test for wildcards in hostname to checking for empty
        strings instead (analogous with the test in default_view_definer()),
        since wildcards do appear in the definer's host-part sometimes.
      
      
      mysql-test/r/view.result:
        Updated result.
      mysql-test/r/view_grant.result:
        Added test for BUG#14256.
      mysql-test/t/view.test:
        Changed test for explicit definer; wildcards in host are ok, empty host-part is not.
      mysql-test/t/view_grant.test:
        Added test for BUG#14256.
      sql/sql_yacc.yy:
        Changed test for wildcards in hostpart of explicit view definer to test for empty
        host part instead. (Analogous with sql_parse.cc:default_view_definer().)
      14418653
    • unknown's avatar
      fix a typo · 75c789d7
      unknown authored
      75c789d7
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 752cd429
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-owner7-5.0
      
      
      sql/item.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      752cd429
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 54022653
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      mysql-test/t/func_math.test:
        Auto merged
      mysql-test/r/func_math.result:
        Resolve conflict
      sql/item_func.cc:
        Resolve conflict
      54022653
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 69bdb7ab
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
      
      69bdb7ab
    • unknown's avatar
      Makefile.am: · dcc5a47f
      unknown authored
        Added "base64.h" to enable "make dist" to work
      
      
      include/Makefile.am:
        Added "base64.h" to enable "make dist" to work
      dcc5a47f
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · b1b4da04
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
      
      b1b4da04
  3. 27 Oct, 2005 20 commits
    • unknown's avatar
      Merge 4.1 - 5.0 · 2e4a3a91
      unknown authored
      
      mysql-test/r/insert_select.result:
        Merge from 4.1 to 5.0.
      mysql-test/r/select.result:
        Merge from 4.1 to 5.0.
      mysql-test/t/insert_select.test:
        Merge from 4.1 to 5.0.
      mysys/my_handler.c:
        Merge from 4.1 to 5.0.
      sql/item.cc:
        Merge from 4.1 to 5.0.
      sql/item_timefunc.cc:
        Imported bug fix from 4.1 to 5.0. (Bug#14016)
      sql/item_timefunc.h:
        Imported bug fix from 4.1 to 5.0. (Bug#14016)
      2e4a3a91
    • 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
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 · 7fc229ed
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0-tmp
      
      
      heap/_check.c:
        Auto merged
      heap/hp_create.c:
        Auto merged
      include/config-netware.h:
        Auto merged
      include/my_base.h:
        Auto merged
      include/my_handler.h:
        Auto merged
      include/myisam.h:
        Auto merged
      innobase/include/Makefile.am:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/mi_delete.c:
        Auto merged
      myisam/mi_rnext_same.c:
        Auto merged
      myisam/mi_search.c:
        Auto merged
      myisam/mi_write.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      myisam/sort.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/r/update.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      mysql-test/t/update.test:
        Auto merged
      mysys/my_getopt.c:
        Auto merged
      mysys/my_handler.c:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/records.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/structs.h:
        Auto merged
      strings/conf_to_src.c:
        Auto merged
      strings/ctype-win1250ch.c:
        Auto merged
      Makefile.am:
        Merged from 4.1
      myisam/myisamchk.c:
        Merged from 4.1
      mysql-test/mysql-test-run.pl:
        Merged from 4.1
      mysql-test/r/insert_select.result:
        Merged from 4.1
      mysql-test/r/myisam.result:
        Merged from 4.1
      mysql-test/r/select.result:
        Merged from 4.1
      mysql-test/t/insert_select.test:
        Merged from 4.1
      mysql-test/t/myisam.test:
        Merged from 4.1
      netware/mysql_test_run.c:
        Merged from 4.1
      sql/item.cc:
        Merged from 4.1
      sql/mysqld.cc:
        Merged from 4.1
      sql/sql_update.cc:
        Merged from 4.1
      tests/mysql_client_test.c:
        Merged from 4.1
      7fc229ed
    • 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 mysql.com:/home/jimw/my/mysql-4.1-14009 · 2d9654a5
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      sql/item_func.cc:
        Auto merged
      2d9654a5
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 11108771
      unknown authored
      into moonbone.local:/work/13855-bug-4.1-mysql
      
      11108771
    • unknown's avatar
      select.result: · ef12b2c8
      unknown authored
        After merge fix
      
      
      mysql-test/r/select.result:
        After merge fix
      ef12b2c8
    • unknown's avatar
      Manually merged · 32b21cfa
      unknown authored
      
      include/config-netware.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/r/select.result:
        Manually merged fix for bug#13855
      mysql-test/t/select.test:
        Manuall merged fix for bug#13855
      32b21cfa
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7b68c0be
      unknown authored
      into  mysql.com:/home/alexi/dev/mysql-4.1-innobase
      
      7b68c0be
    • 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
      conf_to_src.c: · 9db1fffd
      unknown authored
        Dump MY_CS_CSSORT when it's necessary.
      
      
      strings/conf_to_src.c:
        Dump MY_CS_CSSORT when it's necessary.
      9db1fffd
    • 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
      conf_to_src.c: · 426e2f8a
      unknown authored
        Updating to conform the current CHARSET_INFO structure.
      
      
      strings/conf_to_src.c:
        Updating to conform the current structure.
      426e2f8a