1. 02 Nov, 2006 1 commit
    • unknown's avatar
      Fix for bug #23762: partition.test fails (partition_hash, partition_pruning as well) · dc0fdd8b
      unknown authored
      When partition pruning is used we have to initialize key_part->flag in the 
      create_partition_index_descr() as it's checked in the get_mm_leaf().
      
      
      sql/opt_range.cc:
        Fix for bug #23762: partition.test fails (partition_hash, partition_pruning as well)
          - set key_part->flag to 0.
      sql/opt_range.h:
        Fix for bug #23762: partition.test fails (partition_hash, partition_pruning as well)
          - comment added.
      dc0fdd8b
  2. 27 Oct, 2006 3 commits
  3. 26 Oct, 2006 12 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 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
  4. 25 Oct, 2006 21 commits
  5. 24 Oct, 2006 3 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