We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc5bc5 commit becade5Copy full SHA for becade5
src/Statements/LoadStatement.php
@@ -185,7 +185,7 @@ public function build()
185
186
$ret .= ' INTO TABLE ' . $this->table;
187
188
- if ($this->partition !== null && count($this->partition) > 0) {
+ if ($this->partition !== null && strlen($this->partition) > 0) {
189
$ret .= ' PARTITION ' . ArrayObj::build($this->partition);
190
}
191
@@ -197,7 +197,7 @@ public function build()
197
$ret .= ' ' . $this->fields_keyword . ' ' . $this->fields_options;
198
199
200
- if ($this->lines_options !== null && count($this->lines_options) > 0) {
+ if ($this->lines_options !== null && strlen($this->lines_options) > 0) {
201
$ret .= ' LINES ' . $this->lines_options;
202
203
0 commit comments