@@ 110-116 (lines=7) @@ | ||
107 | * |
|
108 | * @return void |
|
109 | */ |
|
110 | public function insert(Table $table, $row) |
|
111 | { |
|
112 | $end = $this->startCommandTimer(); |
|
113 | $this->writeCommand('insert', [$table->getName()]); |
|
114 | parent::insert($table, $row); |
|
115 | $end(); |
|
116 | } |
|
117 | ||
118 | /** |
|
119 | * {@inheritdoc} |
|
@@ 123-129 (lines=7) @@ | ||
120 | * |
|
121 | * @return void |
|
122 | */ |
|
123 | public function bulkinsert(Table $table, $rows) |
|
124 | { |
|
125 | $end = $this->startCommandTimer(); |
|
126 | $this->writeCommand('bulkinsert', [$table->getName()]); |
|
127 | parent::bulkinsert($table, $rows); |
|
128 | $end(); |
|
129 | } |
|
130 | ||
131 | /** |
|
132 | * {@inheritdoc} |
|
@@ 134-140 (lines=7) @@ | ||
131 | /** |
|
132 | * {@inheritdoc} |
|
133 | */ |
|
134 | public function createTable(Table $table, array $columns = [], array $indexes = []) |
|
135 | { |
|
136 | $end = $this->startCommandTimer(); |
|
137 | $this->writeCommand('createTable', [$table->getName()]); |
|
138 | parent::createTable($table, $columns, $indexes); |
|
139 | $end(); |
|
140 | } |
|
141 | ||
142 | /** |
|
143 | * {@inheritdoc} |
|
@@ 372-378 (lines=7) @@ | ||
369 | /** |
|
370 | * {@inheritdoc} |
|
371 | */ |
|
372 | public function executeActions(Table $table, array $actions) |
|
373 | { |
|
374 | $end = $this->startCommandTimer(); |
|
375 | $this->writeCommand(sprintf('Altering table %s', $table->getName())); |
|
376 | parent::executeActions($table, $actions); |
|
377 | $end(); |
|
378 | } |
|
379 | } |
|
380 |