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 1f17bece
authored
May 30, 2015
by
overlookmotel
Committed by
Jan Aagaard Meier
May 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix QueryInterface#showIndex not passing transaction
1 parent
61e1cfe9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
changelog.md
lib/query-interface.js
changelog.md
View file @
1f17bec
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
-
[
FIXED
]
Fix isEmail validator to allow args: true
[
#3770
](
https://github.com/sequelize/sequelize/issues/3770
)
-
[
FIXED
]
Fix isEmail validator to allow args: true
[
#3770
](
https://github.com/sequelize/sequelize/issues/3770
)
-
[
FIXED
]
Fix some occasions where
`options.logging`
was not used correctly
-
[
FIXED
]
Fix some occasions where
`options.logging`
was not used correctly
-
[
FIXED
]
Fix
`Model#destroy()`
to correctly use
`options.transaction`
-
[
FIXED
]
Fix
`Model#destroy()`
to correctly use
`options.transaction`
-
[
FIXED
]
Fix
`QueryInterface#showIndex()`
to correctly pass on
`options.transaction`
# 3.1.1
# 3.1.1
-
[
FIXED
]
Always quote aliases, even when quoteIdentifiers is false
[
#1589
](
https://github.com/sequelize/sequelize/issues/1589
)
-
[
FIXED
]
Always quote aliases, even when quoteIdentifiers is false
[
#1589
](
https://github.com/sequelize/sequelize/issues/1589
)
...
...
lib/query-interface.js
View file @
1f17bec
...
@@ -454,6 +454,7 @@ module.exports = (function() {
...
@@ -454,6 +454,7 @@ module.exports = (function() {
var
sql
=
this
.
QueryGenerator
.
showIndexesQuery
(
tableName
,
options
);
var
sql
=
this
.
QueryGenerator
.
showIndexesQuery
(
tableName
,
options
);
options
=
options
||
{};
options
=
options
||
{};
return
this
.
sequelize
.
query
(
sql
,
{
return
this
.
sequelize
.
query
(
sql
,
{
transaction
:
options
.
transaction
,
logging
:
options
.
logging
,
logging
:
options
.
logging
,
type
:
QueryTypes
.
SHOWINDEXES
type
:
QueryTypes
.
SHOWINDEXES
});
});
...
...
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