mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Add missing spaces
This commit is contained in:
parent
56a3f093a1
commit
7b1086e632
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ class Sqlserver extends DboSource {
|
||||||
COLUMNPROPERTY(OBJECT_ID('" . $table . "'), COLUMN_NAME, 'IsIdentity') as [Key],
|
COLUMNPROPERTY(OBJECT_ID('" . $table . "'), COLUMN_NAME, 'IsIdentity') as [Key],
|
||||||
NUMERIC_SCALE as Size
|
NUMERIC_SCALE as Size
|
||||||
FROM INFORMATION_SCHEMA.COLUMNS
|
FROM INFORMATION_SCHEMA.COLUMNS
|
||||||
WHERE TABLE_NAME = '" . $table . "'".($schema?" AND TABLE_SCHEMA = '" . $schema . "'":'')
|
WHERE TABLE_NAME = '" . $table . "'" . ($schema ? " AND TABLE_SCHEMA = '" . $schema . "'" : '')
|
||||||
);
|
);
|
||||||
if (!$cols) {
|
if (!$cols) {
|
||||||
throw new CakeException(__d('cake_dev', 'Could not describe table for %s', $table));
|
throw new CakeException(__d('cake_dev', 'Could not describe table for %s', $table));
|
||||||
|
|
Loading…
Reference in a new issue