File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 5
5
/tests /src /ClickHouseTableTypeTest.php
6
6
/doc /
7
7
/tmp /
8
+ anyfile.txt.gz
Original file line number Diff line number Diff line change @@ -719,7 +719,7 @@ public function tableCreaterFnParser($sql) {
719
719
. "{$ pdbtb }{$ aspat }{$ oncpat })(?< {$ crepar }>.*)#is " ;
720
720
721
721
$ matches = $ ret = [];
722
- $ ans = \preg_match_all ($ sumpat , $ sql , $ matches );
722
+ \preg_match_all ($ sumpat , $ sql , $ matches );
723
723
if (!empty ($ matches [$ crefn ]) && !empty ($ matches [$ crepar ])) {
724
724
foreach ($ interesting_vars as $ key ) {
725
725
$ ret [$ key ] = \trim ($ matches [$ key ][0 ]);
@@ -755,7 +755,6 @@ public function parseCreateEngineSql($create_engine)
755
755
return "Expected ' $ exp' " . (empty ($ engine [0 ]) ? '' : ", unexpected ' {$ engine [0 ]}' " );
756
756
}
757
757
$ engine = \trim ($ engine [1 ]);
758
- $ tail = $ eng_parr ['tail ' ];
759
758
760
759
// parse *MergeTree engine parameters
761
760
$ date_field = $ sampl = $ primary_key = $ granul = $ ver = '' ;
You can’t perform that action at this time.
0 commit comments