@@ -224,7 +224,7 @@ public function parseType(&$type_full, &$name = null, &$to_conv = null)
224
224
* Each of field type may be specified in this formats:
225
225
* 'Int16' - String without spaces.
226
226
* 'Int16 1234' - String field_type[space default_value]
227
- * ['field_type' [, 'default_value']] - array, for example
227
+ * ['field_type' [, 'default_value']] - array, for example
228
228
* ['Int16', '1234'] - is same 'Int16 1234'.
229
229
*
230
230
* Data-types case insensitive and may be specified via aliases.
@@ -236,7 +236,7 @@ public function parseType(&$type_full, &$name = null, &$to_conv = null)
236
236
* @param string $table table name
237
237
* @param array $fields_arr keys=field names => field_type[ def]
238
238
* @param integer $if_exists If table exists: 2=drop old table, 1-do nothing, 0-ret error)
239
- * @param string if not null, table will create with engine ReplacingMergeTree
239
+ * @param string $ver if not null, table will create with engine ReplacingMergeTree
240
240
* @return boolean|string
241
241
*/
242
242
public function createTableQuick ($ table , $ fields_arr , $ if_exists = 0 , $ ver = null )
@@ -299,12 +299,12 @@ public function sqlTableQuick($table_name, $fields_arr, $if_not_exist = 1)
299
299
7 => '( ' ,
300
300
8 => $ date_field ,
301
301
9 => ', ( ' ,
302
- 10 => $ primary_field ,
303
- 11 => ', ' ,
304
- 12 => $ date_field ,
305
- 13 => ') ' ,
306
- 14 => ', 8192 ' ,
307
- 15 => ') ' ];
302
+ 10 => $ primary_field ,
303
+ 11 => ', ' ,
304
+ 12 => $ date_field ,
305
+ 13 => ') ' ,
306
+ 14 => ', 8192 ' ,
307
+ 15 => ') ' ];
308
308
}
309
309
310
310
/**
0 commit comments