@@ -102,7 +102,7 @@ |
||
| 102 | 102 | { |
| 103 | 103 | $parts[] = 'default '.$this->getProperty('column_default'); |
| 104 | 104 | } |
| 105 | - elseif($this->getProperty('column_type')=='timestamp') |
|
| 105 | + elseif ($this->getProperty('column_type')=='timestamp') |
|
| 106 | 106 | { |
| 107 | 107 | // Prevent automatic updates of timestamp columns. |
| 108 | 108 | $parts[] = 'default now()'; |
@@ -83,14 +83,14 @@ discard block |
||
| 83 | 83 | $additionSql) |
| 84 | 84 | { |
| 85 | 85 | $helper = new CreateAuditTrigger($dataSchemaName, |
| 86 | - $auditSchemaName, |
|
| 87 | - $tableName, |
|
| 88 | - $triggerName, |
|
| 89 | - $triggerAction, |
|
| 90 | - $auditColumns, |
|
| 91 | - $tableColumns, |
|
| 92 | - $skipVariable, |
|
| 93 | - $additionSql); |
|
| 86 | + $auditSchemaName, |
|
| 87 | + $tableName, |
|
| 88 | + $triggerName, |
|
| 89 | + $triggerAction, |
|
| 90 | + $auditColumns, |
|
| 91 | + $tableColumns, |
|
| 92 | + $skipVariable, |
|
| 93 | + $additionSql); |
|
| 94 | 94 | $sql = $helper->buildStatement(); |
| 95 | 95 | |
| 96 | 96 | self::executeNone($sql); |
@@ -261,8 +261,8 @@ discard block |
||
| 261 | 261 | where TABLE_SCHEMA = %s |
| 262 | 262 | and TABLE_NAME = %s |
| 263 | 263 | order by ORDINAL_POSITION", |
| 264 | - parent::quoteString($schemaName), |
|
| 265 | - parent::quoteString($tableName)); |
|
| 264 | + parent::quoteString($schemaName), |
|
| 265 | + parent::quoteString($tableName)); |
|
| 266 | 266 | |
| 267 | 267 | return self::executeRows($sql); |
| 268 | 268 | } |
@@ -288,8 +288,8 @@ discard block |
||
| 288 | 288 | inner join information_schema.COLLATION_CHARACTER_SET_APPLICABILITY t2 on t2.COLLATION_NAME = t1.TABLE_COLLATION |
| 289 | 289 | WHERE t1.TABLE_SCHEMA = %s |
| 290 | 290 | AND t1.TABLE_NAME = %s', |
| 291 | - parent::quoteString($schemaName), |
|
| 292 | - parent::quoteString($tableName)); |
|
| 291 | + parent::quoteString($schemaName), |
|
| 292 | + parent::quoteString($tableName)); |
|
| 293 | 293 | |
| 294 | 294 | return self::executeRow1($sql); |
| 295 | 295 | } |
@@ -311,8 +311,8 @@ discard block |
||
| 311 | 311 | where TRIGGER_SCHEMA = %s |
| 312 | 312 | and EVENT_OBJECT_TABLE = %s |
| 313 | 313 | order by Trigger_Name', |
| 314 | - parent::quoteString($schemaName), |
|
| 315 | - parent::quoteString($tableName)); |
|
| 314 | + parent::quoteString($schemaName), |
|
| 315 | + parent::quoteString($tableName)); |
|
| 316 | 316 | |
| 317 | 317 | return self::executeRows($sql); |
| 318 | 318 | } |
@@ -354,7 +354,7 @@ discard block |
||
| 354 | 354 | where TRIGGER_SCHEMA = %s |
| 355 | 355 | order by EVENT_OBJECT_TABLE |
| 356 | 356 | , TRIGGER_NAME', |
| 357 | - parent::quoteString($schemaName)); |
|
| 357 | + parent::quoteString($schemaName)); |
|
| 358 | 358 | |
| 359 | 359 | return self::executeRows($sql); |
| 360 | 360 | } |