Skip to content

Commit

Permalink
Merge pull request #21 from slack/chase-tweaks
Browse files Browse the repository at this point in the history
fix for HHVM 4.1 switch fallthrough
  • Loading branch information
Scott Sandler authored and GitHub Enterprise committed Jul 22, 2019
2 parents f6cc0ce + 9c39493 commit f5f07a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Expressions/BinaryOperatorExpression.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ public function evaluate(row $row, AsyncMysqlConnection $conn): mixed {
return (int)$left_number << (int)$right_number;
case '>>':
return (int)$left_number >> (int)$right_number;

default:
throw new SQLFakeRuntimeException("Operator recognized but not implemented");
}
case 'LIKE':
$left_string = (string)$left->evaluate($row, $conn);
Expand Down

0 comments on commit f5f07a5

Please sign in to comment.