-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
CUBRID (remove o move to extesion) database support from Yii2 core. #20544
Replies: 4 comments · 9 replies
-
I'm in favor of removing it. People who use it can stay on previous version or migrate to anotjer supported db. I doubt if such users exists though. I would love to be proven wrong! |
Beta Was this translation helpful? Give feedback.
All reactions
-
Technically this is a huge BC break. I don't think that this should be done in a minor release. |
Beta Was this translation helpful? Give feedback.
All reactions
-
btw, i'm not suggesting only elimination, but moving CUBRID to a dedicated extension with the following approach: Implementation details:
Benefits for the framework:
Laravel and Symfony have also moved beyond legacy support, they're excellent frameworks like Yii2 that continue evolving. This is exactly what we want here.
When we eventually move to PHP That's my two cents. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Then mark it as deprecated. It is simple, requires very little effort, keeps BC, and sends a clear signal to users "do not use it". I really don't understand why do we have such a discussion. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Because we believe Yii should be maintained and get new language features for quiet sometime. This specific code will no longer be updated with new version of Cubrid, is untested and will just be a bad taste to a framework. At worst case, my opinion is it should go to an extension and slowly die there. And if someone deems important can make PR |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
![]() There were 39 errors:
1) yiiunit\framework\db\cubrid\ActiveFixtureTest::testGetData
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: DELETE FROM "dba"."customer"
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:134
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:123
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:119
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:132
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:210
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:42
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:134
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:123
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:119
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:132
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:210
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:42
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
2) yiiunit\framework\db\cubrid\ActiveFixtureTest::testGetModel
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: DELETE FROM "dba"."customer"
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:134
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:123
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:119
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:132
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:210
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:61
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:134
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:123
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:119
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:132
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:210
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:61
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
3) yiiunit\framework\db\cubrid\ActiveFixtureTest::testDataDirectory
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: DELETE FROM "dba"."customer"
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:134
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:123
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:119
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:132
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:210
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:80
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:134
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:123
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:119
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:132
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:210
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:80
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
4) yiiunit\framework\db\cubrid\ActiveFixtureTest::testDataPath
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: DELETE FROM "dba"."customer"
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:134
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:123
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:119
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:132
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:210
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:94
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:134
/home/runner/work/yii2/yii2/framework/test/ActiveFixture.php:123
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:119
/home/runner/work/yii2/yii2/framework/test/FixtureTrait.php:132
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:210
/home/runner/work/yii2/yii2/tests/framework/test/ActiveFixtureTest.php:94
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
5) yiiunit\framework\db\cubrid\ActiveRecordTest::testJoinWithEager
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966802 DBMS, Semantic: Reference to id is ambiguous. select [dba.customer].id, [dba.customer].email, [dba.custome...[CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: SELECT "customer".* FROM "customer" LEFT JOIN "order" ON "customer"."id" = "order"."customer_id" LEFT JOIN "order_item" ON "order"."id" = "order_item"."order_id" LEFT JOIN "item" ON "order_item"."item_id" = "item"."id" ORDER BY "id"
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:417
/home/runner/work/yii2/yii2/framework/db/Query.php:249
/home/runner/work/yii2/yii2/framework/db/ActiveQuery.php:152
/home/runner/work/yii2/yii2/tests/framework/db/ActiveRecordTest.php:797
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966802 DBMS, Semantic: Reference to id is ambiguous. select [dba.customer].id, [dba.customer].email, [dba.custome...[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:417
/home/runner/work/yii2/yii2/framework/db/Query.php:249
/home/runner/work/yii2/yii2/framework/db/ActiveQuery.php:152
/home/runner/work/yii2/yii2/tests/framework/db/ActiveRecordTest.php:797
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
6) yiiunit\framework\db\cubrid\ActiveRecordTest::testJoinWithAlias with data set #0 ('explicit')
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966802 DBMS, Semantic: Reference to id is ambiguous. select [dba.customer].id, [dba.customer].email, [dba.custome...[CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: SELECT "customer".* FROM "customer" INNER JOIN "order" "o" ON "customer"."id" = "o"."customer_id" WHERE ("o"."id"=:qp0) AND ("customer"."id"=:qp1) ORDER BY "id"
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:431
/home/runner/work/yii2/yii2/framework/db/Query.php:287
/home/runner/work/yii2/yii2/framework/db/ActiveQuery.php:328
/home/runner/work/yii2/yii2/tests/framework/db/ActiveRecordTest.php:980
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966802 DBMS, Semantic: Reference to id is ambiguous. select [dba.customer].id, [dba.customer].email, [dba.custome...[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:431
/home/runner/work/yii2/yii2/framework/db/Query.php:287
/home/runner/work/yii2/yii2/framework/db/ActiveQuery.php:328
/home/runner/work/yii2/yii2/tests/framework/db/ActiveRecordTest.php:980
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
7) yiiunit\framework\db\cubrid\ActiveRecordTest::testUnlinkAllOnCondition
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_item_item_id'.[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: DELETE FROM "item" WHERE ("category_id"=2) AND ("item"."id" IN (1, 2, 3))
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:1577
/home/runner/work/yii2/yii2/tests/framework/db/ActiveRecordTest.php:1771
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_item_item_id'.[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:1577
/home/runner/work/yii2/yii2/tests/framework/db/ActiveRecordTest.php:1771
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
8) yiiunit\framework\db\cubrid\ActiveRecordTest::testUnlink
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_item_order_id'.[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: DELETE FROM "order" WHERE "id"=3
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:804
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:763
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:1460
/home/runner/work/yii2/yii2/tests/framework/ar/ActiveRecordTestTrait.php:752
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_item_order_id'.[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:804
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:763
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:1460
/home/runner/work/yii2/yii2/tests/framework/ar/ActiveRecordTestTrait.php:752
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
9) yiiunit\framework\db\cubrid\ActiveRecordTest::testUnlinkAll
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_item_order_id'.[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: DELETE FROM "order" WHERE "customer_id"=2
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:1577
/home/runner/work/yii2/yii2/tests/framework/ar/ActiveRecordTestTrait.php:797
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_item_order_id'.[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:1577
/home/runner/work/yii2/yii2/tests/framework/ar/ActiveRecordTestTrait.php:797
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
10) yiiunit\framework\db\cubrid\ActiveRecordTest::testUnlinkAllAndConditionDelete
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_item_order_id'.[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: DELETE FROM "order" WHERE ("customer_id"=1) AND ("total" > 50)
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:1577
/home/runner/work/yii2/yii2/tests/framework/ar/ActiveRecordTestTrait.php:886
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_item_order_id'.[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:1577
/home/runner/work/yii2/yii2/tests/framework/ar/ActiveRecordTestTrait.php:886
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
11) yiiunit\framework\db\cubrid\ActiveRecordTest::testDelete
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: DELETE FROM "customer" WHERE "id"=2
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:804
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:763
/home/runner/work/yii2/yii2/tests/framework/ar/ActiveRecordTestTrait.php:1059
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:804
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:763
/home/runner/work/yii2/yii2/tests/framework/ar/ActiveRecordTestTrait.php:1059
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
12) yiiunit\framework\db\cubrid\CommandTest::testBindParamsNonWhere with data set #0 ('SELECT SUBSTR(name, :len) FRO... :len)')
yii\db\Exception: SQLSTATE[HY000]: General error: 4294937279 CLIENT, Param not bind
The SQL being executed was: SELECT SUBSTR(name, 5) FROM "customer" WHERE "email" = [email protected] GROUP BY SUBSTR(name, 5)
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1186
/home/runner/work/yii2/yii2/framework/db/Command.php:443
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:266
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294937279 CLIENT, Param not bind
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1186
/home/runner/work/yii2/yii2/framework/db/Command.php:443
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:266
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
13) yiiunit\framework\db\cubrid\CommandTest::testBindParamsNonWhere with data set #1 ('SELECT SUBSTR(name, :len) FRO... :len)')
yii\db\Exception: SQLSTATE[HY000]: General error: 4294937279 CLIENT, Param not bind
The SQL being executed was: SELECT SUBSTR(name, 5) FROM "customer" WHERE "email" = [email protected] ORDER BY SUBSTR(name, 5)
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1186
/home/runner/work/yii2/yii2/framework/db/Command.php:443
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:266
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294937279 CLIENT, Param not bind
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1186
/home/runner/work/yii2/yii2/framework/db/Command.php:443
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:266
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
14) yiiunit\framework\db\cubrid\CommandTest::testBatchInsert
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 4636, column 31 before 'example.com, t1, t1 address), ([email protected], NULL, 0)'
Syntax error: unexpected '@', expecting ',' or ')' [CAS INFO-127.0.0.1:33000,3,44].
Failed to prepare SQL: INSERT INTO "customer" ("email", "name", "address") VALUES ([email protected], t1, t1 address), ([email protected], NULL, 0)
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:304
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 4636, column 31 before 'example.com, t1, t1 address), ([email protected], NULL, 0)'
Syntax error: unexpected '@', expecting ',' or ')' [CAS INFO-127.0.0.1:33000,3,44].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:304
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
15) yiiunit\framework\db\cubrid\CommandTest::testBatchInsertDataTypesLocale
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966802 DBMS, Semantic: before ' , 9.735, 1), (2, B, -2.123, 0), (3, C, 2.123, 0)'
Attribute "A" was not found. insert into [dba.type] [dba.type] ([dba.type].int_col, [dba....[CAS INFO-127.0.0.1:33000,3,44].
The SQL being executed was: INSERT INTO "type" ("int_col", "char_col", "float_col", "bool_col") VALUES (1, A, 9.735, 1), (2, B, -2.123, 0), (3, C, 2.123, 0)
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:350
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966802 DBMS, Semantic: before ' , 9.735, 1), (2, B, -2.123, 0), (3, C, 2.123, 0)'
Attribute "A" was not found. insert into [dba.type] [dba.type] ([dba.type].int_col, [dba....[CAS INFO-127.0.0.1:33000,3,44].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:350
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
16) yiiunit\framework\db\cubrid\CommandTest::testBatchInsertSQL with data set "issue11242" ('type', array('int_col', 'float_col', 'char_col'), array(array('', '', 'Kyiv {{city}}, Ukraine')), 'INSERT INTO "type" ("int_col"...aine')')
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 5563, column 47 before 'city}}, Ukraine)'
Syntax error: unexpected '{' [CAS INFO-127.0.0.1:33000,3,44].
Failed to prepare SQL: INSERT INTO "type" ("int_col", "float_col", "char_col") VALUES (NULL, NULL, Kyiv {{city}}, Ukraine)
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:432
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 5563, column 47 before 'city}}, Ukraine)'
Syntax error: unexpected '{' [CAS INFO-127.0.0.1:33000,3,44].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:432
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
17) yiiunit\framework\db\cubrid\CommandTest::testBatchInsertSQL with data set "wrongBehavior" ('{{%type}}', array('{{%type}}.[[int_col]]', '[[float_col]]', 'char_col'), array(array('', '', 'Kyiv {{city}}, Ukraine')), 'INSERT INTO "type" ("int_col"...aine')')
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 5872, column 15 before '"int_col", "float_col", "char_col") VALUES (, , Kyiv {{city}},...'
Syntax error: unexpected '.', expecting ',' or ')' [CAS INFO-127.0.0.1:33000,3,44].
Failed to prepare SQL: INSERT INTO "type" ("type"."int_col", "float_col", "char_col") VALUES (, , Kyiv {{city}}, Ukraine)
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:432
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 5872, column 15 before '"int_col", "float_col", "char_col") VALUES (, , Kyiv {{city}},...'
Syntax error: unexpected '.', expecting ',' or ')' [CAS INFO-127.0.0.1:33000,3,44].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:432
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
18) yiiunit\framework\db\cubrid\CommandTest::testBatchInsertSQL with data set "batchInsert binds params from expression" ('{{%type}}', array('int_col'), array(array(yii\db\Expression Object (...))), 'INSERT INTO `type` (`int_col`...(:qp1)', array(42))
yii\db\Exception: SQLSTATE[HY000]: General error: 4294967071 DBMS, Missing value for attribute "bool_col" with the NOT NULL constraint.[CAS INFO-127.0.0.1:33000,3,44].
Failed to prepare SQL: INSERT INTO "type" ("int_col") VALUES (:qp1)
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:432
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294967071 DBMS, Missing value for attribute "bool_col" with the NOT NULL constraint.[CAS INFO-127.0.0.1:33000,3,44].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:432
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
19) yiiunit\framework\db\cubrid\CommandTest::testInsert
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,3,44].
The SQL being executed was: DELETE FROM "customer"
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:440
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,3,44].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:440
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
20) yiiunit\framework\db\cubrid\CommandTest::testInsertSelect
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,3,44].
The SQL being executed was: DELETE FROM "customer"
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:503
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,3,44].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:503
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
21) yiiunit\framework\db\cubrid\CommandTest::testInsertSelectAlias
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,3,44].
The SQL being executed was: DELETE FROM "customer"
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:557
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966372 DBMS, Update/Delete operations are restricted by the foreign key 'fk_order_customer_id'.[CAS INFO-127.0.0.1:33000,3,44].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:557
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
22) yiiunit\framework\db\cubrid\CommandTest::testAddDropForeignKey
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966377 DBMS, The class 'dba.test_fk' referred by the foreign key does not have the primary key.[CAS INFO-127.0.0.1:33000,3,44].
The SQL being executed was: ALTER TABLE "test_fk" ADD CONSTRAINT "test_fk_constraint" FOREIGN KEY ("int1") REFERENCES "test_fk" ("int3")
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:1123
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966377 DBMS, The class 'dba.test_fk' referred by the foreign key does not have the primary key.[CAS INFO-127.0.0.1:33000,3,44].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:1123
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
23) yiiunit\framework\db\cubrid\CommandTest::testAutoRefreshTableSchema
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 62747, column 70 before ' comment'
Syntax error: unexpected 'Test' [CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: ALTER TABLE "test" CHANGE "id" "id" INTEGER AUTO_INCREMENT (1, 1) NOT NULL COMMENT Test comment
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:1441
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 62747, column 70 before ' comment'
Syntax error: unexpected 'Test' [CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:1441
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
24) yiiunit\framework\db\cubrid\ConnectionTest::testTransactionIsolation
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966801 DBMS, Execute: Isolation level value in MVCC must be 'read committed', 'repeatable read' or 'serializable'. set transaction isolation level 3[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: SET TRANSACTION ISOLATION LEVEL 3
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/Schema.php:418
/home/runner/work/yii2/yii2/framework/db/cubrid/Schema.php:369
/home/runner/work/yii2/yii2/framework/db/Transaction.php:128
/home/runner/work/yii2/yii2/framework/db/Connection.php:798
/home/runner/work/yii2/yii2/tests/framework/db/ConnectionTest.php:212
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966801 DBMS, Execute: Isolation level value in MVCC must be 'read committed', 'repeatable read' or 'serializable'. set transaction isolation level 3[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/Schema.php:418
/home/runner/work/yii2/yii2/framework/db/cubrid/Schema.php:369
/home/runner/work/yii2/yii2/framework/db/Transaction.php:128
/home/runner/work/yii2/yii2/framework/db/Connection.php:798
/home/runner/work/yii2/yii2/tests/framework/db/ConnectionTest.php:212
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
25) yiiunit\framework\db\cubrid\ConnectionTest::testTransactionShortcutCustom
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966801 DBMS, Execute: Isolation level value in MVCC must be 'read committed', 'repeatable read' or 'serializable'. set transaction isolation level 3[CAS INFO-127.0.0.1:33000,1,42].
The SQL being executed was: SET TRANSACTION ISOLATION LEVEL 3
/home/runner/work/yii2/yii2/framework/db/Schema.php:676
/home/runner/work/yii2/yii2/framework/db/Command.php:1325
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/Schema.php:418
/home/runner/work/yii2/yii2/framework/db/cubrid/Schema.php:369
/home/runner/work/yii2/yii2/framework/db/Transaction.php:128
/home/runner/work/yii2/yii2/framework/db/Connection.php:798
/home/runner/work/yii2/yii2/framework/db/Connection.php:814
/home/runner/work/yii2/yii2/tests/framework/db/ConnectionTest.php:269
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966801 DBMS, Execute: Isolation level value in MVCC must be 'read committed', 'repeatable read' or 'serializable'. set transaction isolation level 3[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:1320
/home/runner/work/yii2/yii2/framework/db/Command.php:1120
/home/runner/work/yii2/yii2/framework/db/Schema.php:418
/home/runner/work/yii2/yii2/framework/db/cubrid/Schema.php:369
/home/runner/work/yii2/yii2/framework/db/Transaction.php:128
/home/runner/work/yii2/yii2/framework/db/Connection.php:798
/home/runner/work/yii2/yii2/framework/db/Connection.php:814
/home/runner/work/yii2/yii2/tests/framework/db/ConnectionTest.php:269
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
26) yiiunit\framework\db\cubrid\ExistValidatorTest::testValidateValue
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.validator_ref". select case when exists (select * from [dba.validator_ref] ...[CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: SELECT CASE WHEN EXISTS(SELECT * FROM "validator_ref" WHERE "id"=:qp0) THEN 1 ELSE 0 END
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:443
/home/runner/work/yii2/yii2/framework/db/Query.php:446
/home/runner/work/yii2/yii2/framework/validators/ExistValidator.php:291
/home/runner/work/yii2/yii2/framework/validators/ExistValidator.php:270
/home/runner/work/yii2/yii2/framework/db/Connection.php:1130
/home/runner/work/yii2/yii2/framework/validators/ExistValidator.php:271
/home/runner/work/yii2/yii2/framework/validators/ExistValidator.php:253
/home/runner/work/yii2/yii2/framework/validators/Validator.php:321
/home/runner/work/yii2/yii2/tests/framework/validators/ExistValidatorTest.php:55
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.validator_ref". select case when exists (select * from [dba.validator_ref] ...[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:443
/home/runner/work/yii2/yii2/framework/db/Query.php:446
/home/runner/work/yii2/yii2/framework/validators/ExistValidator.php:291
/home/runner/work/yii2/yii2/framework/validators/ExistValidator.php:270
/home/runner/work/yii2/yii2/framework/db/Connection.php:1130
/home/runner/work/yii2/yii2/framework/validators/ExistValidator.php:271
/home/runner/work/yii2/yii2/framework/validators/ExistValidator.php:253
/home/runner/work/yii2/yii2/framework/validators/Validator.php:321
/home/runner/work/yii2/yii2/tests/framework/validators/ExistValidatorTest.php:55
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
27) yiiunit\framework\db\cubrid\ExistValidatorTest::testValidateAttribute
yii\base\InvalidConfigException: The table does not exist: validator_ref
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:445
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:266
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:238
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:195
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:110
/home/runner/work/yii2/yii2/tests/framework/validators/ExistValidatorTest.php:65
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
28) yiiunit\framework\db\cubrid\ExistValidatorTest::testTargetRelation
yii\base\InvalidConfigException: The table does not exist: validator_main
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:445
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:466
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:182
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:110
/home/runner/work/yii2/yii2/tests/framework/validators/ExistValidatorTest.php:221
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
29) yiiunit\framework\db\cubrid\ExistValidatorTest::testTargetRelationWithFilter
yii\base\InvalidConfigException: The table does not exist: validator_main
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:445
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:466
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:182
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:110
/home/runner/work/yii2/yii2/tests/framework/validators/ExistValidatorTest.php:235
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
30) yiiunit\framework\db\cubrid\ExistValidatorTest::testForceMaster
yii\base\InvalidConfigException: The table does not exist: validator_main
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:445
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:466
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:182
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:110
/home/runner/work/yii2/yii2/tests/framework/validators/ExistValidatorTest.php:254
/home/runner/work/yii2/yii2/framework/db/Connection.php:1130
/home/runner/work/yii2/yii2/tests/framework/validators/ExistValidatorTest.php:255
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
31) yiiunit\framework\db\cubrid\QueryBuilderTest::testCommentColumn
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.comment". [CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: SHOW CREATE TABLE "comment"
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:431
/home/runner/work/yii2/yii2/framework/db/cubrid/QueryBuilder.php:270
/home/runner/work/yii2/yii2/framework/db/cubrid/QueryBuilder.php:221
/home/runner/work/yii2/yii2/tests/framework/db/QueryBuilderTest.php:2425
/home/runner/work/yii2/yii2/tests/framework/db/cubrid/QueryBuilderTest.php:66
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.comment". [CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:431
/home/runner/work/yii2/yii2/framework/db/cubrid/QueryBuilder.php:270
/home/runner/work/yii2/yii2/framework/db/cubrid/QueryBuilder.php:221
/home/runner/work/yii2/yii2/tests/framework/db/QueryBuilderTest.php:2425
/home/runner/work/yii2/yii2/tests/framework/db/cubrid/QueryBuilderTest.php:66
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
32) yiiunit\framework\db\cubrid\QueryBuilderTest::testCreateTableColumnTypes
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 71742, column 9 before '15) CHECK ("col23" > 5.6),
"col24" double(15) NOT NULL,
"col...'
Syntax error: unexpected '(', expecting REFERENCES [CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: CREATE TABLE "column_type_table" (
"col1" bigint,
"col2" bigint NOT NULL,
"col3" bigint CHECK ("col3" > 5),
"col4" bigint,
"col5" bigint CHECK ("col5" > 5),
"col6" blob,
"col7" smallint NOT NULL DEFAULT 1,
"col8" smallint,
"col9" char(1) CHECK ("col9" LIKE "test%"),
"col10" char(1) NOT NULL,
"col11" char(6) CHECK ("col11" LIKE "test%"),
"col12" char(6),
"col13" char(1),
"col14" date NOT NULL,
"col15" date,
"col16" datetime NOT NULL,
"col17" datetime,
"col18" decimal(10,0) CHECK ("col18" > 5.6),
"col19" decimal(10,0) NOT NULL,
"col20" decimal(12,4) CHECK ("col20" > 5.6),
"col21" decimal(12,4),
"col22" decimal(10,0),
"col23" double(15) CHECK ("col23" > 5.6),
"col24" double(15) NOT NULL,
"col25" double(16) CHECK ("col25" > 5.6),
"col26" double(16),
"col27" double(15),
"col28" float(7) CHECK ("col28" > 5.6),
"col29" float(7) NOT NULL,
"col30" float(16) CHECK ("col30" > 5.6),
"col31" float(16),
"col32" float(7),
"col33" int CHECK ("col33" > 5),
"col34" int NOT NULL,
"col35" int CHECK ("col35" > 5),
"col36" int,
"col37" int,
"col38" decimal(19,4) CHECK ("col38" > 0.0),
"col39" decimal(19,4) NOT NULL,
"col40" decimal(16,2) CHECK ("col40" > 0.0),
"col41" decimal(16,2),
"col42" decimal(19,4),
"col43" smallint,
"col44" smallint UNSIGNED,
"col45" smallint,
"col46" smallint,
"col47" smallint,
"col48" varchar(255) CHECK ("col48" LIKE 'test%'),
"col49" varchar(255) NOT NULL,
"col50" varchar(32) CHECK ("col50" LIKE 'test%'),
"col51" varchar(32),
"col52" varchar(255),
"col53" varchar CHECK ("col53" LIKE 'test%'),
"col54" varchar NOT NULL,
"col55" varchar CHECK ("col55" LIKE 'test%'),
"col56" varchar NOT NULL,
"col57" varchar,
"col58" varchar,
"col59" time NOT NULL,
"col60" time,
"col61" timestamp NOT NULL,
"col62" timestamp,
"col63" timestamp NULL DEFAULT NULL,
"col64" int COMMENT 'test comment'
)
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/tests/framework/db/QueryBuilderTest.php:1102
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 71742, column 9 before '15) CHECK ("col23" > 5.6),
"col24" double(15) NOT NULL,
"col...'
Syntax error: unexpected '(', expecting REFERENCES [CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/tests/framework/db/QueryBuilderTest.php:1102
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
33) yiiunit\framework\db\cubrid\QueryTest::testMultipleLikeConditions
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 78851, column 38 before '1), (test\2), (foo%), (%bar), (%baz%)'
Syntax error: unexpected '\', expecting ',' or ')' [CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: INSERT INTO "like_test" ("col") VALUES (test0), (test\1), (test\2), (foo%), (%bar), (%baz%)
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/tests/framework/db/QueryTest.php:636
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: In line 78851, column 38 before '1), (test\2), (foo%), (%bar), (%baz%)'
Syntax error: unexpected '\', expecting ',' or ')' [CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/tests/framework/db/QueryTest.php:636
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
34) yiiunit\framework\db\cubrid\SchemaTest::testFindUniqueIndexes
yii\base\NotSupportedException: yii\db\cubrid\Schema does not support getting unique indexes information.
/home/runner/work/yii2/yii2/framework/db/Schema.php:354
/home/runner/work/yii2/yii2/tests/framework/db/SchemaTest.php:601
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
35) yiiunit\framework\db\cubrid\UniqueValidatorTest::testValidateAttributeDefault
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.validator_main". select * from [dba.validator_main][CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: SELECT * FROM "validator_main"
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:431
/home/runner/work/yii2/yii2/framework/db/Query.php:287
/home/runner/work/yii2/yii2/framework/db/ActiveQuery.php:328
/home/runner/work/yii2/yii2/tests/framework/validators/UniqueValidatorTest.php:99
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.validator_main". select * from [dba.validator_main][CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:431
/home/runner/work/yii2/yii2/framework/db/Query.php:287
/home/runner/work/yii2/yii2/framework/db/ActiveQuery.php:328
/home/runner/work/yii2/yii2/tests/framework/validators/UniqueValidatorTest.php:99
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
36) yiiunit\framework\db\cubrid\UniqueValidatorTest::testValidateAttributeOfNonARModel
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.validator_ref". select case when exists (select * from [dba.validator_ref] ...[CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: SELECT CASE WHEN EXISTS(SELECT * FROM "validator_ref" WHERE "validator_ref"."ref"=:qp0) THEN 1 ELSE 0 END
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:443
/home/runner/work/yii2/yii2/framework/db/Query.php:446
/home/runner/work/yii2/yii2/framework/validators/UniqueValidator.php:195
/home/runner/work/yii2/yii2/framework/validators/UniqueValidator.php:153
/home/runner/work/yii2/yii2/framework/db/Connection.php:1130
/home/runner/work/yii2/yii2/framework/validators/UniqueValidator.php:154
/home/runner/work/yii2/yii2/tests/framework/validators/UniqueValidatorTest.php:132
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.validator_ref". select case when exists (select * from [dba.validator_ref] ...[CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1181
/home/runner/work/yii2/yii2/framework/db/Command.php:443
/home/runner/work/yii2/yii2/framework/db/Query.php:446
/home/runner/work/yii2/yii2/framework/validators/UniqueValidator.php:195
/home/runner/work/yii2/yii2/framework/validators/UniqueValidator.php:153
/home/runner/work/yii2/yii2/framework/db/Connection.php:1130
/home/runner/work/yii2/yii2/framework/validators/UniqueValidator.php:154
/home/runner/work/yii2/yii2/tests/framework/validators/UniqueValidatorTest.php:132
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
37) yiiunit\framework\db\cubrid\UniqueValidatorTest::testValidateNonDatabaseAttribute
yii\base\InvalidConfigException: The table does not exist: validator_main
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:445
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:466
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:182
/home/runner/work/yii2/yii2/framework/db/BaseActiveRecord.php:110
/home/runner/work/yii2/yii2/tests/framework/validators/UniqueValidatorTest.php:142
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
38) yiiunit\framework\db\cubrid\UniqueValidatorTest::testValidateEmptyAttributeInStringField
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.validator_main". delete [dba.validator_main] from [dba.validator_main][CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: DELETE FROM "validator_main"
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/tests/framework/validators/UniqueValidatorTest.php:284
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.validator_main". delete [dba.validator_main] from [dba.validator_main][CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/tests/framework/validators/UniqueValidatorTest.php:284
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
39) yiiunit\framework\db\cubrid\UniqueValidatorTest::testValidateEmptyAttributeInIntField
yii\db\Exception: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.validator_ref". delete [dba.validator_ref] from [dba.validator_ref][CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: DELETE FROM "validator_ref"
/home/runner/work/yii2/yii2/framework/db/Command.php:272
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/tests/framework/validators/UniqueValidatorTest.php:306
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
Caused by
PDOException: SQLSTATE[HY000]: General error: 4294966803 DBMS, Syntax: Unknown class "dba.validator_ref". delete [dba.validator_ref] from [dba.validator_ref][CAS INFO-127.0.0.1:33000,1,42].
/home/runner/work/yii2/yii2/framework/db/Command.php:267
/home/runner/work/yii2/yii2/framework/db/Command.php:1115
/home/runner/work/yii2/yii2/framework/db/ActiveRecord.php:405
/home/runner/work/yii2/yii2/tests/framework/validators/UniqueValidatorTest.php:306
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
--
There were 20 failures:
1) yiiunit\framework\db\cubrid\ActiveRecordTest::testCastValues
Failed asserting that 1 is identical to true.
/home/runner/work/yii2/yii2/tests/framework/db/ActiveRecordTest.php:1449
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
2) yiiunit\framework\db\cubrid\ActiveRecordTest::testBit
Failed asserting that true matches expected false.
/home/runner/work/yii2/yii2/tests/framework/db/ActiveRecordTest.php:1637
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
3) yiiunit\framework\db\cubrid\ActiveRecordTest::testExplicitPkOnAutoIncrement
Failed asserting that 1 matches expected 1337.
/home/runner/work/yii2/yii2/tests/framework/ar/ActiveRecordTestTrait.php:937
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
4) yiiunit\framework\db\cubrid\ColumnSchemaBuilderTest::testCustomTypes with data set #2 ('integer(10) COMMENT 'test'', 'integer', 10, array(array('comment', 'test')))
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'integer(10) COMMENT 'test''
+'integer(10) COMMENT test'
/home/runner/work/yii2/yii2/tests/framework/db/ColumnSchemaBuilderTest.php:76
/home/runner/work/yii2/yii2/tests/framework/db/ColumnSchemaBuilderTest.php:59
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
5) yiiunit\framework\db\cubrid\CommandTest::testBindParamValue
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1.23'
+'1.2300000000000000'
/home/runner/work/yii2/yii2/tests/framework/db/cubrid/CommandTest.php:61
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
6) yiiunit\framework\db\cubrid\CommandTest::testCreateDropIndex
Failed asserting that true is false.
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:1154
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
7) yiiunit\framework\db\cubrid\CommandTest::testGetRawSql with data set #5 ('SELECT * FROM customer WHERE ...(:ids)', array(yii\db\Expression Object (...)), 'SELECT * FROM customer WHERE ...1, 2')')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'SELECT * FROM customer WHERE id IN ('1, 2')'
+'SELECT * FROM customer WHERE id IN (1, 2)'
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:1401
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
8) yiiunit\framework\db\cubrid\CommandTest::testGetRawSql with data set #7 ('SELECT NOW() = :now', array(yii\db\Expression Object (...)), 'SELECT NOW() = 'NOW()'')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'SELECT NOW() = 'NOW()''
+'SELECT NOW() = NOW()'
/home/runner/work/yii2/yii2/tests/framework/db/CommandTest.php:1401
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
9) yiiunit\framework\db\cubrid\ConnectionTest::testQuoteValue
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-''string''
+'string'
/home/runner/work/yii2/yii2/tests/framework/db/cubrid/ConnectionTest.php:22
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
10) yiiunit\framework\db\cubrid\ConnectionTest::testExceptionContainsRawQuery
Exception message should contain raw SQL query: PDOException: SQLSTATE[HY000]: General error: 4294966802 DBMS, Semantic: before ' ;'
nonexistingcolumn is not defined. select [dba.qlog1].id from [dba.qlog1] [dba.qlog1] where [db...[CAS INFO-127.0.0.1:33000,1,42]. in /home/runner/work/yii2/yii2/framework/db/Command.php:267
Stack trace:
#0 /home/runner/work/yii2/yii2/framework/db/Command.php(267): PDO->prepare()
#1 /home/runner/work/yii2/yii2/framework/db/Command.php(1181): yii\db\Command->prepare()
#2 /home/runner/work/yii2/yii2/framework/db/Command.php(417): yii\db\Command->queryInternal()
#3 /home/runner/work/yii2/yii2/tests/framework/db/ConnectionTest.php(416): yii\db\Command->queryAll()
#4 /home/runner/work/yii2/yii2/tests/framework/db/ConnectionTest.php(377): yiiunit\framework\db\ConnectionTest->runExceptionTest()
#5 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): yiiunit\framework\db\ConnectionTest->testExceptionContainsRawQuery()
#6 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\Framework\TestCase->runTest()
#7 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\Framework\TestCase->runBare()
#8 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\Framework\TestResult->run()
#9 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\Framework\TestCase->run()
#10 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\Framework\TestSuite->run()
#11 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\Framework\TestSuite->run()
#12 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\Framework\TestSuite->run()
#13 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\TextUI\TestRunner->run()
#14 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\TextUI\Command->run()
#15 phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit(106): PHPUnit\TextUI\Command::main()
#16 /home/runner/work/yii2/yii2/vendor/bin/phpunit(118): include('phpvfscomposer:...')
#17 {main}
Next yii\db\Exception: SQLSTATE[HY000]: General error: 4294966802 DBMS, Semantic: before ' ;'
nonexistingcolumn is not defined. select [dba.qlog1].id from [dba.qlog1] [dba.qlog1] where [db...[CAS INFO-127.0.0.1:33000,1,42].
Failed to prepare SQL: SELECT * FROM qlog1 WHERE id=:a ORDER BY nonexistingcolumn; in /home/runner/work/yii2/yii2/framework/db/Command.php:272
Stack trace:
#0 /home/runner/work/yii2/yii2/framework/db/Command.php(1181): yii\db\Command->prepare()
#1 /home/runner/work/yii2/yii2/framework/db/Command.php(417): yii\db\Command->queryInternal()
#2 /home/runner/work/yii2/yii2/tests/framework/db/ConnectionTest.php(416): yii\db\Command->queryAll()
#3 /home/runner/work/yii2/yii2/tests/framework/db/ConnectionTest.php(377): yiiunit\framework\db\ConnectionTest->runExceptionTest()
#4 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestCase.php(1617): yiiunit\framework\db\ConnectionTest->testExceptionContainsRawQuery()
#5 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestCase.php(1223): PHPUnit\Framework\TestCase->runTest()
#6 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestResult.php(729): PHPUnit\Framework\TestCase->runBare()
#7 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestCase.php(973): PHPUnit\Framework\TestResult->run()
#8 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\Framework\TestCase->run()
#9 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\Framework\TestSuite->run()
#10 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/Framework/TestSuite.php(685): PHPUnit\Framework\TestSuite->run()
#11 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(651): PHPUnit\Framework\TestSuite->run()
#12 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/TextUI/Command.php(146): PHPUnit\TextUI\TestRunner->run()
#13 /home/runner/work/yii2/yii2/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\TextUI\Command->run()
#14 phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit(106): PHPUnit\TextUI\Command::main()
#15 /home/runner/work/yii2/yii2/vendor/bin/phpunit(118): include('phpvfscomposer:...')
#16 {main}
Additional Information:
Array
(
[0] => HY000
[1] => 4294966802
[2] => DBMS, Semantic: before ' ;'
nonexistingcolumn is not defined. select [dba.qlog1].id from [dba.qlog1] [dba.qlog1] where [db...[CAS INFO-127.0.0.1:33000,1,42].
)
Failed asserting that 'SQLSTATE[HY000]: General error: 4294966802 DBMS, Semantic: before ' ;'\n
nonexistingcolumn is not defined. select [dba.qlog1].id from [dba.qlog1] [dba.qlog1] where [db...[CAS INFO-127.0.0.1:33000,1,42].\n
Failed to prepare SQL: SELECT * FROM qlog1 WHERE id=:a ORDER BY nonexistingcolumn;' contains "SELECT * FROM qlog1 WHERE id=1 ORDER BY nonexistingcolumn;".
/home/runner/work/yii2/yii2/tests/framework/db/ConnectionTest.php:420
/home/runner/work/yii2/yii2/tests/framework/db/ConnectionTest.php:377
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
11) yiiunit\framework\db\cubrid\QueryBuilderTest::testGetColumnType
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'int COMMENT 'test comment''
+'int COMMENT test comment'
/home/runner/work/yii2/yii2/tests/framework/db/QueryBuilderTest.php:1078
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
12) yiiunit\framework\db\cubrid\QueryBuilderTest::testBatchInsert with data set #0 ('customer', array('email', 'name', 'address'), array(array('[email protected]', 'silverfire', 'Kyiv {{city}}, Ukraine')), 'INSERT INTO "customer" ("emai...aine')')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'INSERT INTO "customer" ("email", "name", "address") VALUES ('[email protected]', 'silverfire', 'Kyiv {{city}}, Ukraine')'
+'INSERT INTO "customer" ("email", "name", "address") VALUES ([email protected], silverfire, Kyiv {{city}}, Ukraine)'
/home/runner/work/yii2/yii2/tests/framework/db/QueryBuilderTest.php:2347
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
13) yiiunit\framework\db\cubrid\QueryBuilderTest::testBatchInsert with data set "escape-danger-chars" ('customer', array('address'), array(array('SQL-danger chars are escaped: '); --')), 'INSERT INTO "customer" ("addr...; --')')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'INSERT INTO "customer" ("address") VALUES ('SQL-danger chars are escaped: \'); --')'
+'INSERT INTO "customer" ("address") VALUES (SQL-danger chars are escaped: ''); --)'
/home/runner/work/yii2/yii2/tests/framework/db/QueryBuilderTest.php:2347
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
14) yiiunit\framework\db\cubrid\QueryBuilderTest::testBatchInsert with data set #2 ('customer', array(), array(array('no columns passed')), 'INSERT INTO "customer" () VAL...ssed')')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'INSERT INTO "customer" () VALUES ('no columns passed')'
+'INSERT INTO "customer" () VALUES (no columns passed)'
/home/runner/work/yii2/yii2/tests/framework/db/QueryBuilderTest.php:2347
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
15) yiiunit\framework\db\cubrid\QueryBuilderTest::testCommentTable
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'ALTER TABLE "comment" COMMENT 'This is my table.''
+'ALTER TABLE "comment" COMMENT This is my table.'
/home/runner/work/yii2/yii2/tests/framework/db/QueryBuilderTest.php:2443
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
16) yiiunit\framework\db\cubrid\SchemaTest::testGetTableNames with data set #0 (array(true))
Failed asserting that an array contains 'customer'.
/home/runner/work/yii2/yii2/tests/framework/db/SchemaTest.php:72
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
17) yiiunit\framework\db\cubrid\SchemaTest::testGetTableNames with data set #1 (array(false))
Failed asserting that an array contains 'customer'.
/home/runner/work/yii2/yii2/tests/framework/db/SchemaTest.php:72
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
18) yiiunit\framework\db\cubrid\SchemaTest::testCompositeFk
Failed asserting that false is true.
/home/runner/work/yii2/yii2/tests/framework/db/SchemaTest.php:242
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
19) yiiunit\framework\db\cubrid\SchemaTest::testColumnSchema
type of column tinyint_col does not match.
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'tinyint'
+'smallint'
/home/runner/work/yii2/yii2/tests/framework/db/SchemaTest.php:523
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
20) yiiunit\framework\db\cubrid\SchemaTest::testTableSchemaConstraints with data set "3: foreign key" ('T_constraints_3', 'foreignKeys', array(yii\db\ForeignKeyConstraint Object (...)))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
- '{"columnNames":["c_fk_id_1","c_fk_id_2"],"foreignColumnNames":["c_id_1","c_id_2"],"foreignTableName":"t_constraints_2","onDelete":"RESTRICT","onUpdate":"RESTRICT"}' => yii\db\ForeignKeyConstraint Object (...)
+ '{"columnNames":["c_fk_id_1","c_fk_id_2"],"foreignColumnNames":["c_id_1","c_id_2"],"foreignTableName":"dba.t_constraints_2","onDelete":"RESTRICT","onUpdate":"RESTRICT"}' => yii\db\ForeignKeyConstraint Object (...)
)
/home/runner/work/yii2/yii2/tests/framework/db/SchemaTest.php:841
/home/runner/work/yii2/yii2/tests/framework/db/SchemaTest.php:777
phpvfscomposer:///home/runner/work/yii2/yii2/vendor/phpunit/phpunit/phpunit:106
/home/runner/work/yii2/yii2/vendor/bin/phpunit:118
ERRORS!
Tests: 592, Assertions: 2365, Errors: 39, Failures: 20, Skipped: 10, Incomplete: 2.
Generating code coverage report in Clover XML format ... done [00:05.688] |
Beta Was this translation helpful? Give feedback.
All reactions
-
If it ever worked, they must have a frozen version, because it’s probably been broken for a long time, btw you need to install and compile the PDO driver, since PECL is abandoned, and you’ll have to do some magic to get it to compile. |
Beta Was this translation helpful? Give feedback.
All reactions
-
I support its removal. But maybe it should be deprecated first and removed after a few versions? |
Beta Was this translation helpful? Give feedback.
All reactions
-
@rob006 ignoring test might bring some instability if anything changes that ends up breaking something. It will be hard to catch it without tests. Your point on composer update breaking are thoughtful, though I think adding upgrade comments that show up on upgrade can mitigate that. I think we just need better plan to remove it as I don't see anywhere in near future the PHP version will be bumped to 8.0. I might be wrong though |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
That is a valid concern, but removing the feature completely is event worse: instead of risks of bugs you are guaranteed a break in any project that may still use Cubrid. That is not an improvement. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This proposes (removing o move) CUBRID database support from Yii2 core framework in version
2.0.54
, along with the recent PHP7.4
requirement increase.@rob006 @samdark @bizley @mtangoo @max-s-lab @schmunk42 @SilverFire @xicond
Beta Was this translation helpful? Give feedback.
All reactions