Created
October 17, 2014 18:10
-
-
Save lexifdev/00961cf43eb0c8152085 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
alice = Player(name='Alice', point=100) | |
alice.save() | |
bob = Player(name='Bob', point=100) | |
bob.save() | |
// in django 1.5 | |
141017 18:09:02 51 Connect django@localhost on django | |
51 Query SET NAMES utf8 | |
51 Query set autocommit=0 | |
51 Query SET SQL_AUTO_IS_NULL = 0 | |
51 Query INSERT INTO `tr_player` (`name`, `point`) VALUES ('Alice', 100) | |
51 Query commit | |
51 Query INSERT INTO `tr_player` (`name`, `point`) VALUES ('Bob', 100) | |
51 Query commit | |
51 Quit | |
// in django 1.6 | |
141017 18:09:12 52 Connect django@localhost on django | |
52 Query SET NAMES utf8 | |
52 Query set autocommit=0 | |
52 Query SET SQL_AUTO_IS_NULL = 0 | |
52 Query set autocommit=1 | |
52 Query set autocommit=0 | |
52 Query INSERT INTO `tr_player` (`name`, `point`) VALUES ('Alice', 100) | |
52 Query commit | |
52 Query set autocommit=1 | |
52 Query set autocommit=0 | |
52 Query INSERT INTO `tr_player` (`name`, `point`) VALUES ('Bob', 100) | |
52 Query commit | |
52 Query set autocommit=1 | |
52 Quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment