不要怂,就是干,撸起袖子干!

Commit 0244cc37 by Sascha Depold

formatting

1 parent 4b3f574c
Showing with 1 additions and 2 deletions
...@@ -221,7 +221,7 @@ module.exports = (function() { ...@@ -221,7 +221,7 @@ module.exports = (function() {
if (options.offset && !options.limit) { if (options.offset && !options.limit) {
/* /*
* If no limit is defined, our best bet is to use the max number of rows in a table. From the MySQL docs: * If no limit is defined, our best bet is to use the max number of rows in a table. From the MySQL docs:
* There is a limit of 2^32 (~4.295E+09) rows in a MyISAM table. If you build MySQL with the --with-big-tables option, * There is a limit of 2^32 (~4.295E+09) rows in a MyISAM table. If you build MySQL with the --with-big-tables option,
* the row limitation is increased to (2^32)^2 (1.844E+19) rows. * the row limitation is increased to (2^32)^2 (1.844E+19) rows.
*/ */
query += " LIMIT " + options.offset + ", " + 18440000000000000000; query += " LIMIT " + options.offset + ", " + 18440000000000000000;
...@@ -536,7 +536,6 @@ module.exports = (function() { ...@@ -536,7 +536,6 @@ module.exports = (function() {
if(dataType.references) { if(dataType.references) {
template += " REFERENCES " + this.quoteIdentifier(dataType.references) template += " REFERENCES " + this.quoteIdentifier(dataType.references)
if(dataType.referencesKey) { if(dataType.referencesKey) {
template += " (" + this.quoteIdentifier(dataType.referencesKey) + ")" template += " (" + this.quoteIdentifier(dataType.referencesKey) + ")"
} else { } else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!