1. 12 Jan, 2007 1 commit
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 8f5e92e0
      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
      8f5e92e0
  2. 11 Jan, 2007 3 commits
    • unknown's avatar
      Bug#22687 (Functions UNIQUE_USERS, GROUP_UNIQUE_USERS) · cdb60578
      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().
      cdb60578
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · c1bcbe29
      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.
      c1bcbe29
    • unknown's avatar
      Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 5ed3d05e
      unknown authored
      into  weblab.(none):/home/marcsql/TREE/mysql-5.1-25183
      
      
      sql/set_var.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      5ed3d05e
  3. 10 Jan, 2007 2 commits
  4. 09 Jan, 2007 5 commits
    • unknown's avatar
      Fix after manual merge. · c12dfbe8
      unknown authored
      
      storage/heap/hp_write.c:
        Fix after manial merge: do cast _after_ pointer substruction.
      c12dfbe8
    • unknown's avatar
      Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-5.0-bug23443 · ca83b547
      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.
      ca83b547
    • unknown's avatar
      Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.1-bug23443 · 19b95ca2
      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
      19b95ca2
    • unknown's avatar
      Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.0-bug23443 · beac4a6f
      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.
      beac4a6f
    • unknown's avatar
      BUG#23443: user-defined variables can consume too much memory in the · 4fe1561f
      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.
      4fe1561f
  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 · c56c14f5
      unknown authored
      into  zim.(none):/home/brian/mysql/merge-5.1
      
      
      c56c14f5
    • unknown's avatar
      The CSV format has always relied on numbers being quoted, which doesn't always... · 8bd11441
      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
      8bd11441
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 · 967b38a4
      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
      967b38a4
    • unknown's avatar
      Split out the hidden class from the ha_tina file (probably should have just... · 20f0c7a6
      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
      20f0c7a6
  7. 03 Jan, 2007 2 commits
    • unknown's avatar
      Bug#25302 (893 reduce/reduce conflicts in parser grammar) · 6a9dcc49
      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
      6a9dcc49
    • unknown's avatar
      · 8c352e71
      unknown authored
      Merge 5.1-main -> 5.1-runtime, added ignore entry for missing symbolic link
      
      
      BitKeeper/etc/ignore:
        
        Fixed ignore entry
      8c352e71
  8. 02 Jan, 2007 20 commits
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · d9ec5a4e
      unknown authored
      into  mysql.com:/d2/hf/common/my51-common
      
      
      mysql-test/r/flush_block_commit_notembedded.result:
        merging
      d9ec5a4e
    • unknown's avatar
      merging · 42a7506d
      unknown authored
      
      mysql-test/r/flush_block_commit_notembedded.result:
        result fixed
      42a7506d
    • unknown's avatar
      mysql_upgrade disabled in embedded server · 11e53d8b
      unknown authored
      
      mysql-test/t/mysql_upgrade.test:
        test disabled in embedded server
      11e53d8b
    • unknown's avatar
      ps_not_windows disabled in embedded server · e9a98339
      unknown authored
      
      mysql-test/t/ps_not_windows.test:
        disabled in embedded-server
      e9a98339
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · 43ff17e6
      unknown authored
      into  mysql.com:/d2/hf/common/my51-common
      
      
      libmysqld/lib_sql.cc:
        Auto merged
      43ff17e6
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my41-common · 3bd21c84
      unknown authored
      into  mysql.com:/d2/hf/common/my50-common
      
      
      libmysqld/lib_sql.cc:
        merging
      3bd21c84
    • unknown's avatar
      warning count for embedded prepared statements added · c81140f5
      unknown authored
      
      libmysqld/lib_sql.cc:
        reading warning count added
      c81140f5
    • unknown's avatar
      Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base · d7577ecb
      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
      d7577ecb
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1 · f20cb8d0
      unknown authored
      into  trift2.:/MySQL/M51/mysql-5.1
      
      
      f20cb8d0
    • unknown's avatar
      server-tools/instance-manager/Makefile.am · 18c6b504
      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.
      18c6b504
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1 · f31014ed
      unknown authored
      into  mysql.com:/d2/hf/common/my51-common
      
      
      f31014ed
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0 · d4a874f6
      unknown authored
      into  mysql.com:/d2/hf/common/my50-common
      
      
      d4a874f6
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · 3c9be169
      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
      3c9be169
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my41-common · 1c48d723
      unknown authored
      into  mysql.com:/d2/hf/common/my50-common
      
      
      libmysqld/lib_sql.cc:
        merging
      1c48d723
    • unknown's avatar
      merging fix · c79aeba1
      unknown authored
      c79aeba1
    • unknown's avatar
      merging fix · 8b8f1890
      unknown authored
      8b8f1890
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my41-common · 6de3acec
      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
      6de3acec
    • unknown's avatar
      embedded-server related fixes · 4a124185
      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
      4a124185
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/main/mysql-5.0 · 78fdfb07
      unknown authored
      into  mysql.com:/home/kent/bk/main/mysql-5.1
      
      
      mysql-test/r/view.result:
        Auto merged
      78fdfb07
    • unknown's avatar
      view.result: · 2e99ee90
      unknown authored
        Temporary work around for bug#25359
      
      
      mysql-test/r/view.result:
        Temporary work around for bug#25359
      2e99ee90
  9. 31 Dec, 2006 1 commit
    • unknown's avatar
      Merge mysql.com:/d2/hf/clean/my51-clean · cbff25d0
      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
      cbff25d0