1. 12 Jan, 2007 1 commit
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 8e9c245a
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-22687
      
      
      libmysqld/Makefile.am:
        Auto merged
      sql/Makefile.am:
        Auto merged
      BitKeeper/deleted/.del-item_uniq.cc:
        Auto merged
      BitKeeper/deleted/.del-item_uniq.h:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      8e9c245a
  2. 11 Jan, 2007 3 commits
    • unknown's avatar
      Bug#22687 (Functions UNIQUE_USERS, GROUP_UNIQUE_USERS) · 6bc93745
      unknown authored
      According to some internal communication, these two functions are place
      holders for future enhancements. Because they use a variable number of
      parameters, the implementation defined a reserved keyword for them in the
      parser grammar.
      
      Unfortunately, doing so creates a bug similar to Bug 21114 reported for the
      function FORMAT.
      
      In the 5.1 code base, due to improvements in the code implemented with bug
      21114, having a reserved keyword for functions with a variable number of
      arguments is not needed any more by the implementation.
      
      As a result, this fix removes the place-holder implementation, and removes
      the unnecessary reserved keywords. Should the functions UNIQUE_USERS and
      GROUP_UNIQUE_USERS be finally implemented in a later release, the
      implementation should sub class Create_native_func in sql/item_create.cc.
      For example, see the class Create_func_concat.
      
      
      BitKeeper/deleted/.del-item_uniq.cc:
        Rename: sql/item_uniq.cc -> BitKeeper/deleted/.del-item_uniq.cc
      BitKeeper/deleted/.del-item_uniq.h:
        Rename: sql/item_uniq.h -> BitKeeper/deleted/.del-item_uniq.h
      libmysqld/Makefile.am:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      mysql-test/r/parser.result:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      mysql-test/t/parser.test:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/Makefile.am:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/item.h:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/item_sum.h:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/lex.h:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/mysql_priv.h:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      sql/sql_yacc.yy:
        Remove native functions UNIQUE_USERS() and GROUP_UNIQUE_USERS().
      6bc93745
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 3d904a85
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-5.1-runtime
      
      
      mysql-test/t/trigger.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      storage/csv/ha_tina.cc:
        Auto merged
      mysql-test/r/csv.result:
        Manual merge.
      mysql-test/t/csv.test:
        Manual merge.
      3d904a85
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 19678b2f
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-25183
      
      
      sql/set_var.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      19678b2f
  3. 10 Jan, 2007 2 commits
  4. 09 Jan, 2007 5 commits
    • unknown's avatar
      Fix after manual merge. · b6c926ed
      unknown authored
      
      storage/heap/hp_write.c:
        Fix after manial merge: do cast _after_ pointer substruction.
      b6c926ed
    • unknown's avatar
      Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-5.0-bug23443 · 8290cad2
      unknown authored
      into  moonlight.home:/home/tomash/src/mysql_ab/mysql-5.1-bug23443
      
      
      sql/item_func.cc:
        Auto merged
      storage/heap/hp_block.c:
        Auto merged
      storage/heap/hp_write.c:
        Manual merge.
      8290cad2
    • unknown's avatar
      Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.1-bug23443 · fbaec805
      unknown authored
      into  moonlight.home:/home/tomash/src/mysql_ab/mysql-5.0-bug23443
      
      
      heap/hp_write.c:
        Auto merged
      sql/item_func.cc:
        Auto merged
      fbaec805
    • unknown's avatar
      Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.0-bug23443 · bdf4b690
      unknown authored
      into  moonlight.home:/home/tomash/src/mysql_ab/mysql-4.1-bug23443
      
      
      heap/hp_block.c:
        Auto merged
      sql/item_func.cc:
        Auto merged
      heap/hp_write.c:
        Manual merge.
      bdf4b690
    • unknown's avatar
      BUG#23443: user-defined variables can consume too much memory in the · 2500fac4
      unknown authored
                 server
      
      The problem was that when memory was exhausted HEAP engine could crash
      (GROUP BY uses HEAP TABLE).  Alternatively, if SET was used, it could
      report an error "You may only use constant expressions with SET" instead
      of "Out of memory (Needed NNNNNN bytes)".
      
      The solution is:
       - pass MY_WME to (some) calls to my_malloc() to get correct message.
       - fix heap_write() so that the first key is skipped during cleanup
         on ENOMEM because it wasn't inserted and doesn't have to be
         deleted.
      
      No test case is provided because we can't test out-of-memory behaviour
      in our current test framework.
      
      
      heap/hp_block.c:
        If allocation fails, write an error message.
      heap/hp_write.c:
        On ENOMEM, skip the first key in cleanup, as it wasn't inserted yet.
      sql/item_func.cc:
        Add MY_WME so that OOM error will be reported.
      2500fac4
  5. 06 Jan, 2007 2 commits
  6. 04 Jan, 2007 4 commits
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · 31bd9d94
      unknown authored
      into  zim.(none):/home/brian/mysql/merge-5.1
      
      31bd9d94
    • unknown's avatar
      The CSV format has always relied on numbers being quoted, which doesn't always... · 84a24769
      unknown authored
      The CSV format has always relied on numbers being quoted, which doesn't always happen. This fixes that so that numbers can now be unquoted (and the output does this as well so that the log takes up less space). 
      
      
      mysql-test/r/csv.result:
        Fixed test case for format change. Added new test for floating point numbers.
      mysql-test/t/csv.test:
        Fixed test for format change. Added test case for floating point numbers.
      storage/csv/ha_tina.cc:
        Updated code to handle numbers as raw unquotes types in CSV
      84a24769
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 · 76f6efae
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.1-arch
      
      
      storage/csv/CMakeLists.txt:
        Auto merged
      storage/csv/Makefile.am:
        Auto merged
      76f6efae
    • unknown's avatar
      Split out the hidden class from the ha_tina file (probably should have just... · b01b2451
      unknown authored
      Split out the hidden class from the ha_tina file (probably should have just deleted it...) but this is a bit better. 
      
      
      storage/csv/transparent_file.cc:
        BitKeeper file /home/brian/mysql/merge-5.1/storage/csv/transparent_file.cc
      storage/csv/transparent_file.h:
        BitKeeper file /home/brian/mysql/merge-5.1/storage/csv/transparent_file.h
      storage/csv/CMakeLists.txt:
        Updated for windows
      storage/csv/Makefile.am:
        Updated to add new class
      storage/csv/ha_tina.cc:
        Removed hidden class
      storage/csv/ha_tina.h:
        Remove hidden class
      b01b2451
  7. 03 Jan, 2007 2 commits
    • unknown's avatar
      Bug#25302 (893 reduce/reduce conflicts in parser grammar) · 00b154ea
      unknown authored
      This fix corrects build issues introduced by WL#3031:
      
      - In the SQL grammar, 'USER' is a SQL 2003 reserved keyword,
      and therefore should not be part of the keyword production.
      
      - In sql/sql_parse.cc, the code for CREATE SERVER and ALTER SERVER
      was not using proper format strings in the DBUG_PRINT statements.
      
      
      sql/sql_parse.cc:
        Fixed compiler warnings
      sql/sql_yacc.yy:
        Fixed reduce/reduce conflicts
      00b154ea
    • unknown's avatar
      · 02bb308f
      unknown authored
      Merge 5.1-main -> 5.1-runtime, added ignore entry for missing symbolic link
      
      
      BitKeeper/etc/ignore:
        
        Fixed ignore entry
      02bb308f
  8. 02 Jan, 2007 20 commits
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · 4e8d8cb6
      unknown authored
      into  mysql.com:/d2/hf/common/my51-common
      
      
      mysql-test/r/flush_block_commit_notembedded.result:
        merging
      4e8d8cb6
    • unknown's avatar
      merging · e3807828
      unknown authored
      
      mysql-test/r/flush_block_commit_notembedded.result:
        result fixed
      e3807828
    • unknown's avatar
      mysql_upgrade disabled in embedded server · 13896d94
      unknown authored
      
      mysql-test/t/mysql_upgrade.test:
        test disabled in embedded server
      13896d94
    • unknown's avatar
      ps_not_windows disabled in embedded server · 13f7bd6b
      unknown authored
      
      mysql-test/t/ps_not_windows.test:
        disabled in embedded-server
      13f7bd6b
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · f8a4d3ea
      unknown authored
      into  mysql.com:/d2/hf/common/my51-common
      
      
      libmysqld/lib_sql.cc:
        Auto merged
      f8a4d3ea
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my41-common · 81714523
      unknown authored
      into  mysql.com:/d2/hf/common/my50-common
      
      
      libmysqld/lib_sql.cc:
        merging
      81714523
    • unknown's avatar
      warning count for embedded prepared statements added · e1d6b732
      unknown authored
      
      libmysqld/lib_sql.cc:
        reading warning count added
      e1d6b732
    • unknown's avatar
      Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base · 7140a93a
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-merge
      
      
      mysql-test/r/sp.result:
        Auto merged
      server-tools/instance-manager/commands.cc:
        Auto merged
      server-tools/instance-manager/commands.h:
        Auto merged
      server-tools/instance-manager/guardian.cc:
        Auto merged
      server-tools/instance-manager/guardian.h:
        Auto merged
      server-tools/instance-manager/instance.cc:
        Auto merged
      server-tools/instance-manager/instance.h:
        Auto merged
      server-tools/instance-manager/instance_map.cc:
        Auto merged
      server-tools/instance-manager/instance_map.h:
        Auto merged
      server-tools/instance-manager/instance_options.h:
        Auto merged
      server-tools/instance-manager/listener.cc:
        Auto merged
      server-tools/instance-manager/manager.cc:
        Auto merged
      server-tools/instance-manager/manager.h:
        Auto merged
      server-tools/instance-manager/user_map.cc:
        Auto merged
      sql/event_data_objects.cc:
        Auto merged
      sql/event_queue.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_head.h:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      storage/csv/ha_tina.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      7140a93a
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1 · d29c8a73
      unknown authored
      into  trift2.:/MySQL/M51/mysql-5.1
      
      d29c8a73
    • unknown's avatar
      server-tools/instance-manager/Makefile.am · 10b4a25f
      unknown authored
          Delete compiler-specific flag setting - it makes builds break.
      
      
      server-tools/instance-manager/Makefile.am:
        Delete compiler-specific flag setting - it makes builds break.
        If this is really wanted, it must be done through "configure", caring about the compiler differences.
      10b4a25f
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1 · a195e995
      unknown authored
      into  mysql.com:/d2/hf/common/my51-common
      
      a195e995
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0 · 4ab0098b
      unknown authored
      into  mysql.com:/d2/hf/common/my50-common
      
      4ab0098b
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · 89e69ac6
      unknown authored
      into  mysql.com:/d2/hf/common/my51-common
      
      
      libmysqld/lib_sql.cc:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      89e69ac6
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my41-common · 82e5a81f
      unknown authored
      into  mysql.com:/d2/hf/common/my50-common
      
      
      libmysqld/lib_sql.cc:
        merging
      82e5a81f
    • unknown's avatar
      merging fix · b102253b
      unknown authored
      b102253b
    • unknown's avatar
      merging fix · 0da2a28b
      unknown authored
      0da2a28b
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my41-common · 13248688
      unknown authored
      into  mysql.com:/d2/hf/common/my50-common
      
      
      mysql-test/t/mysqladmin.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      libmysqld/lib_sql.cc:
        merging
      mysql-test/t/distinct.test:
        merging
      sql/sql_prepare.cc:
        SCCS merged
      13248688
    • unknown's avatar
      embedded-server related fixes · 80ef1792
      unknown authored
      
      libmysqld/lib_sql.cc:
        error message moved to 'stmt'
      mysql-test/t/distinct.test:
        temporary disabled in embedded server
      mysql-test/t/mysqladmin.test:
        disabled in embedded server
      sql/sql_prepare.cc:
        superfluous #ifndef removed
      80ef1792
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/main/mysql-5.0 · ee12ee53
      unknown authored
      into  mysql.com:/home/kent/bk/main/mysql-5.1
      
      
      mysql-test/r/view.result:
        Auto merged
      ee12ee53
    • unknown's avatar
      view.result: · 9cf787a9
      unknown authored
        Temporary work around for bug#25359
      
      
      mysql-test/r/view.result:
        Temporary work around for bug#25359
      9cf787a9
  9. 31 Dec, 2006 1 commit
    • unknown's avatar
      Merge mysql.com:/d2/hf/clean/my51-clean · 148daf22
      unknown authored
      into  mysql.com:/d2/hf/common/my51-common
      
      
      libmysqld/Makefile.am:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      BitKeeper/deleted/.del-ps_not_windows.test:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      148daf22