1. 01 Dec, 2006 2 commits
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/bug22043/my50-bug22043 · a3774e00
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/bug22043/my51-bug22043
      
      
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      mysql-test/r/rpl_sp.result:
        null merge
      mysql-test/t/rpl_sp.test:
        null merge
      a3774e00
    • unknown's avatar
      Bug#22043 MySQL don't add "USE <DATABASE>" before "DROP PROCEDURE IF EXISTS" · 2f0b1d65
      unknown authored
      - Refactoring of duplicate code
      - Modified bad test cases
      - Changed expected error when operating on information_schema.
      
      
      mysql-test/r/information_schema.result:
        - updated result file with new error code.
      mysql-test/r/rpl_sp.result:
        - Modified test case
      mysql-test/t/information_schema.test:
        - Changed error code for operations on information_schema
      mysql-test/t/rpl_sp.test:
        - Modified test case
      sql/sql_parse.cc:
        - Cleaned up code:
          * replace tab with space
          * simplified if/switch statements
          * refactored duplicated code
      2f0b1d65
  2. 29 Nov, 2006 1 commit
    • unknown's avatar
      Bug#22043 MySQL don't add "USE <DATABASE>" before "DROP PROCEDURE IF EXISTS" · bcf26169
      unknown authored
      - Merge patch.
      - Test case needed update because event number were off.
      - Error code has changed because db name validation rules
        changes between 5.0 and 5.1
      
      
      mysql-test/r/rpl_sp.result:
        - Updated result file
      mysql-test/t/rpl_sp.test:
        - Changed bin log event number
        - Changed error code
      bcf26169
  3. 28 Nov, 2006 4 commits
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/bug22043/my50-bug22043 · b25659d9
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/bug22043/my51-bug22043
      
      
      sql/sp.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      mysql-test/r/rpl_sp.result:
        - Merged; moved comments to end of file
      mysql-test/t/rpl_sp.test:
        - Merged; added comments to end of file
      b25659d9
    • unknown's avatar
      Bug#22043 MySQL don't add "USE <DATABASE>" before "DROP PROCEDURE EXISTS" · 9a87702b
      unknown authored
      - CREATE PROCEDURE stores database name based on query context instead
        of 'current database' as set by 'USE' according to manual.
        The bug reporter interpret the filtering statements as bug for
         DROP PROCEDURE based on this behavior.
      - Removed the code which changes db context.
      - Added code to check that a valid db was supplied.  
      
      
      mysql-test/r/rpl_sp.result:
        - Added test case (result)
      mysql-test/t/rpl_sp.test:
        - Added test case
      sql/sp.cc:
        - Removed code for changing current db context.
      sql/sql_parse.cc:
        - Added code to check if a valid db was supplied.
      9a87702b
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · d56ab27a
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug21587/my51-bug21587
      
      
      sql/mysql_priv.h:
        Auto merged
      d56ab27a
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/bug21587/my50-bug21587 · ed0c42f3
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug21587/my51-bug21587
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_base.cc:
        merging
      ed0c42f3
  4. 27 Nov, 2006 8 commits
    • unknown's avatar
    • unknown's avatar
      Merge shakedown.(none):/home/jpipes/dev/mysql-5.0-maint · b022aef7
      unknown authored
      into  shakedown.(none):/home/jpipes/dev/mysql-5.1-new-maint2
      
      
      BitKeeper/etc/ignore:
        auto-union
      client/mysql.cc:
        Auto merged
      mysql-test/r/func_misc.result:
        Auto merged
      mysql-test/r/mysql.result:
        Manually merged
      mysql-test/t/mysql.test:
        Manually merged
      sql/item_func.h:
        Manually merged
      b022aef7
    • unknown's avatar
      Add my_getpagesize.c as source for mysys · 77be0c92
      unknown authored
      77be0c92
    • unknown's avatar
      Add mysys/my_getpagesize as source file foir mysql_upgrade · 1ebe49e5
      unknown authored
      Don't link mysql_upgrade with mysys
      
      
      1ebe49e5
    • unknown's avatar
      Move misplaced #endif · 5ec298dc
      unknown authored
      5ec298dc
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 277d5db5
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~14:
        Auto merged
      BitKeeper/deleted/.del-CMakeLists.txt~7:
        Auto merged
      client/mysql_upgrade.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/mysql-test-run-shell.sh:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      mysys/Makefile.am:
        Auto merged
      mysys/my_mmap.c:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/udf_example.c:
        Auto merged
      support-files/mysql.spec.sh:
        Use local
      client/Makefile.am:
        Manual merge
      include/my_sys.h:
        Manual merge
      277d5db5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 07da2285
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      07da2285
    • unknown's avatar
      Fix for bug #21587: FLUSH TABLES causes server crash when used with HANDLER statements · 838b5378
      unknown authored
      Problems (appear only under some circumstances): 
        1. we get a reference to a deleted table searching in the 
           thd->handler_tables_hash in the mysql_ha_read().
      
        2. DBUG_ASSERT(table->file->inited == handler::NONE); assert fails in the
           close_thread_table().
      
      Fix: end open index scans and table scans and remove references to the 
      tables from the handler tables hash. After this preparation it is safe 
      to close the tables. The close can no longer fail on open index/table 
      scans and the closed table will not be used again by handler functions.
                                       
      
      
      sql/mysql_priv.h:
        Fix for bug #21587: FLUSH TABLES causes server crash when used with HANDLER statements
          - mysql_ha_mark_tables_for_reopen() introduced.
      sql/sql_base.cc:
        Fix for bug #21587: FLUSH TABLES causes server crash when used with HANDLER statements
          - call mysql_ha_mark_tables_for_reopen() to prepare for the following close.
      sql/sql_handler.cc:
        Fix for bug #21587: FLUSH TABLES causes server crash when used with HANDLER statements
          - mysql_ha_mark_tables_for_reopen() function introduced.
      838b5378
  5. 24 Nov, 2006 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 4f91e9f7
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-5.1-maint
      
      
      sql/sql_parse.cc:
        Auto merged
      4f91e9f7
    • unknown's avatar
      Merge polly.local:/tmp/maint/bug22077/my50-bug22077 · cbee58e3
      unknown authored
      into  polly.local:/tmp/maint/bug22077/my51-bug22077
      
      
      mysql-test/t/read_only.test:
        Auto merged
      sql/sql_parse.cc:
        Manual merge
      cbee58e3
    • unknown's avatar
      Merge ymer.(none):/usr/local/mysql/tmp/mysql-5.0-gca · 9498bc4e
      unknown authored
      into  ymer.(none):/usr/local/mysql/tmp/mysql-5.1-new-maint
      
      
      mysql-test/lib/mtr_io.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      9498bc4e
    • unknown's avatar
      Merge ymer.(none):/usr/local/mysql/tmp/mysql-4.1-maint · 66e49e37
      unknown authored
      into  ymer.(none):/usr/local/mysql/tmp/mysql-5.0-gca
      
      
      mysql-test/lib/mtr_io.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      66e49e37
    • unknown's avatar
      Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack · 4d2665f0
      unknown authored
      traces in Valgrind (broken libc6-dbg).
      Installing libc6-dbg on Debian will still provide proper bactraces, even
      without setting LD_LIBRARY_PATH explicitly.
      
      
      mysql-test/lib/mtr_io.pl:
        Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack
        traces in Valgrind.
      mysql-test/mysql-test-run.pl:
        Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack
        traces in Valgrind.
      4d2665f0
  6. 23 Nov, 2006 19 commits
  7. 22 Nov, 2006 1 commit