Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit e54f2429
authored
May 26, 2014
by
Mick Hansen
Browse files
Options
Browse Files
Download
Plain Diff
[merge]
2 parents
fdfb9c93
d10e4102
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
lib/dialects/abstract/query.js
lib/dialects/abstract/query.js
View file @
e54f242
...
@@ -347,7 +347,7 @@ module.exports = (function() {
...
@@ -347,7 +347,7 @@ module.exports = (function() {
* Previous set won't necessarily be parent set (one parent could have two children, one child would then be previous set for the other)
* Previous set won't necessarily be parent set (one parent could have two children, one child would then be previous set for the other)
*/
*/
/*
/*
* Author (MH) comment: This code is an unreadable mess, but its performant.
* Author (MH) comment: This code is an unreadable mess, but its performant.
* groupJoinData is a performance critical function so we prioritize perf over readability.
* groupJoinData is a performance critical function so we prioritize perf over readability.
*/
*/
...
@@ -357,7 +357,7 @@ module.exports = (function() {
...
@@ -357,7 +357,7 @@ module.exports = (function() {
return
[];
return
[];
}
}
var
var
// Generic looping
// Generic looping
i
i
,
length
,
length
...
@@ -475,7 +475,7 @@ module.exports = (function() {
...
@@ -475,7 +475,7 @@ module.exports = (function() {
}
}
topValues
=
values
=
{};
topValues
=
values
=
{};
$prevKeyPrefix
=
undefined
$prevKeyPrefix
=
undefined
;
for
(
keyI
=
0
;
keyI
<
keyLength
;
keyI
++
)
{
for
(
keyI
=
0
;
keyI
<
keyLength
;
keyI
++
)
{
key
=
keys
[
keyI
];
key
=
keys
[
keyI
];
...
@@ -639,7 +639,6 @@ module.exports = (function() {
...
@@ -639,7 +639,6 @@ module.exports = (function() {
}
else
{
}
else
{
results
[
rowsI
]
=
topValues
;
results
[
rowsI
]
=
topValues
;
}
}
//break;
}
}
return
results
;
return
results
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment