mirror of
https://github.com/dg/dibi.git
synced 2025-09-02 02:22:33 +02:00
SqlsrvDriver::applyLimit(): fixed limit and offset behaviour for odbc 11+
SqlsrvReflector: changed constrains metadata loading from INFORMATION_SCHEMA to sys schema to get complete list of all constraints, not PK only
This commit is contained in:
@@ -48,7 +48,7 @@ Assert::same('title', $column->getName());
|
||||
Assert::same('products', $column->getTable()->getName());
|
||||
Assert::same('s', $column->getType());
|
||||
Assert::type('string', $column->getNativeType());
|
||||
Assert::same(100, $column->getSize());
|
||||
Assert::same($config['system'] === 'sqlsrv' ? 50 : 100, $column->getSize());
|
||||
Assert::false($column->isNullable());
|
||||
Assert::false($column->isAutoIncrement());
|
||||
//Assert::null($column->getDefault());
|
||||
|
Reference in New Issue
Block a user