1. 20 Dec, 2006 1 commit
    • unknown's avatar
      merge of recent MyISAM changes into Maria. · 714f3b73
      unknown authored
      Only failure is ndb_restore - could have been worse!!
      
      
      include/pagecache.h:
        LSN->lsn
      mysys/mf_keycache.c:
        page_status is int
      mysys/mf_pagecache.c:
        merge of recent key cache changes
      sql/mysqld.cc:
        post-merge fixes
      sql/set_var.cc:
        post-merge fixes
      storage/maria/ha_maria.cc:
        merge of recent MyISAM changes into Maria
      storage/maria/ha_maria.h:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_close.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_create.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_delete.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_dynrec.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_ft_boolean_search.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_key.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_keycache.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_open.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_page.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_rsamepos.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_statrec.c:
        merge of recent MyISAM changes into Maria
      storage/maria/ma_unique.c:
        merge of recent MyISAM changes into Maria
      storage/maria/maria_chk.c:
        merge of recent MyISAM changes into Maria
      storage/maria/maria_pack.c:
        merge of recent MyISAM changes into Maria
      storage/myisam/myisampack.c:
        compiler warning
      714f3b73
  2. 19 Dec, 2006 2 commits
    • unknown's avatar
      Merge gbichot3.local:/home/mysql_src/mysql-5.1-clean · 8b998d11
      unknown authored
      into  gbichot3.local:/home/mysql_src/mysql-maria
      
      
      BitKeeper/etc/ignore:
        auto-union
      BUILD/SETUP.sh:
        Auto merged
      Makefile.am:
        Auto merged
      configure.in:
        Auto merged
      BitKeeper/triggers/post-commit:
        merge
      include/Makefile.am:
        merge
      include/my_global.h:
        merge
      include/my_sys.h:
        merge
      libmysql/Makefile.shared:
        merge
      libmysqld/Makefile.am:
        merge
      mysql-test/mysql-test-run.pl:
        merge
      mysys/Makefile.am:
        merge
      mysys/mf_keycache.c:
        merge
      mysys/mf_keycaches.c:
        merge
      mysys/my_handler.c:
        merge
      mysys/my_init.c:
        merge
      mysys/my_open.c:
        merge
      mysys/my_pread.c:
        merge
      sql/Makefile.am:
        merge
      sql/handler.h:
        merge
      sql/item_func.cc:
        merge
      sql/item_func.h:
        merge
      sql/log.cc:
        merge
      sql/mysql_priv.h:
        merge
      sql/mysqld.cc:
        merge
      sql/set_var.cc:
        merge
      sql/sql_class.h:
        merge
      sql/sql_parse.cc:
        merge
      sql/sql_select.cc:
        merge
      sql/sql_test.cc:
        merge
      sql/unireg.cc:
        merge
      storage/csv/ha_tina.cc:
        merge
      storage/myisam/ft_boolean_search.c:
        merge
      storage/myisam/ha_myisam.cc:
        merge
      storage/myisam/ha_myisam.h:
        merge
      storage/myisam/mi_create.c:
        merge
      storage/myisam/mi_delete.c:
        merge
      storage/myisam/mi_dynrec.c:
        merge
      storage/myisam/mi_key.c:
        merge
      storage/myisam/mi_open.c:
        merge
      storage/myisam/mi_test2.c:
        merge
      storage/myisam/mi_unique.c:
        merge
      storage/myisam/mi_write.c:
        merge
      storage/myisam/myisamchk.c:
        merge
      storage/myisam/myisampack.c:
        merge
      storage/myisam/sort.c:
        merge
      unittest/mytap/tap.c:
        merge
      8b998d11
    • unknown's avatar
      Maria - merging recent changes done to MyISAM into Maria. · c2f2a41e
      unknown authored
      Plus compiler warnings, and a fix to the pagecache unit tests for IA64
      
      
      include/maria.h:
        merging MyISAM into Maria
      include/myisam.h:
        post-merge fixes
      mysql-test/r/maria.result:
        merging MyISAM into Maria
      mysql-test/t/maria.test:
        merging MyISAM into Maria
      sql/mysqld.cc:
        post-merge fixes
      storage/maria/ha_maria.cc:
        merging MyISAM into Maria
      storage/maria/ha_maria.h:
        merging MyISAM into Maria
      storage/maria/ma_check.c:
        merging MyISAM into Maria
      storage/maria/ma_open.c:
        merging MyISAM into Maria
      storage/maria/ma_packrec.c:
        merging MyISAM into Maria
      storage/maria/ma_range.c:
        merging MyISAM into Maria
      storage/maria/ma_sort.c:
        merging MyISAM into Maria
      storage/maria/maria_def.h:
        merging MyISAM into Maria
      storage/maria/maria_pack.c:
        merging MyISAM into Maria
      storage/maria/plug.in:
        merging MyISAM into Maria
      storage/myisam/myisamdef.h:
        merging MyISAM into Maria
      storage/myisam/myisampack.c:
        fix for compiler warnings
      unittest/mysys/mf_pagecache_consist.c:
        this sets the stack size lower than the minimum on IA64, we remove it
        (it made the test fail)
      unittest/mysys/mf_pagecache_single.c:
        this sets the stack size lower than the minimum on IA64, we remove it
        (it made the test fail)
      c2f2a41e
  3. 18 Dec, 2006 2 commits
    • unknown's avatar
      Merge gbichot3.local:/home/mysql_src/mysql-5.1-clean · 51bb36a0
      unknown authored
      into  gbichot3.local:/home/mysql_src/mysql-maria
      
      
      BitKeeper/etc/ignore:
        auto-union
      BUILD/SETUP.sh:
        Auto merged
      Makefile.am:
        Auto merged
      config/ac-macros/plugins.m4:
        Auto merged
      configure.in:
        Auto merged
      include/Makefile.am:
        Auto merged
      include/my_base.h:
        Auto merged
      include/my_dbug.h:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysys/Makefile.am:
        Auto merged
      mysys/my_pread.c:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/unireg.cc:
        Auto merged
      storage/csv/ha_tina.cc:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      storage/myisam/ha_myisam.h:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      storage/myisam/mi_packrec.c:
        Auto merged
      storage/myisam/mi_range.c:
        Auto merged
      storage/myisam/myisampack.c:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      storage/myisammrg/ha_myisammrg.h:
        Auto merged
      unittest/mytap/tap.c:
        Auto merged
      include/myisam.h:
        merge
      sql/mysqld.cc:
        merge
      storage/myisam/mi_check.c:
        merge
      storage/myisam/myisamdef.h:
        merge
      51bb36a0
    • unknown's avatar
      WL#3071 Maria checkpoint · 7199c905
      unknown authored
      - cleanups, simplifications
      - moving the construction of the "dirty pages table" into the
      pagecache where it belongs (because it's the pagecache which knows
      dirty pages). TODO: do the same soon for the "transactions table".
      - fix for a small bug in the pagecache (decrementation of "changed_blocks")
      
      
      include/pagecache.h:
        prototype
      mysys/mf_pagecache.c:
        m_string.h moves up for LEX_STRING to be known for pagecache.h.
        In pagecache_delete_page(), we must decrement "blocks_changed" even
        if we just delete the page without flushing it.
        A new function pagecache_collect_changed_blocks_with_LSN()
        (used by the Checkpoint module), which stores information about the
        changed blocks (a.k.a. "the dirty pages table") into a LEX_STRING.
        This function is not tested now, it will be when there is a Checkpoint.
      storage/maria/ma_checkpoint.c:
        refining the checkpoint code: factoring functions, moving the
        construction of the "dirty pages table" into mf_pagecache.c
        (I'll do the same with the construction of the "transactions table"
        once Serg tells me what's the best way to do it).
      storage/maria/ma_least_recently_dirtied.c:
        Simplifying the thread which does background flushing of
        least-recently-dirtied pages:
        - in first version that thread will not flush, just do checkpoints
        - in 2nd version, flushing should re-use existing page cache functions
        like flush_pagecache_blocks().
      unittest/mysys/test_file.h:
        m_string.h moves up for LEX_STRING to be known in pagecache.h
      7199c905
  4. 16 Dec, 2006 2 commits
    • unknown's avatar
      WL#3071 - Maria checkpoint. Correcting comment about a bad problem. · 71b40497
      unknown authored
      
      storage/maria/ma_checkpoint.c:
        I was too optimistic; problem 1) is really a bad problem.
      71b40497
    • unknown's avatar
      WL#3071 - Maria checkpoint · fa05e9c9
      unknown authored
      Adding rec_lsn to Maria's page cache. Misc fixes to Checkpoint.
      
      
      mysys/mf_pagecache.c:
        adding rec_lsn, the LSN when a page first became dirty.
        It is set when unlocking a page (TODO: should also be set when
        the unlocking is an implicit part of pagecache_write()).
        It is reset in link_to_file_list() and free_block()
        (one of which is used every time we flush a block).
        It is a ulonglong and not LSN, because its destination is comparisons
        for which ulonglong is better than a struct.
      storage/maria/ma_checkpoint.c:
        misc fixes to Checkpoint (updates now that the transaction manager
        and the page cache are more known)
      storage/maria/ma_close.c:
        an important note for the future.
      storage/maria/ma_least_recently_dirtied.c:
        comment
      fa05e9c9
  5. 14 Dec, 2006 5 commits
  6. 12 Dec, 2006 5 commits
  7. 11 Dec, 2006 2 commits
  8. 07 Dec, 2006 14 commits
  9. 06 Dec, 2006 7 commits
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 1fb5bd37
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-maint
      
      
      client/mysqltest.c:
        Auto merged
      mysys/my_getopt.c:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      mysql-test/t/disabled.def:
        Manual merge
      1fb5bd37
    • unknown's avatar
      Only call mysql_server_end if mysql_server_init has been called. · d5e094d7
      unknown authored
      Remove DBUG_ENTER in my_end
      
      
      client/mysqltest.c:
        Call 'mysql_server_end' as last function in 'free_used_memory'
        Don't use DBUG_VOID_RETURN after mysql_server_end in free_used_memory
        Only call mysql_server_end if mysql_server_init has been called
      d5e094d7
    • unknown's avatar
    • unknown's avatar
      Merge mysql.com:/home/hf/work/22372/my41-22372 · 8f3c395c
      unknown authored
      into  mysql.com:/home/hf/work/22372/my50-22372
      
      
      mysql-test/r/gis.result:
        merging
      mysql-test/t/gis.test:
        merging
      sql/field.cc:
        merging
      sql/field.h:
        merging
      sql/sql_load.cc:
        merging
      8f3c395c
    • unknown's avatar
      bug #22372 · 63fce3a2
      unknown authored
      datafile added to be used in gis.test
      
      
      mysql-test/std_data/bad_gis_data.dat:
        New BitKeeper file ``mysql-test/std_data/bad_gis_data.dat''
      63fce3a2
    • unknown's avatar
      bug #22372 (LOAD DATA crashes the table with the geometry field) · fa115a0f
      unknown authored
      The problem is that the GEOMETRY NOT NULL can't automatically set
      any value as a default one. We always tried to complete LOAD DATA
      command even if there's not enough data in file. That doesn't work
      for GEOMETRY NOT NULL. Now Field_*::reset() returns an error sign
      and it's checked in mysql_load()
      
      
      mysql-test/r/gis.result:
        test result
      mysql-test/t/gis.test:
        testcase
      sql/field.cc:
        reset() now returns error sign
      sql/field.h:
        Field_*::reset() now returns error sign if the field can't be reset
      sql/sql_load.cc:
        check if field can't be reset and return error if it's so
      fa115a0f
    • unknown's avatar
      Adjust replace to mask win paths · c0efc717
      unknown authored
      c0efc717