1. 03 Apr, 2005 1 commit
    • unknown's avatar
      XID SQL syntax · 2fc4270b
      unknown authored
      minor cleanups
      XA tests
      
      
      include/m_ctype.h:
        minor cleanup
      sql/field.cc:
        minor cleanup
      sql/handler.cc:
        XID SQL syntax
      sql/handler.h:
        XID SQL syntax
      sql/item_sum.h:
        minor cleanup
      sql/lock.cc:
        comments
      sql/sql_class.cc:
        minor cleanup
      sql/sql_lex.h:
        XID SQL syntax
      sql/sql_parse.cc:
        XID SQL syntax
      sql/sql_yacc.yy:
        XID SQL syntax
        cleanups
      2fc4270b
  2. 31 Mar, 2005 13 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 5b0c7525
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union_merge-5.0
      
      
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      5b0c7525
    • unknown's avatar
      postmerge 4.1->5.0 fixes · c831a156
      unknown authored
      
      mysql-test/r/group_by.result:
        result change
      mysql-test/r/union.result:
        result change
      mysql-test/r/view.result:
        result change
      mysql-test/t/subselect.test:
        fixed mistake of merge
      sql/field.cc:
        new 5.0 types support
        temporary table/db names detection in field fixed
      sql/field.h:
        removed non-existent methods
        added wrongly deleted during manual merge string
      sql/item.cc:
        support of new types added to merge of union types routines
      sql/item.h:
        fixed method definition
      sql/item_cmpfunc.cc:
        fixed type
      sql/item_func.h:
        item type name fixed
      sql/item_subselect.cc:
        added forgoten methods
      sql/item_subselect.h:
        fixed type
      sql/sql_derived.cc:
        fixed typo of manual merge
      sql/sql_view.cc:
        added new parameter
      c831a156
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4a5057f9
      unknown authored
      into mysql.com:/home/svoj/devel/mysql/mysql-5.0
      
      
      4a5057f9
    • unknown's avatar
      BUG#9521 fix: · 231fdb4b
      unknown authored
      openssl_1 and rpl_openssl results difference
      
      
      mysql-test/r/openssl_1.result:
        Fix expected error messages.
      mysql-test/r/rpl_openssl.result:
        Fix show slave status output. This fix makes rpl_openssl work with openssl-0.9.7 and yassl.
      mysql-test/t/openssl_1.test:
        Fix expected error codes.
      231fdb4b
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · b855874d
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      b855874d
    • unknown's avatar
      decimal_div bug#9501 · 75851b6b
      unknown authored
      75851b6b
    • unknown's avatar
      ndb - fix small memory leak · 5e7c6e0e
      unknown authored
      
      ndb/include/util/Vector.hpp:
        fix small memory leak
      ndb/src/mgmapi/mgmapi.cpp:
        fix small memory leak
      5e7c6e0e
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-5.0 · b790a348
      unknown authored
      into msdesk.mysql.com:/home/magnus/mysql-5.0
      
      
      b790a348
    • unknown's avatar
      BUG#8585 ndb_cache2 · df7f4cc5
      unknown authored
       - When deleting from a cursor the m_rows_changed variable was not properly incremented to indicate that m_share->commit_count should be cleared at end of trans.
        
      
      
      sql/ha_ndbcluster.cc:
        Moved increment of m_rows_changed to higher up in the function.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      df7f4cc5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 5afca65d
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      5afca65d
    • unknown's avatar
      Merge pmartin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 187d2670
      unknown authored
      into mysql.com:/usr/local/bk/mysql-5.0
      
      
      sql/share/errmsg.txt:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      187d2670
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · e4b65d97
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      e4b65d97
    • unknown's avatar
      merge 4.1->5.0 · 8a898a0b
      unknown authored
      
      mysql-test/r/group_by.result:
        Auto merged
      mysql-test/r/metadata.result:
        Auto merged
      mysql-test/r/union.result:
        Auto merged
      mysql-test/t/union.test:
        Auto merged
      sql/item.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      support-files/mysql.server.sh:
        Auto merged
      8a898a0b
  3. 30 Mar, 2005 26 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 750180d2
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      750180d2
    • unknown's avatar
      Enabled more tests of STR_TO_DATE() · a593a0a7
      unknown authored
      Fixed that datetime gives warning for zero dates in traditional mode
      
      
      mysql-test/r/strict.result:
        Enabled more tests of STR_TO_DATE()
      mysql-test/t/strict.test:
        Enabled more tests of STR_TO_DATE()
      sql/field.cc:
        Fixed that datetime gives warning for zero dates in traditional mode
      sql/log_event.h:
        Fix wrong ifdef from last push
      a593a0a7
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 30c85129
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union_merge-4.1
      
      
      30c85129
    • unknown's avatar
      postmerge fixes · 56b2de98
      unknown authored
      
      mysql-test/r/metadata.result:
        postmerge change
      sql/item.cc:
        work around about varchar in 4.1
      56b2de98
    • unknown's avatar
      merge · 504ab8d4
      unknown authored
      
      sql/sql_parse.cc:
        Auto merged
      504ab8d4
    • unknown's avatar
      Fix 'Bootstrap' to bypass a problem with "bk changes" by changing the... · cc3cadb7
      unknown authored
      Fix 'Bootstrap' to bypass a problem with "bk changes" by changing the directory before calling the command.
      
      
      Build-tools/Bootstrap:
        Bypass a BK problem with "bk changes": It stopped delivering changeset comments when
        1) it encountered a single, unbroken line with about 1k characters  AND
        2) it was applied not to the current directory but to a named BK root directory.
        
        As 1) cannot be changed post-factum (and might happen again),
        the "bk changes" command is now preceded by a "cd $REPO".
        
        Do some renaming of variables used around the "bk changes" call to improve documentation.
      cc3cadb7
    • unknown's avatar
      Portability fix (avoid bash-ism). · 890aa5b2
      unknown authored
      
      support-files/mysql.server.sh:
        Replace a non-portable "for" loop (bash style, fails on BSD) by an equivalent "while" loop.
        Note that the "stop" method is still wrong, as it does not wait for file removal.
      890aa5b2
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 9d5c93bc
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      mysql-test/r/ps_7ndb.result:
        Auto merged
      9d5c93bc
    • unknown's avatar
      Fixed BUG#6600: Stored procedure crash after repeated calls with check table. · 66b71ca3
      unknown authored
        Sedond attempt: Simply disallow CHECK in SPs, since it can't work.
      
      
      mysql-test/r/sp-error.result:
        New test cast for BUG#6600
      mysql-test/r/sp.result:
        Removed old test case for BUG#6600
      mysql-test/t/sp-error.test:
        New test cast for BUG#6600
      mysql-test/t/sp.test:
        Removed old test case for BUG#6600
      sql/share/errmsg.txt:
        Made the SP bad statement error message more general.
      sql/sp_head.cc:
        CHECK is not possible in stored procedures.
      sql/sql_parse.cc:
        Undid attempt to fix CHECK in stored procedures, it didn't work.
      sql/sql_yacc.yy:
        CHECK is not possible in stored procedures.
        (And updated error messages for LOCK/UNLOCK.)
      66b71ca3
    • unknown's avatar
      after merge fix/ · 3a44dcd1
      unknown authored
      3a44dcd1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · eed80718
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/log_event.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      eed80718
    • unknown's avatar
      Give warnings if wrong date/time/datetime argument for STR_TO_DATE · a5b1b9d9
      unknown authored
      Small fixes while doing review of new pushed code
      More test cases for decimal
      
      
      mysql-test/r/date_formats.result:
        Warnings added for STR_TO_DATE()
      mysql-test/r/ps_1general.result:
        Better description for BLACKHOLE
      mysql-test/r/strict.result:
        Added tests for STR_TO_DATE
      mysql-test/r/type_decimal.result:
        Test to test ranges of DECIMAL
      mysql-test/t/date_formats.test:
        More tests
      mysql-test/t/strict.test:
        Added tests for STR_TO_DATE
      mysql-test/t/type_decimal.test:
        Test to test ranges of DECIMAL
      sql/field.cc:
        Simple optimization
      sql/handler.cc:
        Better description for BLACKHOLE
      sql/item_timefunc.cc:
        Give warnings if wrong date/time/datetime argument for STR_TO_DATE
      sql/log_event.cc:
        Indentation fixes
      sql/log_event.h:
        #ifdef-ed not used code
      sql/share/errmsg.txt:
        New error message
      sql/sql_show.cc:
        Ensure that we do a proper restore in case of error
      a5b1b9d9
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6b24a50d
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      include/violite.h:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      6b24a50d
    • unknown's avatar
      Merge · f17bba4e
      unknown authored
      
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/ps_6bdb.result:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/item.cc:
        SCCS merged
      f17bba4e
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug8807 · ed4022bd
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1-synced
      
      
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/ps_6bdb.result:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      ed4022bd
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 8d8cb24e
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      Build-tools/Do-compile:
        Auto merged
      8d8cb24e
    • unknown's avatar
      Merge · 72aef9c2
      unknown authored
      
      include/violite.h:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Manual merge
      72aef9c2
    • unknown's avatar
      Fix for BUG#9213: GROUP BY returns wrong query results: · 5ac4670b
      unknown authored
      Make test_if_skip_sort_order() rebuild tab->ref if it decides to use an index
      different from the index join optimizer has choosen.  
      
      
      mysql-test/r/group_by.result:
        Testcase for BUG#9213
      mysql-test/t/group_by.test:
        Testcase for BUG#9213
      sql/table.h:
        Added comments about TABLE::used_keys
      5ac4670b
    • unknown's avatar
      BUG#8807 Select crash server · af2ab040
      unknown authored
       - Add function Item_param::fix_fields which will update any subselect they are part of and indicate that the subsleect is not const during prepare phase, and thus should not be executed during prepare.
      
      
      mysql-test/include/ps_query.inc:
        Adde new test case
      mysql-test/r/ps_2myisam.result:
        Update test result
      mysql-test/r/ps_3innodb.result:
        Update test result
      mysql-test/r/ps_4heap.result:
        Update test result
      mysql-test/r/ps_5merge.result:
        Update test result
      mysql-test/r/ps_6bdb.result:
        Update test result
      mysql-test/r/ps_7ndb.result:
        Update test result
      sql/item.cc:
        Add function Item_param::fix_fields, which will mark any subselects they are part of as not being a constant expression unless the param value is specified, ie. it will be not be constant during prepare phase.
      sql/item.h:
        Adde Item_param::fix_fields
      sql/item_subselect.h:
        Make Item_param::fix_field friend of Item_subselect
      af2ab040
    • unknown's avatar
      merged · e7121bf9
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      include/violite.h:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      e7121bf9
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 633a2468
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-4.1
      
      
      633a2468
    • unknown's avatar
      A fix (bug #9401: type_timestamp segfaults mysqld) · 216ed8c7
      unknown authored
      
      sql/sql_select.cc:
        A fix (bug #9401: type_timestamp segfaults mysqld).
        1. create_tmp_field_from_field() is modified to take 'Item_ref *item' and 'char *name'
        instead of 'bool modify_item' and 'Item *item'.
        2. For Item_sum_min/max we should never modify item, so NULL is 
        passed as item to the create_tmp_field_from_field().
      216ed8c7
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8af53376
      unknown authored
      into mysql.com:/usr/home/bar/mysql-4.1
      
      
      8af53376
    • unknown's avatar
      Remove .opt file for faster test running. · 103dddfb
      unknown authored
      
      BitKeeper/deleted/.del-ctype_cp1251-master.opt~68be9a59ec8ee106:
        Delete: mysql-test/t/ctype_cp1251-master.opt
      103dddfb
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 03951972
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      03951972