Yii2: sqlite schema on HHVM is broken

Created on 18 Jul 2017  路  2Comments  路  Source: yiisoft/yii2

What steps will reproduce the problem?

See tests: https://travis-ci.org/yiisoft/yii2/jobs/254035826#L833

What is the expected result?

Seems the code expects 'origin' to exist as array key.

What do you get instead?

$indexes array returned by SQlite however seems to look like this on HHVM:

Array
(
    [0] => Array
        (
            [seq] => 0
            [name] => sqlite_autoindex_T_constraints_1_2
            [unique] => 1
        )

    [1] => Array
        (
            [seq] => 1
            [name] => sqlite_autoindex_T_constraints_1_1
            [unique] => 1
        )
)

@sergeymakinen seems this is related to your changes. Could you take a look at it?

hhvm compatibility important bug

Most helpful comment

Copy. I'll fix it this week.

All 2 comments

Copy. I'll fix it this week.

14497 should fix this.

Was this page helpful?
0 / 5 - 0 ratings