1. 13 Nov, 2006 2 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug18761/my50-bug18761 · 13b931a5
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/bug18761/my51-bug18761
      
      
      BitKeeper/etc/collapsed:
        auto-union
      mysql-test/r/udf.result:
        Auto merged
      mysql-test/t/udf.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/udf_example.c:
        Auto merged
      13b931a5
    • unknown's avatar
      Bug#18761: constant expression as UDF parameters not passed in as constant · e375f6e2
      unknown authored
      The code that set up data to be passed to user-defined functions was very
      old and analyzed the "Type" of the data that was passed into the UDF, when
      it really should analyze the "return_type", which is hard-coded for simple
      Items and works correctly for complex ones like functions.
      ---
      Added test at Sergei's behest.
      
      
      mysql-test/r/udf.result:
        Verify that various arguments work.
        ---
        Added test at Sergei's behest.
      mysql-test/t/udf.test:
        Verify that various arguments work.
        ---
        Added test at Sergei's behest.
      sql/item_func.cc:
        For function-Items, test whether it is constant and set the struct members 
        for the UDF parameter appropriately.
        
        Replace tabs with spaces in affected code.
      sql/udf_example.c:
        Include a simple function that is useful in testing.
      e375f6e2
  2. 30 Oct, 2006 4 commits
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint · b828f697
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/mysqld.cc:
        Manual merge
      storage/myisam/sort.c:
        Manual merge
      b828f697
    • 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 4 commits
  4. 26 Oct, 2006 13 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 18230a94
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      sql/sql_select.cc:
        Auto merged
      18230a94
    • unknown's avatar
      Update for 5.1 · d38d1451
      unknown authored
      
      include/mysql_h_abi.ic:
        Update for 5.1, don't include the info_buffer it should be an error
      d38d1451
    • 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
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 9b6f7502
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      include/Makefile.am:
        Manual merge
      9b6f7502
    • 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
      Post Merge Cleanup · 63371c40
      unknown authored
      63371c40
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 09cb66ec
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/mysql.result:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      09cb66ec
    • 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
      Merge 192.168.0.4:mysql/my51-m-bug18888 · d159075b
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      d159075b
    • unknown's avatar
      Bug#18888 Trying to overwrite sql/lex_hash.h during build · fe28a74b
      unknown authored
       - As a sideeffect of the patch to generate lex_hash.h only once
      on the machine where the source dist was produced, a problem
      was found when compiling a mysqld without partition support - it 
      would crash when looking up the lex symbols due to mismatch between
      lex.h and the generated lex_hash.h
      
       - Remove the ifdef for partition in lex.h 
       - Fix minor problem with"EXPLAIN PARTITION" when not compiled with
         partition(existed also without the above patch)
       - Add test case that will be run when we don't have partition
         support compiled into mysqld
       - Return error ER_FEATURE_DISABLED if user tries to use PARTITION
         when there is no support for it.
      
      
      sql/lex.h:
        There should be no ifdefs of features in lex.h
      sql/sql_class.cc:
        In line with the comment in sql_yacc.yy that we want the same output
        from "EXPLAIN PARTITIONS.." regardless of wheter we have compiled in
        support for partition  or not, remove the ifdef so the extra field
        is added to output if the DESCRIBE_PARTITIONS bit it set. Without
        this patch we get a crash as the code in select_describe believes the
        field is there.
      sql/sql_select.cc:
        Use "const" for the variable as it's a ssigned once and never changes
      sql/sql_yacc.yy:
        Don't allow PARTITION syntax oif there is no suport for partitioning
      mysql-test/r/not_partition.require:
        New BitKeeper file ``mysql-test/r/not_partition.require''
      mysql-test/r/not_partition.result:
        New BitKeeper file ``mysql-test/r/not_partition.result''
      mysql-test/t/not_partition.test:
        New BitKeeper file ``mysql-test/t/not_partition.test''
      fe28a74b
    • unknown's avatar
      Bug #14262 SP: DROP PROCEDURE|VIEW (maybe more) write to binlog too late (race cond) · 139a1294
      unknown authored
      - Rmove duplicate code to log a "DROP VIEW..", must be a merge miss 
      
      
      sql/sql_view.cc:
        The query should only be logged to binlog once and that is if the drop didn't produce any errors
        Removing the duplicate as that must have been a merge error
      139a1294
    • 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
    • unknown's avatar
      BitKeeper/triggers/*crash-protect.pl: Don't print messages if nothing is wrong. · c7362585
      unknown authored
      
      BitKeeper/triggers/pre-outgoing.crash-protect.pl:
        Don't print message if nothing is wrong.
      BitKeeper/triggers/pre-resolve.crash-protect.pl:
        Don't print message if nothing is wrong.
      c7362585
  5. 25 Oct, 2006 17 commits