Skip to content

Fixing problem caused by non-server fields in space :format() #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2018

Conversation

bigbes
Copy link
Contributor

@bigbes bigbes commented May 11, 2018

For example:

    local space = box.schema.space.create('test', {
        format = {
            { type = compat.unsigned, name = 'field1', add_field = 1 },
            { type = compat.unsigned, name = 's1'                    },
            { type = compat.string,   name = 's2'                    },
        }
    })

field add_field causes schema parsing to fail with error
Failed to parse schema (space)'

Also added support for Tarantool 1.9+ tests

For example:
```
    local space = box.schema.space.create('test', {
        format = {
            { type = compat.unsigned, name = 'field1', add_field = 1 },
            { type = compat.unsigned, name = 's1'                    },
            { type = compat.string,   name = 's2'                    },
        }
    })
```

field `add_field` causes schema parsing to fail with error
`Failed to parse schema (space)'`

Also added support for Tarantool 1.9+ tests
@alg1973 alg1973 merged commit 3820b83 into tarantool:php7-v2 May 16, 2018
@Totktonada
Copy link
Member

Related to tarantool/tarantool#2839

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants