You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains 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
The reason will be displayed to describe this comment to others. Learn more.
Davide, problém jsem vyřešil odstraněním FOR, nevím z jakého důvodu to tam bylo přidáno, ale takhle mi to funguje v pořádku. $cmd = is_string($this->explain) ? $this->explain : ($event->connection->getConfig('driver') === 'oracle' ? 'EXPLAIN PLAN' : 'EXPLAIN');
The reason will be displayed to describe this comment to others. Learn more.
Tak jsem zjistil tohle, dibi od verze 3.0.1 - 3.0.5 na Nette 2.3.10 je naprosto v pořádku, problém to tedy dělá na Nette od verze 2.4 je možné, že by to mohla způsobovat Tracy?
9179719
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Davide, problém jsem vyřešil odstraněním FOR, nevím z jakého důvodu to tam bylo přidáno, ale takhle mi to funguje v pořádku.
$cmd = is_string($this->explain) ? $this->explain : ($event->connection->getConfig('driver') === 'oracle' ? 'EXPLAIN PLAN' : 'EXPLAIN');
9179719
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Podle dokumentace se tam to FOR používá, ale neznám Oracle. https://docs.oracle.com/cd/B19306_01/server.102/b14211/ex_plan.htm#i17492
9179719
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Zítra ještě vyzkouším jednotlivé verze dibi a dám vědět.
9179719
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tak jsem zjistil tohle, dibi od verze 3.0.1 - 3.0.5 na Nette 2.3.10 je naprosto v pořádku, problém to tedy dělá na Nette od verze 2.4 je možné, že by to mohla způsobovat Tracy?
9179719
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@accgit Ale s Nette 2.3 to výsledek
EXPLAIN
také pro tenINSERT
neukáže, ne?Jen nápad... nesouvisí to s Tracy a odchycováním poslední shut-up chyby?
9179719
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nette 2.3.10 zobrazuje právě vše v pohodě,
kdežto Nette 2.4 zobrazí pouze INSERT a UPDATE dotaz.