diff --git a/src/Database/Query.php b/src/Database/Query.php
index <HASH>..<HASH> 100644
--- a/src/Database/Query.php
+++ b/src/Database/Query.php
@@ -1605,7 +1605,6 @@ class Query implements ExpressionInterface, IteratorAggregate {
  */
 	public function __debugInfo() {
 		return [
-			'sql' => $this->sql(),
 			'params' => $this->valueBinder()->bindings(),
 			'defaultTypes' => $this->defaultTypes(),
 			'decorators' => count($this->_resultDecorators),
Remove SQL from debug output for a query object.

Having the SQL as part of the debug output can easily cause error pages
to be corrupted if a query is an argument to any function in a stack
trace. Given how the new ORM works, this will happen very frequently.