1. 31 Oct, 2006 3 commits
  2. 30 Oct, 2006 3 commits
    • unknown's avatar
      Improve comments around FLUSH STATUS · 501d2426
      unknown authored
      It's not possible to flush the global status variables in 5.0
      Update test case so it works by recording the value of handle_rollback
      before and compare it to the value after
      
      
      mysql-test/r/innodb_mysql.result:
        Update result file
      mysql-test/t/innodb_mysql.test:
        It's not possible to reset the global status variables in 5.0 so intead its value
        is recorded and compared to the after value.
        It should not have changed.
      sql/mysqld.cc:
        Improve comments
      sql/set_var.cc:
        Improve comments
      sql/sql_class.cc:
        Improve comments
      sql/sql_class.h:
        Improve comments
      501d2426
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 3ca26c2e
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      3ca26c2e
  3. 27 Oct, 2006 2 commits
    • unknown's avatar
      Fix for bug #23412: delete rows with null date field · d2718abe
      unknown authored
      Backport of the fix for bug #8143: A date with value 0 is treated as a NULL value
      
      
      mysql-test/r/delete.result:
        Fix for bug #23412: delete rows with null date field
          - test result
      mysql-test/t/delete.test:
        Fix for bug #23412: delete rows with null date field
          - test case
      sql/sql_delete.cc:
        Fix for bug #23412: delete rows with null date field
          - during SELECT queries processing we convert 'date[time]_field is null'                   
            conditions into 'date[time]_field = 0000-00-00[ 00:00:00]' for not null                  
            DATE and DATETIME fields. To be consistent, we have to do the same for DELETE            
            queries. So we should call remove_eq_conds() in the mysql_delete() as well.              
            Also it may simplify and speed up DELETE queries execution.
      d2718abe
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 39c97dd9
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug22158/my50-bug22158
      
      39c97dd9
  4. 26 Oct, 2006 4 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · b5ec3e6f
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/t/ctype_utf8.test:
        Auto merged
      b5ec3e6f
    • unknown's avatar
      Bug#23427 incompatible ABI change in 5.0.26? · d7bc5885
      unknown authored
       - Improve icheck rules in Makefile.am
      
      
      include/Makefile.am:
        Remove m_ctype from BUILT_SOURCES, it has been in bk for a looong time.
        Improve the icheck rules
         - Abort make if icheck fails to compare, very important.
         - Don't include include files from /usr into the icheck file. Avoids problem when running
           icheck on different machines.
         - If no icheck is availabel, touch the mysql_h.ic file so it exists for "make dist"
      include/mysql_h_abi.ic:
        Remove all include files from /usr, no need to check that!
      d7bc5885
    • unknown's avatar
      Bug#20894 Reproducible MySQL client segmentation fault · 9099b414
      unknown authored
       - Add two null bytes in  "buff" variable allowing us to call
         get_arg two times also for strings longer than sizeof(buff) 
      
      
      client/mysql.cc:
        Make sure there are _two_ zero bytes at the end of buff, to allow 'get_arg' to be
        called twice on long strings. The first time it will mark end of string with a
        zero and the second time it will "skip ahead" to the first zero, and the find the
        second one indicating end of buff.
      mysql-test/r/mysql.result:
        Update test results
      mysql-test/t/mysql.test:
        Add tests for "com_connect" function in mysql
        Add test reported in bug
      9099b414
    • unknown's avatar
      Fix for bug #22158: Errors in init_connect terminate connections silently · 1d5d34b2
      unknown authored
      When executing the init_connect statement, thd->net.vio is set to 0, to         
      forbid sending any results to the client. As a side effect we don't log         
      possible errors, either.                                                        
                                                                                      
      Now we write warnings to the error log if an init_connect query                
      fails.                                                                          
      
      
      sql/sql_parse.cc:
        Fix for bug #22158: Errors in init_connect terminate connections silently
        - raise warnings if the init_connect execution fails.
      1d5d34b2
  5. 25 Oct, 2006 11 commits
  6. 24 Oct, 2006 17 commits
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · cd36ab76
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      cd36ab76
    • unknown's avatar
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/g50 · cecbd4de
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/50
      
      
      configure.in:
        Auto merged
      mysql-test/r/rename.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      mysys/mf_iocache.c:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/opt_range.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      myisam/sort.c:
        Manual merge
      mysql-test/r/innodb_mysql.result:
        Manual merge
      mysql-test/t/innodb_mysql.test:
        Manual merge
      cecbd4de
    • unknown's avatar
      Update the reference file for mysql API/ABI for 5.0 · 0e637932
      unknown authored
      
      include/mysql_h_abi.ic:
        Update the reference file for mysql API/ABI
      0e637932
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 5a189fa3
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      BitKeeper/etc/ignore:
        auto-union
      configure.in:
        Auto merged
      include/mysql.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      include/Makefile.am:
        Merge, SUPERCLEANFILES and CLEANFILES has dissapeared in 5.0
      5a189fa3
    • unknown's avatar
      Pass --core-file option to mysqld when bootstrapping · b9302078
      unknown authored
      
      BitKeeper/etc/ignore:
        Added mysql-test/r/blackhole.log to the ignore list
      b9302078
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug23427/my41-bug23427 · 1c860bc8
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      1c860bc8
    • unknown's avatar
      WL#3462 Add testing of MySQL client ABI to prevent unintentional ABI breaks · 4cc6cdf1
      unknown authored
      BUG#23427 incompatible ABI change in 5.0.26?
         - Use the icheck tool if avaliable and compare the current mysql.h to a version
      controlled reference file 
      
      
      BitKeeper/etc/ignore:
        Added include/check_abi include/mysql_h.ic to the ignore list
      configure.in:
        Look for icheck in configure
      include/Makefile.am:
        Add rule to build mysql_h.ic if icheck is avaliable
        Add rule to compare mysql_h.ic to the version
        controlled reference file mysql_h_abi.ic
      include/mysql.h:
        Add comment about taking care when editing mysql.h
        Add example how to add reserved fiels in the structs to
        allow for features to be added without breaking ABI
      include/mysql_h_abi.ic:
        Add new file describing the libmysqlclient ABI used as a reference to detect ABI breakage
      4cc6cdf1
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 60364601
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      60364601
    • unknown's avatar
      Remove debug printout · c96d7705
      unknown authored
      c96d7705
    • unknown's avatar
      Bug#23037 Bug in field "Default" of query "SHOW COLUMNS FROM table" · b12da99e
      unknown authored
       - Fix check in mysql_client_test to reflect the change of datatype
         for DEFAULT column
      
      
      tests/mysql_client_test.c:
        Update check of datatype for field DEFAULT returned from "explain"
        as datatype has changed after patch for bug 23037
      b12da99e
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · d1b4b572
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      tests/mysql_client_test.c:
        Remove the fflush(NULL) and instead explicitly fflush stdout and then stderr
      d1b4b572
    • unknown's avatar
      Run mysql_client_test without --silent · ca0d1171
      unknown authored
      Flush both stdout and stderr before abort'ing mysql_client_test
      
      
      mysql-test/mysql-test-run.pl:
        Run mysql_client_test wihtout --silent flag
      tests/mysql_client_test.c:
        Before aborting mysql_client_test in die, make sure
        to first flush stdout and finally after the error message 
        has been printed also fflush stderr
      ca0d1171
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 5aa8d933
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      5aa8d933
    • unknown's avatar
      Fix spelling errors in test files · 02e713c1
      unknown authored
      
      mysql-test/r/mysqldump-max.result:
        Update test result after fix of spelling error
      mysql-test/r/rpl_trigger.result:
        Update test result after fix of spelling error
      mysql-test/r/type_newdecimal.result:
        Update test result after fix of spelling error
      mysql-test/t/mysqldump-max.test:
        Fix spelling error "disable_warnings"
        Write shorter "drop table..."
      mysql-test/t/rpl_trigger.test:
        Fix spelling error, there is no --ignore_warnings
      mysql-test/t/type_newdecimal.test:
        Fix spelling error
      02e713c1
    • unknown's avatar
      Add analyze_testcase_failure which is called when mysqltest has failed · e1044d7b
      unknown authored
      with error 1 and we are running with --force
      The specific "analyze" code is enclosed in a .test file fwich can easily
      be modified to be more advanced 
      
      
      mysql-test/mysql-test-run.pl:
        Attempt to run some quick queries to analyze the failure when mysqltest returns 1 indicating test has failed
        Initially only code to analyze "could not sync with master" is added as that is a blackbox
        and all problems looks the same
      mysql-test/include/analyze_failure_sync_with_master.test:
        New BitKeeper file ``mysql-test/include/analyze_failure_sync_with_master.test''
      e1044d7b
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · cb1cdc5a
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      cb1cdc5a