[Groonga-commit] Broken: groonga/groonga#5838 (master - 5243b89)

Back to archive index

Travis CI build****@travi*****
Thu Aug 13 00:23:17 JST 2015


Build Update for groonga/groonga
-------------------------------------

Build: #5838
Status: Broken

Duration: 28 minutes and 6 seconds
Commit: 5243b89 (master)
Author: Kouhei Sutou
Message: column_copy: add

It's useful to change table key type and/or column type.

You can change table key type by the following sequence:

    table_create old TABLE_HASH_KEY UInt32
    column_create old column1 COLUMN_SCALAR ShortText
    column_create old column2 COLUMN_SCALAR UInt32

    table_create new TABLE_HASH_KEY ShortText
    column_create new column1 COLUMN_SCALAR ShortText
    column_create new column2 COLUMN_SCALAR UInt32

    column_copy old column1 new column1
    column_copy old column2 new column2

    table_remove old

You can change column type by the following sequence:

    table_create table TABLE_HASH_KEY UInt32
    column_create table old COLUMN_SCALAR ShortText

    column_create table new COLUMN_SCALAR Time

    column_copy table old table new
    column_remove table old
    column_rename table new old

TODO:

  * Document me
  * Add tests for error cases

View the changeset: https://github.com/groonga/groonga/compare/4da0807cb3c7...5243b8986ead

View the full build log and details: https://travis-ci.org/groonga/groonga/builds/75280432

--

You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications


-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the Groonga-commit mailing list
Back to archive index