1. 06 Nov, 2006 2 commits
  2. 30 Oct, 2006 1 commit
    • unknown's avatar
      Bug #8663 (cant use bigint as input to CAST) · f00e6bd7
      unknown authored
      decimal->ulong conversion fixed to assign max possible ULONG if decimal
      is bigger
      Item_func_unsigned now handles DECIMAL parameter separately as we can't
      rely on decimal::val_int result here.
      
      
      mysql-test/r/type_newdecimal.result:
        result fixed
      mysql-test/t/type_newdecimal.test:
        testcase
      sql/item_func.cc:
        DECIMAL_RESULT should be handled separately here as it's
        always signed.
      strings/decimal.c:
        here we assign max possible ULONG if the decimal value is bigger
      f00e6bd7
  3. 24 Oct, 2006 8 commits
    • unknown's avatar
      Merge mysql.com:/usersnfs/abotchkov/mysql-5.1-opt · decb5791
      unknown authored
      into  mysql.com:/usersnfs/abotchkov/mysql-5.1-opt1
      
      
      decb5791
    • unknown's avatar
      Merge mysql.com:/home/hf/work/current_stmt/my50-current_stmt · c0a46e71
      unknown authored
      into  mysql.com:/home/hf/work/current_stmt/my51-current_stmt
      
      
      include/mysql.h:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      c0a46e71
    • unknown's avatar
      Merge mysql.com:/home/hf/work/0current_stmt/my41-current_stmt · 81dac08b
      unknown authored
      into  mysql.com:/home/hf/work/current_stmt/my50-current_stmt
      
      
      include/mysql.h:
        merging
      libmysqld/lib_sql.cc:
        merging
      sql/sql_class.h:
        merging
      81dac08b
    • unknown's avatar
      Bug #23427 (incompatible ABI change) · 6c4aa883
      unknown authored
      the incompatibility was caused by current_stmt member added to the MYSQL
      structure.
      It's possible to move it to THD structure instead which saves ABI
      
      
      include/mysql.h:
        member moved to the THD structure
      libmysqld/lib_sql.cc:
        now we use THD member here
      sql/sql_class.h:
        current_stmt member added for the embedded server
      6c4aa883
    • unknown's avatar
      Merge mysql.com:/home/hf/work/w3475/my50-w3475 · 0eb21ee4
      unknown authored
      into  mysql.com:/home/hf/work/w3475/my51-w3475
      
      
      client/mysqltest.c:
        Auto merged
      BitKeeper/deleted/.del-bdb-deadlock.test:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/t/lock_multi.test:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      mysql-test/t/status.test:
        Auto merged
      mysql-test/include/deadlock.inc:
        SCCS merged
      0eb21ee4
    • unknown's avatar
      Merge mysql.com:/home/hf/work/w3475/my41-w3475 · cc19246f
      unknown authored
      into  mysql.com:/home/hf/work/w3475/my50-w3475
      
      
      client/mysqltest.c:
        Auto merged
      cc19246f
    • unknown's avatar
      WL#3475 merging · 430a4ad3
      unknown authored
      
      client/mysqltest.c:
        merging fixes
      430a4ad3
    • unknown's avatar
      merging fix · 7e233692
      unknown authored
      
      client/mysqltest.c:
        wrong 'while' was added instead of 'if'
      7e233692
  4. 23 Oct, 2006 2 commits
    • unknown's avatar
      Merge mysql.com:/home/hf/work/w3475/my41-w3475 · bda4032f
      unknown authored
      into  mysql.com:/home/hf/work/w3475/my50-w3475
      
      
      mysql-test/t/flush.test:
        Auto merged
      mysql-test/t/flush_block_commit.test:
        Auto merged
      mysql-test/t/innodb-deadlock.test:
        Auto merged
      mysql-test/t/innodb-lock.test:
        Auto merged
      mysql-test/t/lock_multi.test:
        Auto merged
      mysql-test/t/rename.test:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      mysql-test/t/status.test:
        Auto merged
      client/mysqltest.c:
        merging
      libmysql/libmysql.c:
        merging
      bda4032f
    • unknown's avatar
      WL#3475 (Threads for the embedded server in mysqltest) · 4ddb48c6
      unknown authored
      Necessary code added to mysqltest.c.
      Disabled tests are available now.
      
      
      client/mysqltest.c:
        do_send_query function implemented, so now 'send' command will be
        run in separate thread for the embedded server.
        Mutex and condition added to the 'connection' struct for syncronisation
        purposes. Yes it'd be easier if we had pthread_join() command
      libmysql/libmysql.c:
        this isn't actually needed and causes problems in embedded server
      mysql-test/t/bdb-deadlock.test:
        test is available for the embedded server now
      mysql-test/t/flush.test:
        test is available for the embedded server now
      mysql-test/t/flush_block_commit.test:
        test is available for the embedded server now
      mysql-test/t/innodb-deadlock.test:
        test is available for the embedded server now
      mysql-test/t/innodb-lock.test:
        test is available for the embedded server now
      mysql-test/t/lock_multi.test:
        test is available for the embedded server now
      mysql-test/t/rename.test:
        test is available for the embedded server now
      mysql-test/t/show_check.test:
        test is available for the embedded server now
      mysql-test/t/status.test:
        test is available for the embedded server now
      4ddb48c6
  5. 20 Oct, 2006 6 commits
  6. 19 Oct, 2006 19 commits
  7. 18 Oct, 2006 2 commits
    • unknown's avatar
      Merge mysql.com:/data0/bk/mysql-5.0 · ea39ca34
      unknown authored
      into  mysql.com:/data0/bk/mysql-5.0-kt
      
      
      ea39ca34
    • unknown's avatar
      BUG#23175 - MYISAM crash/repair failed during repair · 48cf65c0
      unknown authored
      Repair table could crash a server if there is not sufficient
      memory (myisam_sort_buffer_size) to operate. Affects not only
      repair, but also all statements that use create index by sort:
      repair by sort, parallel repair, bulk insert.
      
      Return an error if there is not sufficient memory to store at
      least one key per BUFFPEK.
      
      Also fixed memory leak if thr_find_all_keys returns an error.
      
      
      myisam/sort.c:
        maxbuffer is number of BUFFPEK-s for repair. It is calculated
        as records / keys. keys is number of keys that can be stored
        in memory (myisam_sort_buffer_size). There must be sufficient
        memory to store both BUFFPEK-s and keys. It was checked
        correctly before this patch. However there is another
        requirement that wasn't checked: there must be sufficient
        memory for at least one key per BUFFPEK, otherwise repair
        by sort/parallel repair cannot operate.
        
        Return an error if there is not sufficient memory to store at
        least one key per BUFFPEK.
        
        Also fixed memory leak if thr_find_all_keys returns an error.
      mysql-test/r/repair.result:
        A test case for BUG#23175.
      mysql-test/t/repair.test:
        A test case for BUG#23175.
      48cf65c0