Created
September 18, 2018 04:20
-
-
Save sminnee/3ee98967c5b056a621a9e1e6bbdc060e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/ORM/Connect/Database.php b/src/ORM/Connect/Database.php | |
| index 4c60ed0..e16eba9 100644 | |
| --- a/src/ORM/Connect/Database.php | |
| +++ b/src/ORM/Connect/Database.php | |
| @@ -11,6 +11,7 @@ use SilverStripe\ORM\Queries\SQLUpdate; | |
| use SilverStripe\ORM\Queries\SQLInsert; | |
| use BadMethodCallException; | |
| use Exception; | |
| +use SilverStripe\Dev\Backtrace; | |
| /** | |
| * Abstract database connectivity class. | |
| @@ -217,6 +218,7 @@ abstract class Database | |
| } | |
| $queryCount = sprintf("%04d", $this->queryCount); | |
| Debug::message("\n$queryCount: $sql\n{$endtime}s\n", false); | |
| + //Backtrace::backtrace(); | |
| return $result; | |
| } else { | |
| return $callback($sql); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment