-
-
Save bogdan/d7569b11aaa7060c2ec25c8dd607ffd8 to your computer and use it in GitHub Desktop.
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
production >> User.connection.select_value("SELECT 1 AS one FROM `origins` use index (index_purchases_migrated_on_visitor_id) WHERE `origins`.`visitor_id` = 30388798 AND `origins`.`site_id` = 6854 LIMIT 1") | |
(79.8ms) SELECT 1 AS one FROM `origins` use index (index_purchases_migrated_on_visitor_id) WHERE `origins`.`visitor_id` = 30388798 AND `origins`.`site_id` = 6854 LIMIT 1 | |
=> nil | |
production >> User.connection.select_value("SELECT 1 AS one FROM `origins` WHERE `origins`.`visitor_id` = 30388798 AND `origins`.`site_id` = 6854 LIMIT 1") | |
(270.3ms) SELECT 1 AS one FROM `origins` WHERE `origins`.`visitor_id` = 30388798 AND `origins`.`site_id` = 6854 LIMIT 1 | |
=> nil | |
production >> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment